Skip to content

Commit

Permalink
Merge pull request #114 from square/release/38.0.0.20240222
Browse files Browse the repository at this point in the history
Generated PR for Release: 38.0.0.20240222
  • Loading branch information
joanc-sq authored Feb 21, 2024
2 parents 00a45b7 + cefb497 commit b4ee2bb
Show file tree
Hide file tree
Showing 185 changed files with 6,682 additions and 10,726 deletions.
6 changes: 3 additions & 3 deletions doc/api/apple-pay.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ CompletableFuture<RegisterDomainResponse> registerDomainAsync(
## Example Usage

```java
RegisterDomainRequest body = new RegisterDomainRequest.Builder(
RegisterDomainRequest body = new RegisterDomainRequest.Builder(
"example.com"
)
)
.build();


applePayApi.registerDomainAsync(body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down
4 changes: 2 additions & 2 deletions doc/api/bank-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ CompletableFuture<GetBankAccountByV1IdResponse> getBankAccountByV1IdAsync(
## Example Usage

```java
String v1BankAccountId = "v1_bank_account_id8";
String v1BankAccountId = "v1_bank_account_id8";

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

```java
String bankAccountId = "bank_account_id0";
String bankAccountId = "bank_account_id0";

bankAccountsApi.getBankAccountAsync(bankAccountId).thenAccept(result -> {
// TODO success callback handler
Expand Down
92 changes: 46 additions & 46 deletions doc/api/booking-custom-attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ CompletableFuture<CreateBookingCustomAttributeDefinitionResponse> createBookingC
## Example Usage

```java
CreateBookingCustomAttributeDefinitionRequest body = new CreateBookingCustomAttributeDefinitionRequest.Builder(
new CustomAttributeDefinition.Builder()
CreateBookingCustomAttributeDefinitionRequest body = new CreateBookingCustomAttributeDefinitionRequest.Builder(
new CustomAttributeDefinition.Builder()
.build()
)
)
.build();


bookingCustomAttributesApi.createBookingCustomAttributeDefinitionAsync(body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down Expand Up @@ -134,7 +134,7 @@ CompletableFuture<DeleteBookingCustomAttributeDefinitionResponse> deleteBookingC
## Example Usage

```java
String key = "key0";
String key = "key0";

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

```java
String key = "key0";
String key = "key0";

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

```java
String key = "key0";
UpdateBookingCustomAttributeDefinitionRequest body = new UpdateBookingCustomAttributeDefinitionRequest.Builder(
new CustomAttributeDefinition.Builder()
String key = "key0";
UpdateBookingCustomAttributeDefinitionRequest body = new UpdateBookingCustomAttributeDefinitionRequest.Builder(
new CustomAttributeDefinition.Builder()
.build()
)
)
.build();


bookingCustomAttributesApi.updateBookingCustomAttributeDefinitionAsync(key, body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down Expand Up @@ -263,22 +263,22 @@ CompletableFuture<BulkDeleteBookingCustomAttributesResponse> bulkDeleteBookingCu
## Example Usage

```java
BulkDeleteBookingCustomAttributesRequest body = new BulkDeleteBookingCustomAttributesRequest.Builder(
new LinkedHashMap<String, BookingCustomAttributeDeleteRequest>() {{
put("key0", new BookingCustomAttributeDeleteRequest.Builder(
BulkDeleteBookingCustomAttributesRequest body = new BulkDeleteBookingCustomAttributesRequest.Builder(
new LinkedHashMap<String, BookingCustomAttributeDeleteRequest>() {{
put("key0", new BookingCustomAttributeDeleteRequest.Builder(
"booking_id4",
"key0"
)
.build());
put("key1", new BookingCustomAttributeDeleteRequest.Builder(
)
.build());
put("key1", new BookingCustomAttributeDeleteRequest.Builder(
"booking_id4",
"key0"
)
.build());
)
.build());
}}
)
)
.build();


bookingCustomAttributesApi.bulkDeleteBookingCustomAttributesAsync(body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down Expand Up @@ -318,24 +318,24 @@ CompletableFuture<BulkUpsertBookingCustomAttributesResponse> bulkUpsertBookingCu
## Example Usage

```java
BulkUpsertBookingCustomAttributesRequest body = new BulkUpsertBookingCustomAttributesRequest.Builder(
new LinkedHashMap<String, BookingCustomAttributeUpsertRequest>() {{
put("key0", new BookingCustomAttributeUpsertRequest.Builder(
BulkUpsertBookingCustomAttributesRequest body = new BulkUpsertBookingCustomAttributesRequest.Builder(
new LinkedHashMap<String, BookingCustomAttributeUpsertRequest>() {{
put("key0", new BookingCustomAttributeUpsertRequest.Builder(
"booking_id4",
new CustomAttribute.Builder()
new CustomAttribute.Builder()
.build()
)
.build());
put("key1", new BookingCustomAttributeUpsertRequest.Builder(
)
.build());
put("key1", new BookingCustomAttributeUpsertRequest.Builder(
"booking_id4",
new CustomAttribute.Builder()
new CustomAttribute.Builder()
.build()
)
.build());
)
.build());
}}
)
)
.build();


bookingCustomAttributesApi.bulkUpsertBookingCustomAttributesAsync(body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down Expand Up @@ -378,8 +378,8 @@ CompletableFuture<ListBookingCustomAttributesResponse> listBookingCustomAttribut
## Example Usage

```java
String bookingId = "booking_id4";
Boolean withDefinitions = false;
String bookingId = "booking_id4";
Boolean withDefinitions = false;

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

```java
String bookingId = "booking_id4";
String key = "key0";
String bookingId = "booking_id4";
String key = "key0";

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

```java
String bookingId = "booking_id4";
String key = "key0";
Boolean withDefinition = false;
String bookingId = "booking_id4";
String key = "key0";
Boolean withDefinition = false;

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

```java
String bookingId = "booking_id4";
String key = "key0";
UpsertBookingCustomAttributeRequest body = new UpsertBookingCustomAttributeRequest.Builder(
new CustomAttribute.Builder()
String bookingId = "booking_id4";
String key = "key0";
UpsertBookingCustomAttributeRequest body = new UpsertBookingCustomAttributeRequest.Builder(
new CustomAttribute.Builder()
.build()
)
)
.build();


bookingCustomAttributesApi.upsertBookingCustomAttributeAsync(bookingId, key, body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down
64 changes: 32 additions & 32 deletions doc/api/bookings.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ CompletableFuture<CreateBookingResponse> createBookingAsync(
## Example Usage

```java
CreateBookingRequest body = new CreateBookingRequest.Builder(
new Booking.Builder()
CreateBookingRequest body = new CreateBookingRequest.Builder(
new Booking.Builder()
.build()
)
)
.build();


bookingsApi.createBookingAsync(body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down Expand Up @@ -151,18 +151,18 @@ CompletableFuture<SearchAvailabilityResponse> searchAvailabilityAsync(
## Example Usage

```java
SearchAvailabilityRequest body = new SearchAvailabilityRequest.Builder(
new SearchAvailabilityQuery.Builder(
new SearchAvailabilityFilter.Builder(
new TimeRange.Builder()
SearchAvailabilityRequest body = new SearchAvailabilityRequest.Builder(
new SearchAvailabilityQuery.Builder(
new SearchAvailabilityFilter.Builder(
new TimeRange.Builder()
.build()
)
)
.build()
)
)
.build()
)
)
.build();


bookingsApi.searchAvailabilityAsync(body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down Expand Up @@ -199,15 +199,15 @@ CompletableFuture<BulkRetrieveBookingsResponse> bulkRetrieveBookingsAsync(
## Example Usage

```java
BulkRetrieveBookingsRequest body = new BulkRetrieveBookingsRequest.Builder(
Arrays.asList(
BulkRetrieveBookingsRequest body = new BulkRetrieveBookingsRequest.Builder(
Arrays.asList(
"booking_ids8",
"booking_ids9",
"booking_ids0"
)
)
)
.build();


bookingsApi.bulkRetrieveBookingsAsync(body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down Expand Up @@ -302,7 +302,7 @@ CompletableFuture<RetrieveLocationBookingProfileResponse> retrieveLocationBookin
## Example Usage

```java
String locationId = "location_id4";
String locationId = "location_id4";

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

```java
Boolean bookableOnly = false;
Boolean bookableOnly = false;

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

```java
BulkRetrieveTeamMemberBookingProfilesRequest body = new BulkRetrieveTeamMemberBookingProfilesRequest.Builder(
Arrays.asList(
BulkRetrieveTeamMemberBookingProfilesRequest body = new BulkRetrieveTeamMemberBookingProfilesRequest.Builder(
Arrays.asList(
"team_member_ids3",
"team_member_ids4",
"team_member_ids5"
)
)
)
.build();


bookingsApi.bulkRetrieveTeamMemberBookingProfilesAsync(body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down Expand Up @@ -420,7 +420,7 @@ CompletableFuture<RetrieveTeamMemberBookingProfileResponse> retrieveTeamMemberBo
## Example Usage

```java
String teamMemberId = "team_member_id0";
String teamMemberId = "team_member_id0";

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

```java
String bookingId = "booking_id4";
String bookingId = "booking_id4";

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

```java
String bookingId = "booking_id4";
UpdateBookingRequest body = new UpdateBookingRequest.Builder(
new Booking.Builder()
String bookingId = "booking_id4";
UpdateBookingRequest body = new UpdateBookingRequest.Builder(
new Booking.Builder()
.build()
)
)
.build();


bookingsApi.updateBookingAsync(bookingId, body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down Expand Up @@ -549,10 +549,10 @@ CompletableFuture<CancelBookingResponse> cancelBookingAsync(
## Example Usage

```java
String bookingId = "booking_id4";
CancelBookingRequest body = new CancelBookingRequest.Builder()
String bookingId = "booking_id4";
CancelBookingRequest body = new CancelBookingRequest.Builder()
.build();


bookingsApi.cancelBookingAsync(bookingId, body).thenAccept(result -> {
// TODO success callback handler
System.out.println(result);
Expand Down
Loading

0 comments on commit b4ee2bb

Please sign in to comment.