Skip to content

Commit f6af260

Browse files
authored
Merge pull request #113 from square/release/27.0.0.20230517
2 parents f9d17fa + c61baa8 commit f6af260

File tree

681 files changed

+16502
-27342
lines changed

Some content is hidden

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

681 files changed

+16502
-27342
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ assignees: ''
77

88
---
99

10+
## **ATTENTION**
11+
This issue template is for **bugs** or **documentation** errors in this SDK Repo. Please direct all technical support questions, feature requests, API-related issues, and general discussions to our Square-supported developer channels. For public support, [join us in our BuildWithSquare Slack](https://squ.re/slack) or [post in our Developer Forums](https://developer.squareup.com/forums). For private support, [contact our Developer Success Engineers](https://squareup.com/help/us/en/contact?panel=BF53A9C8EF68) directly.
12+
1013
**Describe the bug**
1114
A clear and concise description of what the bug is.
1215

@@ -27,4 +30,4 @@ If applicable, add screenshots to help explain the bug.
2730
For example: 17.2.x
2831

2932
**Additional context**
30-
Add any other context about the problem here.
33+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Square Developer Forums
4+
url: https://developer.squareup.com/forums
5+
about: Public discussion threads for technical support, feature requests, api discussion, and all things related to square development.
6+
- name: BuildWithSquare Slack Channel
7+
url: https://squ.re/slack
8+
about: Community slack channel for real time support and conversations about building with square.
9+
- name: Developer Support
10+
url: https://squareup.com/help/us/en/contact?panel=BF53A9C8EF68
11+
about: Private support directly with Square Developer Success Engineers.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "square/square",
33
"description": "Use Square APIs to manage and run business including payment, customer, product, inventory, and employee management.",
4-
"version": "26.0.0.20230419",
4+
"version": "27.0.0.20230517",
55
"type": "library",
66
"keywords": [
77
"Square",
@@ -24,7 +24,7 @@
2424
"ext-json": "*",
2525
"apimatic/unirest-php": "^4.0.0",
2626
"apimatic/core-interfaces": "~0.1.0",
27-
"apimatic/core": "~0.2.0"
27+
"apimatic/core": "~0.3.0"
2828
},
2929
"require-dev": {
3030
"squizlabs/php_codesniffer": "^3.5",

doc/apis/apple-pay.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function registerDomain(RegisterDomainRequest $body): ApiResponse
3535

3636
## Response Type
3737

38-
[`RegisterDomainResponse`](../../doc/models/register-domain-response.md)
38+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`RegisterDomainResponse`](../../doc/models/register-domain-response.md).
3939

4040
## Example Usage
4141

doc/apis/bank-accounts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function listBankAccounts(?string $cursor = null, ?int $limit = null, ?string $l
3333

3434
## Response Type
3535

36-
[`ListBankAccountsResponse`](../../doc/models/list-bank-accounts-response.md)
36+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`ListBankAccountsResponse`](../../doc/models/list-bank-accounts-response.md).
3737

3838
## Example Usage
3939

@@ -68,7 +68,7 @@ function getBankAccountByV1Id(string $v1BankAccountId): ApiResponse
6868

6969
## Response Type
7070

71-
[`GetBankAccountByV1IdResponse`](../../doc/models/get-bank-account-by-v1-id-response.md)
71+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`GetBankAccountByV1IdResponse`](../../doc/models/get-bank-account-by-v1-id-response.md).
7272

7373
## Example Usage
7474

@@ -106,7 +106,7 @@ function getBankAccount(string $bankAccountId): ApiResponse
106106

107107
## Response Type
108108

109-
[`GetBankAccountResponse`](../../doc/models/get-bank-account-response.md)
109+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`GetBankAccountResponse`](../../doc/models/get-bank-account-response.md).
110110

111111
## Example Usage
112112

doc/apis/booking-custom-attributes.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function listBookingCustomAttributeDefinitions(?int $limit = null, ?string $curs
4343

4444
## Response Type
4545

46-
[`ListBookingCustomAttributeDefinitionsResponse`](../../doc/models/list-booking-custom-attribute-definitions-response.md)
46+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`ListBookingCustomAttributeDefinitionsResponse`](../../doc/models/list-booking-custom-attribute-definitions-response.md).
4747

4848
## Example Usage
4949

@@ -86,7 +86,7 @@ function createBookingCustomAttributeDefinition(
8686

8787
## Response Type
8888

89-
[`CreateBookingCustomAttributeDefinitionResponse`](../../doc/models/create-booking-custom-attribute-definition-response.md)
89+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`CreateBookingCustomAttributeDefinitionResponse`](../../doc/models/create-booking-custom-attribute-definition-response.md).
9090

9191
## Example Usage
9292

@@ -131,7 +131,7 @@ function deleteBookingCustomAttributeDefinition(string $key): ApiResponse
131131

132132
## Response Type
133133

134-
[`DeleteBookingCustomAttributeDefinitionResponse`](../../doc/models/delete-booking-custom-attribute-definition-response.md)
134+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`DeleteBookingCustomAttributeDefinitionResponse`](../../doc/models/delete-booking-custom-attribute-definition-response.md).
135135

136136
## Example Usage
137137

@@ -172,7 +172,7 @@ function retrieveBookingCustomAttributeDefinition(string $key, ?int $version = n
172172

173173
## Response Type
174174

175-
[`RetrieveBookingCustomAttributeDefinitionResponse`](../../doc/models/retrieve-booking-custom-attribute-definition-response.md)
175+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`RetrieveBookingCustomAttributeDefinitionResponse`](../../doc/models/retrieve-booking-custom-attribute-definition-response.md).
176176

177177
## Example Usage
178178

@@ -219,7 +219,7 @@ function updateBookingCustomAttributeDefinition(
219219

220220
## Response Type
221221

222-
[`UpdateBookingCustomAttributeDefinitionResponse`](../../doc/models/update-booking-custom-attribute-definition-response.md)
222+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`UpdateBookingCustomAttributeDefinitionResponse`](../../doc/models/update-booking-custom-attribute-definition-response.md).
223223

224224
## Example Usage
225225

@@ -269,7 +269,7 @@ function bulkDeleteBookingCustomAttributes(BulkDeleteBookingCustomAttributesRequ
269269

270270
## Response Type
271271

272-
[`BulkDeleteBookingCustomAttributesResponse`](../../doc/models/bulk-delete-booking-custom-attributes-response.md)
272+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`BulkDeleteBookingCustomAttributesResponse`](../../doc/models/bulk-delete-booking-custom-attributes-response.md).
273273

274274
## Example Usage
275275

@@ -323,7 +323,7 @@ function bulkUpsertBookingCustomAttributes(BulkUpsertBookingCustomAttributesRequ
323323

324324
## Response Type
325325

326-
[`BulkUpsertBookingCustomAttributesResponse`](../../doc/models/bulk-upsert-booking-custom-attributes-response.md)
326+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`BulkUpsertBookingCustomAttributesResponse`](../../doc/models/bulk-upsert-booking-custom-attributes-response.md).
327327

328328
## Example Usage
329329

@@ -382,7 +382,7 @@ function listBookingCustomAttributes(
382382

383383
## Response Type
384384

385-
[`ListBookingCustomAttributesResponse`](../../doc/models/list-booking-custom-attributes-response.md)
385+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`ListBookingCustomAttributesResponse`](../../doc/models/list-booking-custom-attributes-response.md).
386386

387387
## Example Usage
388388

@@ -431,7 +431,7 @@ function deleteBookingCustomAttribute(string $bookingId, string $key): ApiRespon
431431

432432
## Response Type
433433

434-
[`DeleteBookingCustomAttributeResponse`](../../doc/models/delete-booking-custom-attribute-response.md)
434+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`DeleteBookingCustomAttributeResponse`](../../doc/models/delete-booking-custom-attribute-response.md).
435435

436436
## Example Usage
437437

@@ -484,7 +484,7 @@ function retrieveBookingCustomAttribute(
484484

485485
## Response Type
486486

487-
[`RetrieveBookingCustomAttributeResponse`](../../doc/models/retrieve-booking-custom-attribute-response.md)
487+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`RetrieveBookingCustomAttributeResponse`](../../doc/models/retrieve-booking-custom-attribute-response.md).
488488

489489
## Example Usage
490490

@@ -541,7 +541,7 @@ function upsertBookingCustomAttribute(
541541

542542
## Response Type
543543

544-
[`UpsertBookingCustomAttributeResponse`](../../doc/models/upsert-booking-custom-attribute-response.md)
544+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`UpsertBookingCustomAttributeResponse`](../../doc/models/upsert-booking-custom-attribute-response.md).
545545

546546
## Example Usage
547547

doc/apis/bookings.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function listBookings(
5252

5353
## Response Type
5454

55-
[`ListBookingsResponse`](../../doc/models/list-bookings-response.md)
55+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`ListBookingsResponse`](../../doc/models/list-bookings-response.md).
5656

5757
## Example Usage
5858

@@ -101,7 +101,7 @@ function createBooking(CreateBookingRequest $body): ApiResponse
101101

102102
## Response Type
103103

104-
[`CreateBookingResponse`](../../doc/models/create-booking-response.md)
104+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`CreateBookingResponse`](../../doc/models/create-booking-response.md).
105105

106106
## Example Usage
107107

@@ -143,7 +143,7 @@ function searchAvailability(SearchAvailabilityRequest $body): ApiResponse
143143

144144
## Response Type
145145

146-
[`SearchAvailabilityResponse`](../../doc/models/search-availability-response.md)
146+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`SearchAvailabilityResponse`](../../doc/models/search-availability-response.md).
147147

148148
## Example Usage
149149

@@ -180,7 +180,7 @@ function retrieveBusinessBookingProfile(): ApiResponse
180180

181181
## Response Type
182182

183-
[`RetrieveBusinessBookingProfileResponse`](../../doc/models/retrieve-business-booking-profile-response.md)
183+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`RetrieveBusinessBookingProfileResponse`](../../doc/models/retrieve-business-booking-profile-response.md).
184184

185185
## Example Usage
186186

@@ -223,7 +223,7 @@ function listTeamMemberBookingProfiles(
223223

224224
## Response Type
225225

226-
[`ListTeamMemberBookingProfilesResponse`](../../doc/models/list-team-member-booking-profiles-response.md)
226+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`ListTeamMemberBookingProfilesResponse`](../../doc/models/list-team-member-booking-profiles-response.md).
227227

228228
## Example Usage
229229

@@ -260,7 +260,7 @@ function retrieveTeamMemberBookingProfile(string $teamMemberId): ApiResponse
260260

261261
## Response Type
262262

263-
[`RetrieveTeamMemberBookingProfileResponse`](../../doc/models/retrieve-team-member-booking-profile-response.md)
263+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`RetrieveTeamMemberBookingProfileResponse`](../../doc/models/retrieve-team-member-booking-profile-response.md).
264264

265265
## Example Usage
266266

@@ -300,7 +300,7 @@ function retrieveBooking(string $bookingId): ApiResponse
300300

301301
## Response Type
302302

303-
[`RetrieveBookingResponse`](../../doc/models/retrieve-booking-response.md)
303+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`RetrieveBookingResponse`](../../doc/models/retrieve-booking-response.md).
304304

305305
## Example Usage
306306

@@ -344,7 +344,7 @@ function updateBooking(string $bookingId, UpdateBookingRequest $body): ApiRespon
344344

345345
## Response Type
346346

347-
[`UpdateBookingResponse`](../../doc/models/update-booking-response.md)
347+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`UpdateBookingResponse`](../../doc/models/update-booking-response.md).
348348

349349
## Example Usage
350350

@@ -395,7 +395,7 @@ function cancelBooking(string $bookingId, CancelBookingRequest $body): ApiRespon
395395

396396
## Response Type
397397

398-
[`CancelBookingResponse`](../../doc/models/cancel-booking-response.md)
398+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`CancelBookingResponse`](../../doc/models/cancel-booking-response.md).
399399

400400
## Example Usage
401401

doc/apis/cards.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function listCards(
4343

4444
## Response Type
4545

46-
[`ListCardsResponse`](../../doc/models/list-cards-response.md)
46+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`ListCardsResponse`](../../doc/models/list-cards-response.md).
4747

4848
## Example Usage
4949

@@ -80,7 +80,7 @@ function createCard(CreateCardRequest $body): ApiResponse
8080

8181
## Response Type
8282

83-
[`CreateCardResponse`](../../doc/models/create-card-response.md)
83+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`CreateCardResponse`](../../doc/models/create-card-response.md).
8484

8585
## Example Usage
8686

@@ -135,7 +135,7 @@ function retrieveCard(string $cardId): ApiResponse
135135

136136
## Response Type
137137

138-
[`RetrieveCardResponse`](../../doc/models/retrieve-card-response.md)
138+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`RetrieveCardResponse`](../../doc/models/retrieve-card-response.md).
139139

140140
## Example Usage
141141

@@ -173,7 +173,7 @@ function disableCard(string $cardId): ApiResponse
173173

174174
## Response Type
175175

176-
[`DisableCardResponse`](../../doc/models/disable-card-response.md)
176+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`DisableCardResponse`](../../doc/models/disable-card-response.md).
177177

178178
## Example Usage
179179

doc/apis/cash-drawers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function listCashDrawerShifts(
4444

4545
## Response Type
4646

47-
[`ListCashDrawerShiftsResponse`](../../doc/models/list-cash-drawer-shifts-response.md)
47+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`ListCashDrawerShiftsResponse`](../../doc/models/list-cash-drawer-shifts-response.md).
4848

4949
## Example Usage
5050

@@ -83,7 +83,7 @@ function retrieveCashDrawerShift(string $locationId, string $shiftId): ApiRespon
8383

8484
## Response Type
8585

86-
[`RetrieveCashDrawerShiftResponse`](../../doc/models/retrieve-cash-drawer-shift-response.md)
86+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`RetrieveCashDrawerShiftResponse`](../../doc/models/retrieve-cash-drawer-shift-response.md).
8787

8888
## Example Usage
8989

@@ -133,7 +133,7 @@ function listCashDrawerShiftEvents(
133133

134134
## Response Type
135135

136-
[`ListCashDrawerShiftEventsResponse`](../../doc/models/list-cash-drawer-shift-events-response.md)
136+
This method returns a `Square\Utils\ApiResponse` instance. The `getResult()` method on this instance returns the response data which is of type [`ListCashDrawerShiftEventsResponse`](../../doc/models/list-cash-drawer-shift-events-response.md).
137137

138138
## Example Usage
139139

0 commit comments

Comments
 (0)