Skip to content

Commit 666d645

Browse files
authored
Merge pull request #135 from square/release/38.0.0.20240821
Generated PR for Release: 38.0.0.20240821
2 parents eef03e3 + 9780c49 commit 666d645

Some content is hidden

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

61 files changed

+120
-368
lines changed

doc/api/apple-pay.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ body = {
4949
}
5050

5151
result = apple_pay_api.register_domain(body)
52-
print(result)
5352

5453
if result.is_success():
5554
print(result.body)

doc/api/bank-accounts.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
4242

4343
```python
4444
result = bank_accounts_api.list_bank_accounts()
45-
print(result)
4645

4746
if result.is_success():
4847
print(result.body)
@@ -76,7 +75,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
7675
v1_bank_account_id = 'v1_bank_account_id8'
7776

7877
result = bank_accounts_api.get_bank_account_by_v1_id(v1_bank_account_id)
79-
print(result)
8078

8179
if result.is_success():
8280
print(result.body)
@@ -111,7 +109,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
111109
bank_account_id = 'bank_account_id0'
112110

113111
result = bank_accounts_api.get_bank_account(bank_account_id)
114-
print(result)
115112

116113
if result.is_success():
117114
print(result.body)

doc/api/booking-custom-attributes.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
5151

5252
```python
5353
result = booking_custom_attributes_api.list_booking_custom_attribute_definitions()
54-
print(result)
5554

5655
if result.is_success():
5756
print(result.body)
@@ -93,7 +92,6 @@ body = {
9392
}
9493

9594
result = booking_custom_attributes_api.create_booking_custom_attribute_definition(body)
96-
print(result)
9795

9896
if result.is_success():
9997
print(result.body)
@@ -133,7 +131,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
133131
key = 'key0'
134132

135133
result = booking_custom_attributes_api.delete_booking_custom_attribute_definition(key)
136-
print(result)
137134

138135
if result.is_success():
139136
print(result.body)
@@ -172,7 +169,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
172169
key = 'key0'
173170

174171
result = booking_custom_attributes_api.retrieve_booking_custom_attribute_definition(key)
175-
print(result)
176172

177173
if result.is_success():
178174
print(result.body)
@@ -221,7 +217,6 @@ result = booking_custom_attributes_api.update_booking_custom_attribute_definitio
221217
key,
222218
body
223219
)
224-
print(result)
225220

226221
if result.is_success():
227222
print(result.body)
@@ -272,7 +267,6 @@ body = {
272267
}
273268

274269
result = booking_custom_attributes_api.bulk_delete_booking_custom_attributes(body)
275-
print(result)
276270

277271
if result.is_success():
278272
print(result.body)
@@ -323,7 +317,6 @@ body = {
323317
}
324318

325319
result = booking_custom_attributes_api.bulk_upsert_booking_custom_attributes(body)
326-
print(result)
327320

328321
if result.is_success():
329322
print(result.body)
@@ -371,7 +364,6 @@ result = booking_custom_attributes_api.list_booking_custom_attributes(
371364
booking_id,
372365
with_definitions=with_definitions
373366
)
374-
print(result)
375367

376368
if result.is_success():
377369
print(result.body)
@@ -418,7 +410,6 @@ result = booking_custom_attributes_api.delete_booking_custom_attribute(
418410
booking_id,
419411
key
420412
)
421-
print(result)
422413

423414
if result.is_success():
424415
print(result.body)
@@ -469,7 +460,6 @@ result = booking_custom_attributes_api.retrieve_booking_custom_attribute(
469460
key,
470461
with_definition=with_definition
471462
)
472-
print(result)
473463

474464
if result.is_success():
475465
print(result.body)
@@ -523,7 +513,6 @@ result = booking_custom_attributes_api.upsert_booking_custom_attribute(
523513
key,
524514
body
525515
)
526-
print(result)
527516

528517
if result.is_success():
529518
print(result.body)

doc/api/bookings.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
6363

6464
```python
6565
result = bookings_api.list_bookings()
66-
print(result)
6766

6867
if result.is_success():
6968
print(result.body)
@@ -113,7 +112,6 @@ body = {
113112
}
114113

115114
result = bookings_api.create_booking(body)
116-
print(result)
117115

118116
if result.is_success():
119117
print(result.body)
@@ -156,7 +154,6 @@ body = {
156154
}
157155

158156
result = bookings_api.search_availability(body)
159-
print(result)
160157

161158
if result.is_success():
162159
print(result.body)
@@ -199,7 +196,6 @@ body = {
199196
}
200197

201198
result = bookings_api.bulk_retrieve_bookings(body)
202-
print(result)
203199

204200
if result.is_success():
205201
print(result.body)
@@ -224,7 +220,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
224220

225221
```python
226222
result = bookings_api.retrieve_business_booking_profile()
227-
print(result)
228223

229224
if result.is_success():
230225
print(result.body)
@@ -258,7 +253,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
258253

259254
```python
260255
result = bookings_api.list_location_booking_profiles()
261-
print(result)
262256

263257
if result.is_success():
264258
print(result.body)
@@ -292,7 +286,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
292286
location_id = 'location_id4'
293287

294288
result = bookings_api.retrieve_location_booking_profile(location_id)
295-
print(result)
296289

297290
if result.is_success():
298291
print(result.body)
@@ -334,7 +327,6 @@ bookable_only = False
334327
result = bookings_api.list_team_member_booking_profiles(
335328
bookable_only=bookable_only
336329
)
337-
print(result)
338330

339331
if result.is_success():
340332
print(result.body)
@@ -374,7 +366,6 @@ body = {
374366
}
375367

376368
result = bookings_api.bulk_retrieve_team_member_booking_profiles(body)
377-
print(result)
378369

379370
if result.is_success():
380371
print(result.body)
@@ -408,7 +399,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
408399
team_member_id = 'team_member_id0'
409400

410401
result = bookings_api.retrieve_team_member_booking_profile(team_member_id)
411-
print(result)
412402

413403
if result.is_success():
414404
print(result.body)
@@ -445,7 +435,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
445435
booking_id = 'booking_id4'
446436

447437
result = bookings_api.retrieve_booking(booking_id)
448-
print(result)
449438

450439
if result.is_success():
451440
print(result.body)
@@ -494,7 +483,6 @@ result = bookings_api.update_booking(
494483
booking_id,
495484
body
496485
)
497-
print(result)
498486

499487
if result.is_success():
500488
print(result.body)
@@ -541,7 +529,6 @@ result = bookings_api.cancel_booking(
541529
booking_id,
542530
body
543531
)
544-
print(result)
545532

546533
if result.is_success():
547534
print(result.body)

doc/api/cards.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ include_disabled = False
5252
result = cards_api.list_cards(
5353
include_disabled=include_disabled
5454
)
55-
print(result)
5655

5756
if result.is_success():
5857
print(result.body)
@@ -102,7 +101,6 @@ body = {
102101
}
103102

104103
result = cards_api.create_card(body)
105-
print(result)
106104

107105
if result.is_success():
108106
print(result.body)
@@ -136,7 +134,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
136134
card_id = 'card_id4'
137135

138136
result = cards_api.retrieve_card(card_id)
139-
print(result)
140137

141138
if result.is_success():
142139
print(result.body)
@@ -171,7 +168,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
171168
card_id = 'card_id4'
172169

173170
result = cards_api.disable_card(card_id)
174-
print(result)
175171

176172
if result.is_success():
177173
print(result.body)

doc/api/cash-drawers.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ This method returns a `ApiResponse` instance. The `body` property of this instan
5151
location_id = 'location_id4'
5252

5353
result = cash_drawers_api.list_cash_drawer_shifts(location_id)
54-
print(result)
5554

5655
if result.is_success():
5756
print(result.body)
@@ -93,7 +92,6 @@ result = cash_drawers_api.retrieve_cash_drawer_shift(
9392
location_id,
9493
shift_id
9594
)
96-
print(result)
9795

9896
if result.is_success():
9997
print(result.body)
@@ -138,7 +136,6 @@ result = cash_drawers_api.list_cash_drawer_shift_events(
138136
location_id,
139137
shift_id
140138
)
141-
print(result)
142139

143140
if result.is_success():
144141
print(result.body)

0 commit comments

Comments
 (0)