Skip to content

Commit 5c89899

Browse files
author
Wolfgang Schuster
authored
Merge pull request #73 from square/release/18.2.0.20220216
Generated PR for Release: 18.2.0.20220216
2 parents c88a391 + 19efe1a commit 5c89899

File tree

613 files changed

+3735
-2471
lines changed

Some content is hidden

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

613 files changed

+3735
-2471
lines changed

doc/api/bookings.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Booking booking = new Booking.Builder()
105105
.updatedAt("updated_at4")
106106
.build();
107107
CreateBookingRequest body = new CreateBookingRequest.Builder(
108-
bodyBooking)
108+
booking)
109109
.idempotencyKey("idempotency_key2")
110110
.build();
111111

@@ -190,16 +190,16 @@ SegmentFilter bodyQueryFilterSegmentFilters1 = new SegmentFilter.Builder(
190190
bodyQueryFilterSegmentFilters.add(bodyQueryFilterSegmentFilters1);
191191

192192
SearchAvailabilityFilter searchAvailabilityFilter = new SearchAvailabilityFilter.Builder(
193-
searchAvailabilityFilterStartAtRange)
193+
startAtRange)
194194
.locationId("location_id6")
195195
.segmentFilters(searchAvailabilityFilterSegmentFilters)
196196
.bookingId("booking_id6")
197197
.build();
198198
SearchAvailabilityQuery searchAvailabilityQuery = new SearchAvailabilityQuery.Builder(
199-
searchAvailabilityQueryFilter)
199+
filter)
200200
.build();
201201
SearchAvailabilityRequest body = new SearchAvailabilityRequest.Builder(
202-
bodyQuery)
202+
query)
203203
.build();
204204

205205
bookingsApi.searchAvailabilityAsync(body).thenAccept(result -> {
@@ -382,7 +382,7 @@ Booking booking = new Booking.Builder()
382382
.updatedAt("updated_at4")
383383
.build();
384384
UpdateBookingRequest body = new UpdateBookingRequest.Builder(
385-
bodyBooking)
385+
booking)
386386
.idempotencyKey("idempotency_key2")
387387
.build();
388388

doc/api/cards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Card card = new Card.Builder()
108108
CreateCardRequest body = new CreateCardRequest.Builder(
109109
"4935a656-a929-4792-b97c-8848be85c27c",
110110
"cnon:uIbfJXhXETSP197M3GB",
111-
bodyCard)
111+
card)
112112
.verificationToken("verification_token0")
113113
.build();
114114

doc/api/catalog.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -543,13 +543,13 @@ CatalogObject bodyBatches0Objects3 = new CatalogObject.Builder(
543543
bodyBatches0Objects.add(bodyBatches0Objects3);
544544

545545
CatalogObjectBatch bodyBatches0 = new CatalogObjectBatch.Builder(
546-
bodyBatches0Objects)
546+
objects)
547547
.build();
548548
bodyBatches.add(bodyBatches0);
549549

550550
BatchUpsertCatalogObjectsRequest body = new BatchUpsertCatalogObjectsRequest.Builder(
551551
"789ff020-f723-43a9-b4b5-43b5dc1fa3dc",
552-
bodyBatches)
552+
batches)
553553
.build();
554554

555555
catalogApi.batchUpsertCatalogObjectsAsync(body).thenAccept(result -> {
@@ -626,7 +626,7 @@ CatalogObject catalogObject = new CatalogObject.Builder(
626626
.build();
627627
CreateCatalogImageRequest request = new CreateCatalogImageRequest.Builder(
628628
"528dea59-7bfb-43c1-bd48-4a6bba7dd61f86",
629-
requestImage)
629+
image)
630630
.objectId("ND6EA5AAJEO5WL3JNNIAQA32")
631631
.isPrimary(false)
632632
.build();
@@ -956,7 +956,7 @@ CatalogObject catalogObject = new CatalogObject.Builder(
956956
.build();
957957
UpsertCatalogObjectRequest body = new UpsertCatalogObjectRequest.Builder(
958958
"af3d1afc-7212-4300-b463-0bfc5314a5ae",
959-
bodyObject)
959+
object)
960960
.build();
961961

962962
catalogApi.upsertCatalogObjectAsync(body).thenAccept(result -> {

doc/api/checkout.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,13 @@ Money money = new Money.Builder()
213213
ChargeRequestAdditionalRecipient bodyAdditionalRecipients0 = new ChargeRequestAdditionalRecipient.Builder(
214214
"057P5VYJ4A5X1",
215215
"Application fees",
216-
bodyAdditionalRecipients0AmountMoney)
216+
amountMoney)
217217
.build();
218218
bodyAdditionalRecipients.add(bodyAdditionalRecipients0);
219219

220220
CreateCheckoutRequest body = new CreateCheckoutRequest.Builder(
221221
"86ae1696-b1e3-4328-af6d-f1e04d947ad6",
222-
bodyOrder)
222+
order)
223223
.askForShippingAddress(true)
224224
.merchantSupportEmail("[email protected]")
225225
.prePopulateBuyerEmail("[email protected]")

doc/api/customer-groups.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ CustomerGroup customerGroup = new CustomerGroup.Builder(
8484
.updatedAt("updated_at0")
8585
.build();
8686
CreateCustomerGroupRequest body = new CreateCustomerGroupRequest.Builder(
87-
bodyGroup)
87+
group)
8888
.idempotencyKey("idempotency_key2")
8989
.build();
9090

@@ -195,7 +195,7 @@ CustomerGroup customerGroup = new CustomerGroup.Builder(
195195
.updatedAt("updated_at0")
196196
.build();
197197
UpdateCustomerGroupRequest body = new UpdateCustomerGroupRequest.Builder(
198-
bodyGroup)
198+
group)
199199
.build();
200200

201201
customerGroupsApi.updateCustomerGroupAsync(groupId, body).thenAccept(result -> {

doc/api/devices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ DeviceCode deviceCode = new DeviceCode.Builder(
9090
.build();
9191
CreateDeviceCodeRequest body = new CreateDeviceCodeRequest.Builder(
9292
"01bb00a6-0c86-4770-94ed-f5fca973cd56",
93-
bodyDeviceCode)
93+
deviceCode)
9494
.build();
9595

9696
devicesApi.createDeviceCodeAsync(body).thenAccept(result -> {

doc/api/gift-card-activities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ GiftCardActivity giftCardActivity = new GiftCardActivity.Builder(
126126
.build();
127127
CreateGiftCardActivityRequest body = new CreateGiftCardActivityRequest.Builder(
128128
"U16kfr-kA70er-q4Rsym-7U7NnY",
129-
bodyGiftCardActivity)
129+
giftCardActivity)
130130
.build();
131131

132132
giftCardActivitiesApi.createGiftCardActivityAsync(body).thenAccept(result -> {

doc/api/gift-cards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ GiftCard giftCard = new GiftCard.Builder(
104104
CreateGiftCardRequest body = new CreateGiftCardRequest.Builder(
105105
"NC9Tm69EjbjtConu",
106106
"81FN9BNFZTKS4",
107-
bodyGiftCard)
107+
giftCard)
108108
.build();
109109

110110
giftCardsApi.createGiftCardAsync(body).thenAccept(result -> {

doc/api/inventory.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ InventoryPhysicalCount inventoryPhysicalCount = new InventoryPhysicalCount.Build
130130
.state("IN_STOCK")
131131
.locationId("C6W5YS5QM06F5")
132132
.quantity("53")
133-
.employeeId("LRK57NSQ5X7PUD05")
133+
.teamMemberId("LRK57NSQ5X7PUD05")
134134
.occurredAt("2016-11-16T22:25:24.878Z")
135135
.build();
136136
InventoryAdjustment inventoryAdjustment = new InventoryAdjustment.Builder()
@@ -321,7 +321,7 @@ InventoryPhysicalCount inventoryPhysicalCount = new InventoryPhysicalCount.Build
321321
.state("IN_STOCK")
322322
.locationId("C6W5YS5QM06F5")
323323
.quantity("53")
324-
.employeeId("LRK57NSQ5X7PUD05")
324+
.teamMemberId("LRK57NSQ5X7PUD05")
325325
.occurredAt("2016-11-16T22:25:24.878Z")
326326
.build();
327327
InventoryAdjustment inventoryAdjustment = new InventoryAdjustment.Builder()

doc/api/invoices.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Invoice invoice = new Invoice.Builder()
168168
.saleOrServiceDate("2030-01-24")
169169
.build();
170170
CreateInvoiceRequest body = new CreateInvoiceRequest.Builder(
171-
bodyInvoice)
171+
invoice)
172172
.idempotencyKey("ce3748f9-5fc1-4762-aa12-aae5e843f1f4")
173173
.build();
174174

@@ -222,11 +222,11 @@ InvoiceSort invoiceSort = new InvoiceSort.Builder(
222222
.order("DESC")
223223
.build();
224224
InvoiceQuery invoiceQuery = new InvoiceQuery.Builder(
225-
invoiceQueryFilter)
225+
filter)
226226
.sort(invoiceQuerySort)
227227
.build();
228228
SearchInvoicesRequest body = new SearchInvoicesRequest.Builder(
229-
bodyQuery)
229+
query)
230230
.limit(164)
231231
.cursor("cursor0")
232232
.build();
@@ -380,7 +380,7 @@ Invoice invoice = new Invoice.Builder()
380380
List<String> bodyFieldsToClear = new LinkedList<>();
381381
bodyFieldsToClear.add("payments_requests[2da7964f-f3d2-4f43-81e8-5aa220bf3355].reminders");
382382
UpdateInvoiceRequest body = new UpdateInvoiceRequest.Builder(
383-
bodyInvoice)
383+
invoice)
384384
.idempotencyKey("4ee82288-0910-499e-ab4c-5d0071dad1be")
385385
.fieldsToClear(bodyFieldsToClear)
386386
.build();

0 commit comments

Comments
 (0)