Skip to content

Commit b4ee2bb

Browse files
authored
Merge pull request #114 from square/release/38.0.0.20240222
Generated PR for Release: 38.0.0.20240222
2 parents 00a45b7 + cefb497 commit b4ee2bb

File tree

185 files changed

+6682
-10726
lines changed

Some content is hidden

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

185 files changed

+6682
-10726
lines changed

doc/api/apple-pay.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ CompletableFuture<RegisterDomainResponse> registerDomainAsync(
4141
## Example Usage
4242

4343
```java
44-
RegisterDomainRequest body = new RegisterDomainRequest.Builder(
44+
RegisterDomainRequest body = new RegisterDomainRequest.Builder(
4545
"example.com"
46-
)
46+
)
4747
.build();
48-
48+
4949
applePayApi.registerDomainAsync(body).thenAccept(result -> {
5050
// TODO success callback handler
5151
System.out.println(result);

doc/api/bank-accounts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ CompletableFuture<GetBankAccountByV1IdResponse> getBankAccountByV1IdAsync(
7474
## Example Usage
7575

7676
```java
77-
String v1BankAccountId = "v1_bank_account_id8";
77+
String v1BankAccountId = "v1_bank_account_id8";
7878

7979
bankAccountsApi.getBankAccountByV1IdAsync(v1BankAccountId).thenAccept(result -> {
8080
// TODO success callback handler
@@ -110,7 +110,7 @@ CompletableFuture<GetBankAccountResponse> getBankAccountAsync(
110110
## Example Usage
111111

112112
```java
113-
String bankAccountId = "bank_account_id0";
113+
String bankAccountId = "bank_account_id0";
114114

115115
bankAccountsApi.getBankAccountAsync(bankAccountId).thenAccept(result -> {
116116
// TODO success callback handler

doc/api/booking-custom-attributes.md

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ CompletableFuture<CreateBookingCustomAttributeDefinitionResponse> createBookingC
8989
## Example Usage
9090

9191
```java
92-
CreateBookingCustomAttributeDefinitionRequest body = new CreateBookingCustomAttributeDefinitionRequest.Builder(
93-
new CustomAttributeDefinition.Builder()
92+
CreateBookingCustomAttributeDefinitionRequest body = new CreateBookingCustomAttributeDefinitionRequest.Builder(
93+
new CustomAttributeDefinition.Builder()
9494
.build()
95-
)
95+
)
9696
.build();
97-
97+
9898
bookingCustomAttributesApi.createBookingCustomAttributeDefinitionAsync(body).thenAccept(result -> {
9999
// TODO success callback handler
100100
System.out.println(result);
@@ -134,7 +134,7 @@ CompletableFuture<DeleteBookingCustomAttributeDefinitionResponse> deleteBookingC
134134
## Example Usage
135135

136136
```java
137-
String key = "key0";
137+
String key = "key0";
138138

139139
bookingCustomAttributesApi.deleteBookingCustomAttributeDefinitionAsync(key).thenAccept(result -> {
140140
// TODO success callback handler
@@ -174,7 +174,7 @@ CompletableFuture<RetrieveBookingCustomAttributeDefinitionResponse> retrieveBook
174174
## Example Usage
175175

176176
```java
177-
String key = "key0";
177+
String key = "key0";
178178

179179
bookingCustomAttributesApi.retrieveBookingCustomAttributeDefinitionAsync(key, null).thenAccept(result -> {
180180
// TODO success callback handler
@@ -217,13 +217,13 @@ CompletableFuture<UpdateBookingCustomAttributeDefinitionResponse> updateBookingC
217217
## Example Usage
218218

219219
```java
220-
String key = "key0";
221-
UpdateBookingCustomAttributeDefinitionRequest body = new UpdateBookingCustomAttributeDefinitionRequest.Builder(
222-
new CustomAttributeDefinition.Builder()
220+
String key = "key0";
221+
UpdateBookingCustomAttributeDefinitionRequest body = new UpdateBookingCustomAttributeDefinitionRequest.Builder(
222+
new CustomAttributeDefinition.Builder()
223223
.build()
224-
)
224+
)
225225
.build();
226-
226+
227227
bookingCustomAttributesApi.updateBookingCustomAttributeDefinitionAsync(key, body).thenAccept(result -> {
228228
// TODO success callback handler
229229
System.out.println(result);
@@ -263,22 +263,22 @@ CompletableFuture<BulkDeleteBookingCustomAttributesResponse> bulkDeleteBookingCu
263263
## Example Usage
264264

265265
```java
266-
BulkDeleteBookingCustomAttributesRequest body = new BulkDeleteBookingCustomAttributesRequest.Builder(
267-
new LinkedHashMap<String, BookingCustomAttributeDeleteRequest>() {{
268-
put("key0", new BookingCustomAttributeDeleteRequest.Builder(
266+
BulkDeleteBookingCustomAttributesRequest body = new BulkDeleteBookingCustomAttributesRequest.Builder(
267+
new LinkedHashMap<String, BookingCustomAttributeDeleteRequest>() {{
268+
put("key0", new BookingCustomAttributeDeleteRequest.Builder(
269269
"booking_id4",
270270
"key0"
271-
)
272-
.build());
273-
put("key1", new BookingCustomAttributeDeleteRequest.Builder(
271+
)
272+
.build());
273+
put("key1", new BookingCustomAttributeDeleteRequest.Builder(
274274
"booking_id4",
275275
"key0"
276-
)
277-
.build());
276+
)
277+
.build());
278278
}}
279-
)
279+
)
280280
.build();
281-
281+
282282
bookingCustomAttributesApi.bulkDeleteBookingCustomAttributesAsync(body).thenAccept(result -> {
283283
// TODO success callback handler
284284
System.out.println(result);
@@ -318,24 +318,24 @@ CompletableFuture<BulkUpsertBookingCustomAttributesResponse> bulkUpsertBookingCu
318318
## Example Usage
319319

320320
```java
321-
BulkUpsertBookingCustomAttributesRequest body = new BulkUpsertBookingCustomAttributesRequest.Builder(
322-
new LinkedHashMap<String, BookingCustomAttributeUpsertRequest>() {{
323-
put("key0", new BookingCustomAttributeUpsertRequest.Builder(
321+
BulkUpsertBookingCustomAttributesRequest body = new BulkUpsertBookingCustomAttributesRequest.Builder(
322+
new LinkedHashMap<String, BookingCustomAttributeUpsertRequest>() {{
323+
put("key0", new BookingCustomAttributeUpsertRequest.Builder(
324324
"booking_id4",
325-
new CustomAttribute.Builder()
325+
new CustomAttribute.Builder()
326326
.build()
327-
)
328-
.build());
329-
put("key1", new BookingCustomAttributeUpsertRequest.Builder(
327+
)
328+
.build());
329+
put("key1", new BookingCustomAttributeUpsertRequest.Builder(
330330
"booking_id4",
331-
new CustomAttribute.Builder()
331+
new CustomAttribute.Builder()
332332
.build()
333-
)
334-
.build());
333+
)
334+
.build());
335335
}}
336-
)
336+
)
337337
.build();
338-
338+
339339
bookingCustomAttributesApi.bulkUpsertBookingCustomAttributesAsync(body).thenAccept(result -> {
340340
// TODO success callback handler
341341
System.out.println(result);
@@ -378,8 +378,8 @@ CompletableFuture<ListBookingCustomAttributesResponse> listBookingCustomAttribut
378378
## Example Usage
379379

380380
```java
381-
String bookingId = "booking_id4";
382-
Boolean withDefinitions = false;
381+
String bookingId = "booking_id4";
382+
Boolean withDefinitions = false;
383383

384384
bookingCustomAttributesApi.listBookingCustomAttributesAsync(bookingId, null, null, withDefinitions).thenAccept(result -> {
385385
// TODO success callback handler
@@ -422,8 +422,8 @@ CompletableFuture<DeleteBookingCustomAttributeResponse> deleteBookingCustomAttri
422422
## Example Usage
423423

424424
```java
425-
String bookingId = "booking_id4";
426-
String key = "key0";
425+
String bookingId = "booking_id4";
426+
String key = "key0";
427427

428428
bookingCustomAttributesApi.deleteBookingCustomAttributeAsync(bookingId, key).thenAccept(result -> {
429429
// TODO success callback handler
@@ -467,9 +467,9 @@ CompletableFuture<RetrieveBookingCustomAttributeResponse> retrieveBookingCustomA
467467
## Example Usage
468468

469469
```java
470-
String bookingId = "booking_id4";
471-
String key = "key0";
472-
Boolean withDefinition = false;
470+
String bookingId = "booking_id4";
471+
String key = "key0";
472+
Boolean withDefinition = false;
473473

474474
bookingCustomAttributesApi.retrieveBookingCustomAttributeAsync(bookingId, key, withDefinition, null).thenAccept(result -> {
475475
// TODO success callback handler
@@ -514,14 +514,14 @@ CompletableFuture<UpsertBookingCustomAttributeResponse> upsertBookingCustomAttri
514514
## Example Usage
515515

516516
```java
517-
String bookingId = "booking_id4";
518-
String key = "key0";
519-
UpsertBookingCustomAttributeRequest body = new UpsertBookingCustomAttributeRequest.Builder(
520-
new CustomAttribute.Builder()
517+
String bookingId = "booking_id4";
518+
String key = "key0";
519+
UpsertBookingCustomAttributeRequest body = new UpsertBookingCustomAttributeRequest.Builder(
520+
new CustomAttribute.Builder()
521521
.build()
522-
)
522+
)
523523
.build();
524-
524+
525525
bookingCustomAttributesApi.upsertBookingCustomAttributeAsync(bookingId, key, body).thenAccept(result -> {
526526
// TODO success callback handler
527527
System.out.println(result);

doc/api/bookings.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ CompletableFuture<CreateBookingResponse> createBookingAsync(
109109
## Example Usage
110110

111111
```java
112-
CreateBookingRequest body = new CreateBookingRequest.Builder(
113-
new Booking.Builder()
112+
CreateBookingRequest body = new CreateBookingRequest.Builder(
113+
new Booking.Builder()
114114
.build()
115-
)
115+
)
116116
.build();
117-
117+
118118
bookingsApi.createBookingAsync(body).thenAccept(result -> {
119119
// TODO success callback handler
120120
System.out.println(result);
@@ -151,18 +151,18 @@ CompletableFuture<SearchAvailabilityResponse> searchAvailabilityAsync(
151151
## Example Usage
152152

153153
```java
154-
SearchAvailabilityRequest body = new SearchAvailabilityRequest.Builder(
155-
new SearchAvailabilityQuery.Builder(
156-
new SearchAvailabilityFilter.Builder(
157-
new TimeRange.Builder()
154+
SearchAvailabilityRequest body = new SearchAvailabilityRequest.Builder(
155+
new SearchAvailabilityQuery.Builder(
156+
new SearchAvailabilityFilter.Builder(
157+
new TimeRange.Builder()
158158
.build()
159-
)
159+
)
160160
.build()
161-
)
161+
)
162162
.build()
163-
)
163+
)
164164
.build();
165-
165+
166166
bookingsApi.searchAvailabilityAsync(body).thenAccept(result -> {
167167
// TODO success callback handler
168168
System.out.println(result);
@@ -199,15 +199,15 @@ CompletableFuture<BulkRetrieveBookingsResponse> bulkRetrieveBookingsAsync(
199199
## Example Usage
200200

201201
```java
202-
BulkRetrieveBookingsRequest body = new BulkRetrieveBookingsRequest.Builder(
203-
Arrays.asList(
202+
BulkRetrieveBookingsRequest body = new BulkRetrieveBookingsRequest.Builder(
203+
Arrays.asList(
204204
"booking_ids8",
205205
"booking_ids9",
206206
"booking_ids0"
207207
)
208-
)
208+
)
209209
.build();
210-
210+
211211
bookingsApi.bulkRetrieveBookingsAsync(body).thenAccept(result -> {
212212
// TODO success callback handler
213213
System.out.println(result);
@@ -302,7 +302,7 @@ CompletableFuture<RetrieveLocationBookingProfileResponse> retrieveLocationBookin
302302
## Example Usage
303303

304304
```java
305-
String locationId = "location_id4";
305+
String locationId = "location_id4";
306306

307307
bookingsApi.retrieveLocationBookingProfileAsync(locationId).thenAccept(result -> {
308308
// TODO success callback handler
@@ -343,7 +343,7 @@ CompletableFuture<ListTeamMemberBookingProfilesResponse> listTeamMemberBookingPr
343343
## Example Usage
344344

345345
```java
346-
Boolean bookableOnly = false;
346+
Boolean bookableOnly = false;
347347

348348
bookingsApi.listTeamMemberBookingProfilesAsync(bookableOnly, null, null, null).thenAccept(result -> {
349349
// TODO success callback handler
@@ -378,15 +378,15 @@ CompletableFuture<BulkRetrieveTeamMemberBookingProfilesResponse> bulkRetrieveTea
378378
## Example Usage
379379

380380
```java
381-
BulkRetrieveTeamMemberBookingProfilesRequest body = new BulkRetrieveTeamMemberBookingProfilesRequest.Builder(
382-
Arrays.asList(
381+
BulkRetrieveTeamMemberBookingProfilesRequest body = new BulkRetrieveTeamMemberBookingProfilesRequest.Builder(
382+
Arrays.asList(
383383
"team_member_ids3",
384384
"team_member_ids4",
385385
"team_member_ids5"
386386
)
387-
)
387+
)
388388
.build();
389-
389+
390390
bookingsApi.bulkRetrieveTeamMemberBookingProfilesAsync(body).thenAccept(result -> {
391391
// TODO success callback handler
392392
System.out.println(result);
@@ -420,7 +420,7 @@ CompletableFuture<RetrieveTeamMemberBookingProfileResponse> retrieveTeamMemberBo
420420
## Example Usage
421421

422422
```java
423-
String teamMemberId = "team_member_id0";
423+
String teamMemberId = "team_member_id0";
424424

425425
bookingsApi.retrieveTeamMemberBookingProfileAsync(teamMemberId).thenAccept(result -> {
426426
// TODO success callback handler
@@ -458,7 +458,7 @@ CompletableFuture<RetrieveBookingResponse> retrieveBookingAsync(
458458
## Example Usage
459459

460460
```java
461-
String bookingId = "booking_id4";
461+
String bookingId = "booking_id4";
462462

463463
bookingsApi.retrieveBookingAsync(bookingId).thenAccept(result -> {
464464
// TODO success callback handler
@@ -501,13 +501,13 @@ CompletableFuture<UpdateBookingResponse> updateBookingAsync(
501501
## Example Usage
502502

503503
```java
504-
String bookingId = "booking_id4";
505-
UpdateBookingRequest body = new UpdateBookingRequest.Builder(
506-
new Booking.Builder()
504+
String bookingId = "booking_id4";
505+
UpdateBookingRequest body = new UpdateBookingRequest.Builder(
506+
new Booking.Builder()
507507
.build()
508-
)
508+
)
509509
.build();
510-
510+
511511
bookingsApi.updateBookingAsync(bookingId, body).thenAccept(result -> {
512512
// TODO success callback handler
513513
System.out.println(result);
@@ -549,10 +549,10 @@ CompletableFuture<CancelBookingResponse> cancelBookingAsync(
549549
## Example Usage
550550

551551
```java
552-
String bookingId = "booking_id4";
553-
CancelBookingRequest body = new CancelBookingRequest.Builder()
552+
String bookingId = "booking_id4";
553+
CancelBookingRequest body = new CancelBookingRequest.Builder()
554554
.build();
555-
555+
556556
bookingsApi.cancelBookingAsync(bookingId, body).thenAccept(result -> {
557557
// TODO success callback handler
558558
System.out.println(result);

0 commit comments

Comments
 (0)