diff --git a/doc/models/fulfillment.md b/doc/models/fulfillment.md
index 6ac22ca6..0c2f8c1e 100644
--- a/doc/models/fulfillment.md
+++ b/doc/models/fulfillment.md
@@ -22,7 +22,6 @@ However, orders returned by the Orders API might contain multiple fulfillments b
| `PickupDetails` | [`FulfillmentPickupDetails`](../../doc/models/fulfillment-pickup-details.md) | Optional | Contains details necessary to fulfill a pickup order. | FulfillmentPickupDetails getPickupDetails() |
| `ShipmentDetails` | [`FulfillmentShipmentDetails`](../../doc/models/fulfillment-shipment-details.md) | Optional | Contains the details necessary to fulfill a shipment order. | FulfillmentShipmentDetails getShipmentDetails() |
| `DeliveryDetails` | [`FulfillmentDeliveryDetails`](../../doc/models/fulfillment-delivery-details.md) | Optional | Describes delivery details of an order fulfillment. | FulfillmentDeliveryDetails getDeliveryDetails() |
-| `Version` | `Integer` | Optional | The version number attributed to the fulfillment and incremented every time there is a
fulfillment-related update. The fulfillment version is an internal field only for use
between Orders and the Fulfillment service. | Integer getVersion() |
## Example (as JSON)
diff --git a/doc/models/order-return-service-charge.md b/doc/models/order-return-service-charge.md
index 55237031..01ed91f2 100644
--- a/doc/models/order-return-service-charge.md
+++ b/doc/models/order-return-service-charge.md
@@ -26,8 +26,6 @@ Represents the service charge applied to the original order.
| `AppliedTaxes` | [`List`](../../doc/models/order-line-item-applied-tax.md) | Optional | The list of references to `OrderReturnTax` entities applied to the
`OrderReturnServiceCharge`. Each `OrderLineItemAppliedTax` has a `tax_uid`
that references the `uid` of a top-level `OrderReturnTax` that is being
applied to the `OrderReturnServiceCharge`. On reads, the applied amount is
populated. | List getAppliedTaxes() |
| `TreatmentType` | [`String`](../../doc/models/order-service-charge-treatment-type.md) | Optional | Indicates whether the service charge will be treated as a value-holding line item or
apportioned toward a line item. | String getTreatmentType() |
| `Scope` | [`String`](../../doc/models/order-service-charge-scope.md) | Optional | Indicates whether this is a line-item or order-level apportioned
service charge. | String getScope() |
-| `AppliedServiceCharges` | [`List`](../../doc/models/order-line-item-applied-service-charge.md) | Optional | The list of references to service charges applied to the`OrderReturnServiceCharge`. Each
`OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a
top-level `OrderReturnServiceCharge`. On reads, the amount applied is populated. | List getAppliedServiceCharges() |
-| `TotalServiceChargeMoney` | [`Money`](../../doc/models/money.md) | Optional | Represents an amount of money. `Money` fields can be signed or unsigned.
Fields that do not explicitly define whether they are signed or unsigned are
considered unsigned and can only hold positive amounts. For signed fields, the
sign of the value indicates the purpose of the money transfer. See
[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)
for more information. | Money getTotalServiceChargeMoney() |
## Example (as JSON)
diff --git a/doc/models/order-service-charge.md b/doc/models/order-service-charge.md
index b90f624d..e7e7ae03 100644
--- a/doc/models/order-service-charge.md
+++ b/doc/models/order-service-charge.md
@@ -27,8 +27,6 @@ Represents a service charge applied to an order.
| `Type` | [`String`](../../doc/models/order-service-charge-type.md) | Optional | - | String getType() |
| `TreatmentType` | [`String`](../../doc/models/order-service-charge-treatment-type.md) | Optional | Indicates whether the service charge will be treated as a value-holding line item or
apportioned toward a line item. | String getTreatmentType() |
| `Scope` | [`String`](../../doc/models/order-service-charge-scope.md) | Optional | Indicates whether this is a line-item or order-level apportioned
service charge. | String getScope() |
-| `AppliedServiceCharges` | [`List`](../../doc/models/order-line-item-applied-service-charge.md) | Optional | The list of references to service charges applied to this service charge. Each
`OrderLineItemAppliedServiceCharge` has a `service_charge_id` that references the `uid` of a
top-level `OrderServiceCharge`. On reads, the amount applied is populated.
To change the amount of a service charge, modify the referenced top-level service charge. | List getAppliedServiceCharges() |
-| `TotalServiceChargeMoney` | [`Money`](../../doc/models/money.md) | Optional | Represents an amount of money. `Money` fields can be signed or unsigned.
Fields that do not explicitly define whether they are signed or unsigned are
considered unsigned and can only hold positive amounts. For signed fields, the
sign of the value indicates the purpose of the money transfer. See
[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)
for more information. | Money getTotalServiceChargeMoney() |
## Example (as JSON)
diff --git a/pom.xml b/pom.xml
index b85ebe51..e0af0800 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.squareup
square
- 37.0.0.20240118
+ 37.0.1.20240118
jar
Square
Java client library for the Square API
diff --git a/src/main/java/com/squareup/square/SquareClient.java b/src/main/java/com/squareup/square/SquareClient.java
index de4c878e..951e6d2b 100644
--- a/src/main/java/com/squareup/square/SquareClient.java
+++ b/src/main/java/com/squareup/square/SquareClient.java
@@ -151,7 +151,7 @@ public final class SquareClient implements SquareClientInterface {
private static final CompatibilityFactory compatibilityFactory = new CompatibilityFactoryImpl();
- private static String userAgent = "Square-Java-SDK/37.0.0.20240118 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}";
+ private static String userAgent = "Square-Java-SDK/37.0.1.20240118 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}";
/**
* Current API environment.
@@ -697,7 +697,7 @@ public String getAccessToken() {
* @return sdkVersion
*/
public String getSdkVersion() {
- return "37.0.0.20240118";
+ return "37.0.1.20240118";
}
/**
diff --git a/src/main/java/com/squareup/square/models/Fulfillment.java b/src/main/java/com/squareup/square/models/Fulfillment.java
index f0c532a2..56188b62 100644
--- a/src/main/java/com/squareup/square/models/Fulfillment.java
+++ b/src/main/java/com/squareup/square/models/Fulfillment.java
@@ -25,7 +25,6 @@ public class Fulfillment {
private final FulfillmentPickupDetails pickupDetails;
private final FulfillmentShipmentDetails shipmentDetails;
private final FulfillmentDeliveryDetails deliveryDetails;
- private final Integer version;
/**
* Initialization constructor.
@@ -38,7 +37,6 @@ public class Fulfillment {
* @param pickupDetails FulfillmentPickupDetails value for pickupDetails.
* @param shipmentDetails FulfillmentShipmentDetails value for shipmentDetails.
* @param deliveryDetails FulfillmentDeliveryDetails value for deliveryDetails.
- * @param version Integer value for version.
*/
@JsonCreator
public Fulfillment(
@@ -50,8 +48,7 @@ public Fulfillment(
@JsonProperty("metadata") Map metadata,
@JsonProperty("pickup_details") FulfillmentPickupDetails pickupDetails,
@JsonProperty("shipment_details") FulfillmentShipmentDetails shipmentDetails,
- @JsonProperty("delivery_details") FulfillmentDeliveryDetails deliveryDetails,
- @JsonProperty("version") Integer version) {
+ @JsonProperty("delivery_details") FulfillmentDeliveryDetails deliveryDetails) {
this.uid = OptionalNullable.of(uid);
this.type = type;
this.state = state;
@@ -61,7 +58,6 @@ public Fulfillment(
this.pickupDetails = pickupDetails;
this.shipmentDetails = shipmentDetails;
this.deliveryDetails = deliveryDetails;
- this.version = version;
}
/**
@@ -75,14 +71,13 @@ public Fulfillment(
* @param pickupDetails FulfillmentPickupDetails value for pickupDetails.
* @param shipmentDetails FulfillmentShipmentDetails value for shipmentDetails.
* @param deliveryDetails FulfillmentDeliveryDetails value for deliveryDetails.
- * @param version Integer value for version.
*/
protected Fulfillment(OptionalNullable uid, String type, String state,
String lineItemApplication, List entries,
OptionalNullable