Skip to content

Commit cdcef29

Browse files
release
1 parent e3c5e54 commit cdcef29

File tree

476 files changed

+39845
-20538
lines changed

Some content is hidden

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

476 files changed

+39845
-20538
lines changed

doc/apple-pay.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ To learn more about Apple Pay on Web see the Apple Pay section in the
2222

2323
```java
2424
CompletableFuture<RegisterDomainResponse> registerDomainAsync(
25-
final RegisterDomainRequest body
26-
)
25+
final RegisterDomainRequest body)
2726
```
2827

2928
### Parameters

doc/cash-drawers.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ CompletableFuture<ListCashDrawerShiftsResponse> listCashDrawerShiftsAsync(
2626
final String beginTime,
2727
final String endTime,
2828
final Integer limit,
29-
final String cursor
30-
)
29+
final String cursor)
3130
```
3231

3332
### Parameters
@@ -66,8 +65,7 @@ RetrieveCashDrawerShiftEvents for a list of cash drawer shift events.
6665
```java
6766
CompletableFuture<RetrieveCashDrawerShiftResponse> retrieveCashDrawerShiftAsync(
6867
final String locationId,
69-
final String shiftId
70-
)
68+
final String shiftId)
7169
```
7270

7371
### Parameters
@@ -104,8 +102,7 @@ CompletableFuture<ListCashDrawerShiftEventsResponse> listCashDrawerShiftEventsAs
104102
final String locationId,
105103
final String shiftId,
106104
final Integer limit,
107-
final String cursor
108-
)
105+
final String cursor)
109106
```
110107

111108
### Parameters

doc/catalog.md

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ actually deleted.
3838

3939
```java
4040
CompletableFuture<BatchDeleteCatalogObjectsResponse> batchDeleteCatalogObjectsAsync(
41-
final BatchDeleteCatalogObjectsRequest body
42-
)
41+
final BatchDeleteCatalogObjectsRequest body)
4342
```
4443

4544
### Parameters
@@ -81,8 +80,7 @@ any [CatalogTax](#type-catalogtax) objects that apply to it.
8180

8281
```java
8382
CompletableFuture<BatchRetrieveCatalogObjectsResponse> batchRetrieveCatalogObjectsAsync(
84-
final BatchRetrieveCatalogObjectsRequest body
85-
)
83+
final BatchRetrieveCatalogObjectsRequest body)
8684
```
8785

8886
### Parameters
@@ -128,8 +126,7 @@ than 10,000.
128126

129127
```java
130128
CompletableFuture<BatchUpsertCatalogObjectsResponse> batchUpsertCatalogObjectsAsync(
131-
final BatchUpsertCatalogObjectsRequest body
132-
)
129+
final BatchUpsertCatalogObjectsRequest body)
133130
```
134131

135132
### Parameters
@@ -315,8 +312,7 @@ Additional information and an example cURL request can be found in the [Create a
315312
```java
316313
CompletableFuture<CreateCatalogImageResponse> createCatalogImageAsync(
317314
final CreateCatalogImageRequest request,
318-
final File imageFile
319-
)
315+
final File imageFile)
320316
```
321317

322318
### Parameters
@@ -394,8 +390,7 @@ to `true`.
394390
```java
395391
CompletableFuture<ListCatalogResponse> listCatalogAsync(
396392
final String cursor,
397-
final String types
398-
)
393+
final String types)
399394
```
400395

401396
### Parameters
@@ -426,8 +421,7 @@ Creates or updates the target [CatalogObject](#type-catalogobject).
426421

427422
```java
428423
CompletableFuture<UpsertCatalogObjectResponse> upsertCatalogObjectAsync(
429-
final UpsertCatalogObjectRequest body
430-
)
424+
final UpsertCatalogObjectRequest body)
431425
```
432426

433427
### Parameters
@@ -477,8 +471,7 @@ will also delete all of its
477471

478472
```java
479473
CompletableFuture<DeleteCatalogObjectResponse> deleteCatalogObjectAsync(
480-
final String objectId
481-
)
474+
final String objectId)
482475
```
483476

484477
### Parameters
@@ -517,8 +510,7 @@ any [CatalogTax](#type-catalogtax) objects that apply to it.
517510
```java
518511
CompletableFuture<RetrieveCatalogObjectResponse> retrieveCatalogObjectAsync(
519512
final String objectId,
520-
final Boolean includeRelatedObjects
521-
)
513+
final Boolean includeRelatedObjects)
522514
```
523515

524516
### Parameters
@@ -564,8 +556,7 @@ Future end of the above comment:
564556

565557
```java
566558
CompletableFuture<SearchCatalogObjectsResponse> searchCatalogObjectsAsync(
567-
final SearchCatalogObjectsRequest body
568-
)
559+
final SearchCatalogObjectsRequest body)
569560
```
570561

571562
### Parameters
@@ -612,8 +603,7 @@ to perform an upsert on the entire item.
612603

613604
```java
614605
CompletableFuture<UpdateItemModifierListsResponse> updateItemModifierListsAsync(
615-
final UpdateItemModifierListsRequest body
616-
)
606+
final UpdateItemModifierListsRequest body)
617607
```
618608

619609
### Parameters
@@ -659,8 +649,7 @@ upsert on the entire item.
659649

660650
```java
661651
CompletableFuture<UpdateItemTaxesResponse> updateItemTaxesAsync(
662-
final UpdateItemTaxesRequest body
663-
)
652+
final UpdateItemTaxesRequest body)
664653
```
665654

666655
### Parameters

doc/checkout.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ payment processing workflow hosted on connect.squareup.com.
1717
```java
1818
CompletableFuture<CreateCheckoutResponse> createCheckoutAsync(
1919
final String locationId,
20-
final CreateCheckoutRequest body
21-
)
20+
final CreateCheckoutRequest body)
2221
```
2322

2423
### Parameters

doc/customers.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ Lists a business's customers.
2727
CompletableFuture<ListCustomersResponse> listCustomersAsync(
2828
final String cursor,
2929
final String sortField,
30-
final String sortOrder
31-
)
30+
final String sortOrder)
3231
```
3332

3433
### Parameters
@@ -69,8 +68,7 @@ endpoint:
6968

7069
```java
7170
CompletableFuture<CreateCustomerResponse> createCustomerAsync(
72-
final CreateCustomerRequest body
73-
)
71+
final CreateCustomerRequest body)
7472
```
7573

7674
### Parameters
@@ -121,8 +119,7 @@ customer profiles ordered alphabetically based on `given_name` and
121119

122120
```java
123121
CompletableFuture<SearchCustomersResponse> searchCustomersAsync(
124-
final SearchCustomersRequest body
125-
)
122+
final SearchCustomersRequest body)
126123
```
127124

128125
### Parameters
@@ -181,8 +178,7 @@ new `customer_id` to delete merged profiles.
181178

182179
```java
183180
CompletableFuture<DeleteCustomerResponse> deleteCustomerAsync(
184-
final String customerId
185-
)
181+
final String customerId)
186182
```
187183

188184
### Parameters
@@ -214,8 +210,7 @@ Returns details for a single customer.
214210

215211
```java
216212
CompletableFuture<RetrieveCustomerResponse> retrieveCustomerAsync(
217-
final String customerId
218-
)
213+
final String customerId)
219214
```
220215

221216
### Parameters
@@ -255,8 +250,7 @@ to a card on file, you must delete the existing card on file with the
255250
```java
256251
CompletableFuture<UpdateCustomerResponse> updateCustomerAsync(
257252
final String customerId,
258-
final UpdateCustomerRequest body
259-
)
253+
final UpdateCustomerRequest body)
260254
```
261255

262256
### Parameters
@@ -299,8 +293,7 @@ with the provided nonce during the _first_ call.
299293
```java
300294
CompletableFuture<CreateCustomerCardResponse> createCustomerCardAsync(
301295
final String customerId,
302-
final CreateCustomerCardRequest body
303-
)
296+
final CreateCustomerCardRequest body)
304297
```
305298

306299
### Parameters
@@ -347,8 +340,7 @@ Removes a card on file from a customer.
347340
```java
348341
CompletableFuture<DeleteCustomerCardResponse> deleteCustomerCardAsync(
349342
final String customerId,
350-
final String cardId
351-
)
343+
final String cardId)
352344
```
353345

354346
### Parameters

doc/employees.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ CompletableFuture<ListEmployeesResponse> listEmployeesAsync(
2222
final String locationId,
2323
final String status,
2424
final Integer limit,
25-
final String cursor
26-
)
25+
final String cursor)
2726
```
2827

2928
### Parameters
@@ -56,8 +55,7 @@ RetrieveEmployee
5655

5756
```java
5857
CompletableFuture<RetrieveEmployeeResponse> retrieveEmployeeAsync(
59-
final String id
60-
)
58+
final String id)
6159
```
6260

6361
### Parameters

doc/inventory.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ with the provided `adjustment_id`.
2525

2626
```java
2727
CompletableFuture<RetrieveInventoryAdjustmentResponse> retrieveInventoryAdjustmentAsync(
28-
final String adjustmentId
29-
)
28+
final String adjustmentId)
3029
```
3130

3231
### Parameters
@@ -62,8 +61,7 @@ On failure: returns a list of related errors.
6261

6362
```java
6463
CompletableFuture<BatchChangeInventoryResponse> batchChangeInventoryAsync(
65-
final BatchChangeInventoryRequest body
66-
)
64+
final BatchChangeInventoryRequest body)
6765
```
6866

6967
### Parameters
@@ -123,8 +121,7 @@ that cannot be handled by other, simpler endpoints.
123121

124122
```java
125123
CompletableFuture<BatchRetrieveInventoryChangesResponse> batchRetrieveInventoryChangesAsync(
126-
final BatchRetrieveInventoryChangesRequest body
127-
)
124+
final BatchRetrieveInventoryChangesRequest body)
128125
```
129126

130127
### Parameters
@@ -181,8 +178,7 @@ in response to receiving a Webhook notification.
181178

182179
```java
183180
CompletableFuture<BatchRetrieveInventoryCountsResponse> batchRetrieveInventoryCountsAsync(
184-
final BatchRetrieveInventoryCountsRequest body
185-
)
181+
final BatchRetrieveInventoryCountsRequest body)
186182
```
187183

188184
### Parameters
@@ -223,8 +219,7 @@ object with the provided `physical_count_id`.
223219

224220
```java
225221
CompletableFuture<RetrieveInventoryPhysicalCountResponse> retrieveInventoryPhysicalCountAsync(
226-
final String physicalCountId
227-
)
222+
final String physicalCountId)
228223
```
229224

230225
### Parameters
@@ -261,8 +256,7 @@ For more sophisticated queries, use a batch endpoint.
261256
CompletableFuture<RetrieveInventoryCountResponse> retrieveInventoryCountAsync(
262257
final String catalogObjectId,
263258
final String locationIds,
264-
final String cursor
265-
)
259+
final String cursor)
266260
```
267261

268262
### Parameters
@@ -307,8 +301,7 @@ sophisticated queries, use a batch endpoint.
307301
CompletableFuture<RetrieveInventoryChangesResponse> retrieveInventoryChangesAsync(
308302
final String catalogObjectId,
309303
final String locationIds,
310-
final String cursor
311-
)
304+
final String cursor)
312305
```
313306

314307
### Parameters

0 commit comments

Comments
 (0)