Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit 4d87c88

Browse files
authored
Release 2.20181205.0 (#50)
1 parent 49e3fae commit 4d87c88

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+447
-124
lines changed

Diff for: .vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"java.configuration.updateBuildConfiguration": "disabled"
3-
}
3+
}

Diff for: CHANGES.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Change Log
22

3+
## Version 2.20181205.0 (2018-12-05)
4+
5+
## New feature: Idempotent customer profile creation in Connect v2
6+
7+
Requests to the CreateCustomer endpoint now include a `idempotency_key` field to
8+
ensure idempotent creation of new profiles.
9+
10+
## New feature: Refund Adjustment fields for Refunds in Connect v1
11+
12+
The Connect SDK now supports refund adjustments for the Connect v1
13+
Refunds API with the addition of multiple new fields in the `Refund` data type
14+
315
## Version 2.20180918.1 (2018-10-24)
416

517
### New feature: Support for Partial Payments in Connect v1

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Add this dependency to your project's POM:
1818
<dependency>
1919
<groupId>com.squareup</groupId>
2020
<artifactId>connect</artifactId>
21-
<version>2.20180918.1</version>
21+
<version>2.20181205.0</version>
2222
<scope>compile</scope>
2323
</dependency>
2424
```
@@ -28,7 +28,7 @@ Add this dependency to your project's POM:
2828
Add this dependency to your project's build file:
2929

3030
```groovy
31-
compile "com.squareup:connect:2.20180918.1"
31+
compile "com.squareup:connect:2.20181205.0"
3232
```
3333

3434
### Build and Install locally
@@ -47,7 +47,7 @@ At first generate the JAR by executing:
4747

4848
Then manually install the following JARs:
4949

50-
* target/connect-2.20180918.1.jar
50+
* target/connect-2.20181205.0.jar
5151
* target/lib/*.jar
5252

5353
## Getting Started

Diff for: build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'com.squareup'
5-
version = '2.20180918.1'
5+
version = '2.20181205.0'
66

77
buildscript {
88
repositories {

Diff for: docs/Card.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**id** | **String** | The card&#39;s unique ID, if any. | [optional]
7+
**id** | **String** | Unique ID for this card. Generated by Square. | [optional]
88
**cardBrand** | [**CardBrandEnum**](#CardBrandEnum) | The card&#39;s brand (such as &#x60;VISA&#x60;). See [CardBrand](#type-cardbrand) for all possible values. | [optional]
9-
**last4** | **String** | The last 4 digits of the card&#39;s number. | [optional]
10-
**expMonth** | **Long** | The month of the card&#39;s expiration date. This value is always between &#x60;1&#x60; and &#x60;12&#x60;, inclusive. | [optional]
9+
**last4** | **String** | The last 4 digits of the card number. | [optional]
10+
**expMonth** | **Long** | The expiration month of the associated card as an integer between 1 and 12. | [optional]
1111
**expYear** | **Long** | The four-digit year of the card&#39;s expiration date. | [optional]
12-
**cardholderName** | **String** | The cardholder name. This value is present only if this object represents a customer&#39;s card on file. | [optional]
13-
**billingAddress** | [**Address**](Address.md) | The card&#39;s billing address. This value is present only if this object represents a customer&#39;s card on file. | [optional]
14-
**fingerprint** | **String** | The unique string fingerprint for the card. The fingerprint is based on the credit card number and is unique to the merchant. If a card is used at multiple locations for the same merchant, it will have the same fingerprint in each case. Note: Fingerprint may not exist on old transactions. | [optional]
12+
**cardholderName** | **String** | The name of the cardholder. | [optional]
13+
**billingAddress** | [**Address**](Address.md) | The billing address for this card. | [optional]
14+
**fingerprint** | **String** | __Not currently set.__ Intended as a Square-assigned identifier, based on the card number, to identify the card across multiple locations within a single application. | [optional]
1515

1616

1717
<a name="CardBrandEnum"></a>

Diff for: docs/CreateCustomerRequest.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**idempotencyKey** | **String** | The idempotency key for the request. See the [Idempotency](/basics/api101/idempotency) guide for more information. | [optional]
78
**givenName** | **String** | The customer&#39;s given (i.e., first) name. | [optional]
89
**familyName** | **String** | The customer&#39;s family (i.e., last) name. | [optional]
910
**companyName** | **String** | The name of the customer&#39;s company. | [optional]

Diff for: docs/Customer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**id** | **String** | The customer&#39;s unique ID. |
88
**createdAt** | **String** | The time when the customer was created, in RFC 3339 format. |
99
**updatedAt** | **String** | The time when the customer was last updated, in RFC 3339 format. |
10-
**cards** | [**List&lt;Card&gt;**](Card.md) | The non-confidential details of the customer&#39;s cards on file. | [optional]
10+
**cards** | [**List&lt;Card&gt;**](Card.md) | The payment details of the customer&#39;s cards on file. | [optional]
1111
**givenName** | **String** | The customer&#39;s given (i.e., first) name. | [optional]
1212
**familyName** | **String** | The customer&#39;s family (i.e., last) name. | [optional]
1313
**nickname** | **String** | The customer&#39;s nickname. | [optional]

Diff for: docs/CustomersApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Name | Type | Description | Notes
7373
7474
CreateCustomerCard
7575

76-
Adds a card on file to an existing customer. In the United States Square takes care of automatically updating any cards on file that might have expired since you first attached them to a customer. As with charges, calls to &#x60;CreateCustomerCard&#x60; are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call.
76+
Adds a card on file to an existing customer. As with charges, calls to &#x60;CreateCustomerCard&#x60; are idempotent. Multiple calls with the same card nonce return the same card record that was created with the provided nonce during the _first_ call.
7777

7878
### Example
7979
```java

Diff for: docs/Error.md

+2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ EXPECTED_FLOAT | &quot;EXPECTED_FLOAT&quot;
6262
EXPECTED_STRING | &quot;EXPECTED_STRING&quot;
6363
EXPECTED_OBJECT | &quot;EXPECTED_OBJECT&quot;
6464
EXPECTED_ARRAY | &quot;EXPECTED_ARRAY&quot;
65+
EXPECTED_MAP | &quot;EXPECTED_MAP&quot;
6566
EXPECTED_BASE64_ENCODED_BYTE_ARRAY | &quot;EXPECTED_BASE64_ENCODED_BYTE_ARRAY&quot;
6667
INVALID_ARRAY_VALUE | &quot;INVALID_ARRAY_VALUE&quot;
6768
INVALID_ENUM_VALUE | &quot;INVALID_ENUM_VALUE&quot;
@@ -76,6 +77,7 @@ INVALID_EXPIRATION_YEAR | &quot;INVALID_EXPIRATION_YEAR&quot;
7677
INVALID_EXPIRATION_DATE | &quot;INVALID_EXPIRATION_DATE&quot;
7778
UNSUPPORTED_CARD_BRAND | &quot;UNSUPPORTED_CARD_BRAND&quot;
7879
UNSUPPORTED_ENTRY_METHOD | &quot;UNSUPPORTED_ENTRY_METHOD&quot;
80+
INVALID_ENCRYPTED_CARD | &quot;INVALID_ENCRYPTED_CARD&quot;
7981
INVALID_CARD | &quot;INVALID_CARD&quot;
8082
DELAYED_TRANSACTION_EXPIRED | &quot;DELAYED_TRANSACTION_EXPIRED&quot;
8183
DELAYED_TRANSACTION_CANCELED | &quot;DELAYED_TRANSACTION_CANCELED&quot;

Diff for: docs/ErrorCode.md

+4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@
7676

7777
* `EXPECTED_ARRAY` (value: `"EXPECTED_ARRAY"`)
7878

79+
* `EXPECTED_MAP` (value: `"EXPECTED_MAP"`)
80+
7981
* `EXPECTED_BASE64_ENCODED_BYTE_ARRAY` (value: `"EXPECTED_BASE64_ENCODED_BYTE_ARRAY"`)
8082

8183
* `INVALID_ARRAY_VALUE` (value: `"INVALID_ARRAY_VALUE"`)
@@ -104,6 +106,8 @@
104106

105107
* `UNSUPPORTED_ENTRY_METHOD` (value: `"UNSUPPORTED_ENTRY_METHOD"`)
106108

109+
* `INVALID_ENCRYPTED_CARD` (value: `"INVALID_ENCRYPTED_CARD"`)
110+
107111
* `INVALID_CARD` (value: `"INVALID_CARD"`)
108112

109113
* `DELAYED_TRANSACTION_EXPIRED` (value: `"DELAYED_TRANSACTION_EXPIRED"`)

Diff for: docs/InventoryApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Name | Type | Description | Notes
125125
126126
BatchRetrieveInventoryCounts
127127

128-
Returns current counts for the provided [CatalogObject](#type-catalogobject)s at the requested [Location](#type-location)s. Results are paginated and sorted in descending order according to their &#x60;calculated_at&#x60; timestamp (newest first). When &#x60;updated_at&#x60; is specified, only counts that have changed since that time (based on the server timestamp for the most recent change) are returned. This allows clients to perform a \&quot;sync\&quot; operation, for example in response to receiving a Webhook notification.
128+
Returns current counts for the provided [CatalogObject](#type-catalogobject)s at the requested [Location](#type-location)s. Results are paginated and sorted in descending order according to their &#x60;calculated_at&#x60; timestamp (newest first). When &#x60;updated_after&#x60; is specified, only counts that have changed since that time (based on the server timestamp for the most recent change) are returned. This allows clients to perform a \&quot;sync\&quot; operation, for example in response to receiving a Webhook notification.
129129

130130
### Example
131131
```java

Diff for: docs/OAuthApi.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ ApiClient defaultClient = Configuration.getDefaultApiClient();
7575

7676
// Configure API key authorization: oauth2ClientSecret
7777
ApiKeyAuth oauth2ClientSecret = (ApiKeyAuth) defaultClient.getAuthentication("oauth2ClientSecret");
78-
oauth2ClientSecret.setApiKey("YOUR API KEY");
78+
oauth2ClientSecret.setApiKey("APPLICATION SECRET");
7979
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
80-
//oauth2ClientSecret.setApiKeyPrefix("Token");
80+
oauth2ClientSecret.setApiKeyPrefix("Client");
8181

8282
OAuthApi apiInstance = new OAuthApi();
8383
String clientId = "clientId_example"; // String | Your application's ID, available from the [application dashboard](https://connect.squareup.com/apps).
@@ -132,9 +132,9 @@ ApiClient defaultClient = Configuration.getDefaultApiClient();
132132

133133
// Configure API key authorization: oauth2ClientSecret
134134
ApiKeyAuth oauth2ClientSecret = (ApiKeyAuth) defaultClient.getAuthentication("oauth2ClientSecret");
135-
oauth2ClientSecret.setApiKey("YOUR API KEY");
135+
oauth2ClientSecret.setApiKey("APPLICATION SECRET");
136136
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
137-
//oauth2ClientSecret.setApiKeyPrefix("Token");
137+
oauth2ClientSecret.setApiKeyPrefix("Client");
138138

139139
OAuthApi apiInstance = new OAuthApi();
140140
RevokeTokenRequest body = new RevokeTokenRequest(); // RevokeTokenRequest | An object containing the fields to POST for the request. See the corresponding object definition for field details.

Diff for: docs/Product.md

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
* `PAYROLL` (value: `"PAYROLL"`)
2020

21+
* `DASHBOARD` (value: `"DASHBOARD"`)
22+
23+
* `ITEM_LIBRARY_IMPORT` (value: `"ITEM_LIBRARY_IMPORT"`)
24+
2125
* `OTHER` (value: `"OTHER"`)
2226

2327

Diff for: docs/SourceApplication.md

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ APPOINTMENTS | &quot;APPOINTMENTS&quot;
2020
INVOICES | &quot;INVOICES&quot;
2121
ONLINE_STORE | &quot;ONLINE_STORE&quot;
2222
PAYROLL | &quot;PAYROLL&quot;
23+
DASHBOARD | &quot;DASHBOARD&quot;
24+
ITEM_LIBRARY_IMPORT | &quot;ITEM_LIBRARY_IMPORT&quot;
2325
OTHER | &quot;OTHER&quot;
2426

2527

Diff for: docs/V1Payment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **String** | The payment&#39;s unique identifier. | [optional]
88
**merchantId** | **String** | The unique identifier of the merchant that took the payment. | [optional]
9-
**createdAt** | **String** | The time when the payment was created, in ISO 8601 format. | [optional]
9+
**createdAt** | **String** | The time when the payment was created, in ISO 8601 format. Reflects the time of the first payment if the object represents an incomplete partial payment, and the time of the last or complete payment otherwise. | [optional]
1010
**creatorId** | **String** | The unique identifier of the Square account that took the payment. | [optional]
1111
**device** | [**Device**](Device.md) | The device that took the payment. | [optional]
1212
**paymentUrl** | **String** | The URL of the payment&#39;s detail page in the merchant dashboard. The merchant must be signed in to the merchant dashboard to view this page. | [optional]

Diff for: docs/V1Refund.md

+10
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ Name | Type | Description | Notes
77
**type** | [**TypeEnum**](#TypeEnum) | The type of refund | [optional]
88
**reason** | **String** | The merchant-specified reason for the refund. | [optional]
99
**refundedMoney** | [**V1Money**](V1Money.md) | The amount of money refunded. This amount is always negative. | [optional]
10+
**refundedProcessingFeeMoney** | [**V1Money**](V1Money.md) | The amount of processing fee money refunded. This amount is always positive. | [optional]
11+
**refundedTaxMoney** | [**V1Money**](V1Money.md) | The total amount of tax money refunded. This amount is always negative. | [optional]
12+
**refundedAdditiveTaxMoney** | [**V1Money**](V1Money.md) | The amount of additive tax money refunded. This amount is always negative. | [optional]
13+
**refundedAdditiveTax** | [**List&lt;V1PaymentTax&gt;**](V1PaymentTax.md) | All of the additive taxes associated with the refund. | [optional]
14+
**refundedInclusiveTaxMoney** | [**V1Money**](V1Money.md) | The amount of inclusive tax money refunded. This amount is always negative. | [optional]
15+
**refundedInclusiveTax** | [**List&lt;V1PaymentTax&gt;**](V1PaymentTax.md) | All of the inclusive taxes associated with the refund. | [optional]
16+
**refundedTipMoney** | [**V1Money**](V1Money.md) | The amount of tip money refunded. This amount is always negative. | [optional]
17+
**refundedDiscountMoney** | [**V1Money**](V1Money.md) | The amount of discount money refunded. This amount is always positive. | [optional]
18+
**refundedSurchargeMoney** | [**V1Money**](V1Money.md) | The amount of surcharge money refunded. This amount is always negative. | [optional]
19+
**refundedSurcharges** | [**List&lt;V1PaymentSurcharge&gt;**](V1PaymentSurcharge.md) | A list of all surcharges associated with the refund. | [optional]
1020
**createdAt** | **String** | The time when the merchant initiated the refund for Square to process, in ISO 8601 format. | [optional]
1121
**processedAt** | **String** | The time when Square processed the refund on behalf of the merchant, in ISO 8601 format. | [optional]
1222
**paymentId** | **String** | A Square-issued ID associated with the refund. For single-tender refunds, payment_id is the ID of the original payment ID. For split-tender refunds, payment_id is the ID of the original tender. For exchange-based refunds (is_exchange &#x3D;&#x3D; true), payment_id is the ID of the original payment ID even if the payment includes other tenders. | [optional]

Diff for: pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>connect</artifactId>
66
<packaging>jar</packaging>
77
<name>connect</name>
8-
<version>2.20180918.1</version>
8+
<version>2.20181205.0</version>
99
<url>https://github.com/square/connect-java-sdk/</url>
1010
<description>Java client library for the Square Connect API</description>
1111
<scm>

Diff for: src/main/java/com/squareup/connect/ApiClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public ApiClient() {
7373
this.dateFormat = new RFC3339DateFormat();
7474

7575
// Set default User-Agent.
76-
setUserAgent("Square-Connect-Java/2.20180918.1");
76+
setUserAgent("Square-Connect-Java/2.20181205.0");
7777

7878
// Setup authentications (key: authentication name, value: authentication).
7979
authentications = new HashMap<String, Authentication>();

Diff for: src/main/java/com/squareup/connect/api/ApplePayApi.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public RegisterDomainResponse registerDomain(RegisterDomainRequest body) throws
5858
List<Pair> localVarQueryParams = new ArrayList<Pair>();
5959
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
6060
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
61-
localVarHeaderParams.put("Square-Version", "2018-09-18");
61+
localVarHeaderParams.put("Square-Version", "2018-12-05");
6262

6363

6464

Diff for: src/main/java/com/squareup/connect/api/CatalogApi.java

+11-11
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public BatchDeleteCatalogObjectsResponse batchDeleteCatalogObjects(BatchDeleteCa
7474
List<Pair> localVarQueryParams = new ArrayList<Pair>();
7575
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
7676
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
77-
localVarHeaderParams.put("Square-Version", "2018-09-18");
77+
localVarHeaderParams.put("Square-Version", "2018-12-05");
7878

7979

8080

@@ -158,7 +158,7 @@ public BatchRetrieveCatalogObjectsResponse batchRetrieveCatalogObjects(BatchRetr
158158
List<Pair> localVarQueryParams = new ArrayList<Pair>();
159159
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
160160
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
161-
localVarHeaderParams.put("Square-Version", "2018-09-18");
161+
localVarHeaderParams.put("Square-Version", "2018-12-05");
162162

163163

164164

@@ -242,7 +242,7 @@ public BatchUpsertCatalogObjectsResponse batchUpsertCatalogObjects(BatchUpsertCa
242242
List<Pair> localVarQueryParams = new ArrayList<Pair>();
243243
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
244244
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
245-
localVarHeaderParams.put("Square-Version", "2018-09-18");
245+
localVarHeaderParams.put("Square-Version", "2018-12-05");
246246

247247

248248

@@ -320,7 +320,7 @@ public CatalogInfoResponse catalogInfo() throws ApiException {
320320
List<Pair> localVarQueryParams = new ArrayList<Pair>();
321321
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
322322
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
323-
localVarHeaderParams.put("Square-Version", "2018-09-18");
323+
localVarHeaderParams.put("Square-Version", "2018-12-05");
324324

325325

326326

@@ -399,7 +399,7 @@ public DeleteCatalogObjectResponse deleteCatalogObject(String objectId) throws A
399399
List<Pair> localVarQueryParams = new ArrayList<Pair>();
400400
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
401401
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
402-
localVarHeaderParams.put("Square-Version", "2018-09-18");
402+
localVarHeaderParams.put("Square-Version", "2018-12-05");
403403

404404

405405

@@ -480,7 +480,7 @@ public ListCatalogResponse listCatalog(String cursor, String types) throws ApiEx
480480
List<Pair> localVarQueryParams = new ArrayList<Pair>();
481481
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
482482
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
483-
localVarHeaderParams.put("Square-Version", "2018-09-18");
483+
localVarHeaderParams.put("Square-Version", "2018-12-05");
484484
localVarQueryParams.addAll(apiClient.parameterToPairs("", "cursor", cursor));
485485
localVarQueryParams.addAll(apiClient.parameterToPairs("", "types", types));
486486

@@ -566,7 +566,7 @@ public RetrieveCatalogObjectResponse retrieveCatalogObject(String objectId, Bool
566566
List<Pair> localVarQueryParams = new ArrayList<Pair>();
567567
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
568568
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
569-
localVarHeaderParams.put("Square-Version", "2018-09-18");
569+
localVarHeaderParams.put("Square-Version", "2018-12-05");
570570
localVarQueryParams.addAll(apiClient.parameterToPairs("", "include_related_objects", includeRelatedObjects));
571571

572572

@@ -654,7 +654,7 @@ public SearchCatalogObjectsResponse searchCatalogObjects(SearchCatalogObjectsReq
654654
List<Pair> localVarQueryParams = new ArrayList<Pair>();
655655
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
656656
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
657-
localVarHeaderParams.put("Square-Version", "2018-09-18");
657+
localVarHeaderParams.put("Square-Version", "2018-12-05");
658658

659659

660660

@@ -738,7 +738,7 @@ public UpdateItemModifierListsResponse updateItemModifierLists(UpdateItemModifie
738738
List<Pair> localVarQueryParams = new ArrayList<Pair>();
739739
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
740740
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
741-
localVarHeaderParams.put("Square-Version", "2018-09-18");
741+
localVarHeaderParams.put("Square-Version", "2018-12-05");
742742

743743

744744

@@ -822,7 +822,7 @@ public UpdateItemTaxesResponse updateItemTaxes(UpdateItemTaxesRequest body) thro
822822
List<Pair> localVarQueryParams = new ArrayList<Pair>();
823823
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
824824
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
825-
localVarHeaderParams.put("Square-Version", "2018-09-18");
825+
localVarHeaderParams.put("Square-Version", "2018-12-05");
826826

827827

828828

@@ -906,7 +906,7 @@ public UpsertCatalogObjectResponse upsertCatalogObject(UpsertCatalogObjectReques
906906
List<Pair> localVarQueryParams = new ArrayList<Pair>();
907907
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
908908
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
909-
localVarHeaderParams.put("Square-Version", "2018-09-18");
909+
localVarHeaderParams.put("Square-Version", "2018-12-05");
910910

911911

912912

0 commit comments

Comments
 (0)