Skip to content

Commit 5da0ad2

Browse files
author
autobot
committed
Generated PR for Release: 25.0.1.20221019
1 parent f042844 commit 5da0ad2

Some content is hidden

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

52 files changed

+1506
-1210
lines changed

doc/api-exception.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ This is the base class for all exceptions that represent an error response from
88
| Name | Description |
99
| --- | --- |
1010
| `ApiException(String reason)` | Initialization constructor. |
11-
| `ApiException(String reason, HttpContext context)` | Initialization constructor. |
11+
| `ApiException(String reason,` [`HttpContext`](http-context.md) `context)` | Initialization constructor. |
1212

1313
## Methods
1414

1515
| Name | Description | Return Type |
1616
| --- | --- | --- |
1717
| `getResponseCode()` | The HTTP response code from the API request | `int` |
18-
| `getHeaders()` | The HTTP response body from the API request. | `Headers` |
18+
| `getHeaders()` | The HTTP response body from the API request. | [`Headers`](headers.md) |
1919
| `getErrors()` | A list of errors. | `List<Error>` |
2020
| `getData()` | Returns data about the steps that completed successfully before an error was raised. This field is currently only populated for the PaymentsApi.CreatePayment endpoint. | `Object` |
2121

doc/api/bank-accounts.md

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

7474
```java
75-
String v1BankAccountId = "v1_bank_account_id8";
75+
String v1BankAccountId = "v1_bank_account_id8";
7676

7777
bankAccountsApi.getBankAccountByV1IdAsync(v1BankAccountId).thenAccept(result -> {
7878
// TODO success callback handler
@@ -106,7 +106,7 @@ CompletableFuture<GetBankAccountResponse> getBankAccountAsync(
106106
## Example Usage
107107

108108
```java
109-
String bankAccountId = "bank_account_id0";
109+
String bankAccountId = "bank_account_id0";
110110

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

doc/api/bookings.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ CompletableFuture<CreateBookingResponse> createBookingAsync(
9595
```java
9696
Booking booking = new Booking.Builder()
9797
.build();
98+
9899
CreateBookingRequest body = new CreateBookingRequest.Builder(
99100
booking)
100101
.build();
@@ -133,14 +134,17 @@ CompletableFuture<SearchAvailabilityResponse> searchAvailabilityAsync(
133134
## Example Usage
134135

135136
```java
136-
TimeRange timeRange = new TimeRange.Builder()
137+
TimeRange startAtRange = new TimeRange.Builder()
137138
.build();
138-
SearchAvailabilityFilter searchAvailabilityFilter = new SearchAvailabilityFilter.Builder(
139+
140+
SearchAvailabilityFilter filter = new SearchAvailabilityFilter.Builder(
139141
startAtRange)
140142
.build();
141-
SearchAvailabilityQuery searchAvailabilityQuery = new SearchAvailabilityQuery.Builder(
143+
144+
SearchAvailabilityQuery query = new SearchAvailabilityQuery.Builder(
142145
filter)
143146
.build();
147+
144148
SearchAvailabilityRequest body = new SearchAvailabilityRequest.Builder(
145149
query)
146150
.build();
@@ -206,7 +210,7 @@ CompletableFuture<ListTeamMemberBookingProfilesResponse> listTeamMemberBookingPr
206210
## Example Usage
207211

208212
```java
209-
Boolean bookableOnly = false;
213+
Boolean bookableOnly = false;
210214

211215
bookingsApi.listTeamMemberBookingProfilesAsync(bookableOnly, null, null, null).thenAccept(result -> {
212216
// TODO success callback handler
@@ -239,7 +243,7 @@ CompletableFuture<RetrieveTeamMemberBookingProfileResponse> retrieveTeamMemberBo
239243
## Example Usage
240244

241245
```java
242-
String teamMemberId = "team_member_id0";
246+
String teamMemberId = "team_member_id0";
243247

244248
bookingsApi.retrieveTeamMemberBookingProfileAsync(teamMemberId).thenAccept(result -> {
245249
// TODO success callback handler
@@ -275,7 +279,7 @@ CompletableFuture<RetrieveBookingResponse> retrieveBookingAsync(
275279
## Example Usage
276280

277281
```java
278-
String bookingId = "booking_id4";
282+
String bookingId = "booking_id4";
279283

280284
bookingsApi.retrieveBookingAsync(bookingId).thenAccept(result -> {
281285
// TODO success callback handler
@@ -316,9 +320,10 @@ CompletableFuture<UpdateBookingResponse> updateBookingAsync(
316320
## Example Usage
317321

318322
```java
319-
String bookingId = "booking_id4";
323+
String bookingId = "booking_id4";
320324
Booking booking = new Booking.Builder()
321325
.build();
326+
322327
UpdateBookingRequest body = new UpdateBookingRequest.Builder(
323328
booking)
324329
.build();
@@ -362,7 +367,7 @@ CompletableFuture<CancelBookingResponse> cancelBookingAsync(
362367
## Example Usage
363368

364369
```java
365-
String bookingId = "booking_id4";
370+
String bookingId = "booking_id4";
366371
CancelBookingRequest body = new CancelBookingRequest.Builder()
367372
.build();
368373

doc/api/cards.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ CompletableFuture<ListCardsResponse> listCardsAsync(
4747
## Example Usage
4848

4949
```java
50-
Boolean includeDisabled = false;
50+
Boolean includeDisabled = false;
5151

5252
cardsApi.listCardsAsync(null, null, includeDisabled, null, null).thenAccept(result -> {
5353
// TODO success callback handler
@@ -80,20 +80,22 @@ CompletableFuture<CreateCardResponse> createCardAsync(
8080
## Example Usage
8181

8282
```java
83-
Address address = new Address.Builder()
84-
.addressLine1("500 Electric Ave")
85-
.addressLine2("Suite 600")
86-
.locality("New York")
87-
.administrativeDistrictLevel1("NY")
88-
.postalCode("10003")
89-
.country("US")
83+
Address billingAddress = new Address.Builder()
84+
.addressLine1("500 Electric Ave")
85+
.addressLine2("Suite 600")
86+
.locality("New York")
87+
.administrativeDistrictLevel1("NY")
88+
.postalCode("10003")
89+
.country("US")
9090
.build();
91+
9192
Card card = new Card.Builder()
92-
.cardholderName("Amelia Earhart")
93-
.billingAddress(cardBillingAddress)
94-
.customerId("VDKXEEKPJN48QDG3BGGFAK05P8")
95-
.referenceId("user-id-1")
93+
.cardholderName("Amelia Earhart")
94+
.billingAddress(billingAddress)
95+
.customerId("VDKXEEKPJN48QDG3BGGFAK05P8")
96+
.referenceId("user-id-1")
9697
.build();
98+
9799
CreateCardRequest body = new CreateCardRequest.Builder(
98100
"4935a656-a929-4792-b97c-8848be85c27c",
99101
"cnon:uIbfJXhXETSP197M3GB",
@@ -131,7 +133,7 @@ CompletableFuture<RetrieveCardResponse> retrieveCardAsync(
131133
## Example Usage
132134

133135
```java
134-
String cardId = "card_id4";
136+
String cardId = "card_id4";
135137

136138
cardsApi.retrieveCardAsync(cardId).thenAccept(result -> {
137139
// TODO success callback handler
@@ -165,7 +167,7 @@ CompletableFuture<DisableCardResponse> disableCardAsync(
165167
## Example Usage
166168

167169
```java
168-
String cardId = "card_id4";
170+
String cardId = "card_id4";
169171

170172
cardsApi.disableCardAsync(cardId).thenAccept(result -> {
171173
// TODO success callback handler

doc/api/cash-drawers.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ CompletableFuture<ListCashDrawerShiftsResponse> listCashDrawerShiftsAsync(
4848
## Example Usage
4949

5050
```java
51-
String locationId = "location_id4";
51+
String locationId = "location_id4";
5252

5353
cashDrawersApi.listCashDrawerShiftsAsync(locationId, null, null, null, null, null).thenAccept(result -> {
5454
// TODO success callback handler
@@ -84,8 +84,8 @@ CompletableFuture<RetrieveCashDrawerShiftResponse> retrieveCashDrawerShiftAsync(
8484
## Example Usage
8585

8686
```java
87-
String locationId = "location_id4";
88-
String shiftId = "shift_id0";
87+
String locationId = "location_id4";
88+
String shiftId = "shift_id0";
8989

9090
cashDrawersApi.retrieveCashDrawerShiftAsync(locationId, shiftId).thenAccept(result -> {
9191
// TODO success callback handler
@@ -124,8 +124,8 @@ CompletableFuture<ListCashDrawerShiftEventsResponse> listCashDrawerShiftEventsAs
124124
## Example Usage
125125

126126
```java
127-
String locationId = "location_id4";
128-
String shiftId = "shift_id0";
127+
String locationId = "location_id4";
128+
String shiftId = "shift_id0";
129129

130130
cashDrawersApi.listCashDrawerShiftEventsAsync(locationId, shiftId, null, null).thenAccept(result -> {
131131
// TODO success callback handler

0 commit comments

Comments
 (0)