square.rb 9.1.1.20210317 → 10.0.0.20210421

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5daa9230376e0d7e260342e846b5118b92e12aa89fe226ad0df404c5aed13dfa
4
- data.tar.gz: c0ba7b58ac6d2ae2d511344c66bdc4b670aef159e4a20045bfd8d8b160e00649
3
+ metadata.gz: 87a7fd1bf8e3ac239bdcbf9ca199c6df913a50c7b31d2b0daa46dc2b7b8556f8
4
+ data.tar.gz: d38853a5ff3857cdba57f8318082205a75d685147beba0fd0d655e8e058e78cb
5
5
  SHA512:
6
- metadata.gz: f78aa71da656d92d0aee4afa1af82d7c783bdf37bead5ec7a8f007ea84131e6457c3d413d4cec15cee4b2f15de7a7afd399c32d8c8a331b82ec5902a610c823d
7
- data.tar.gz: e9d14b674b48660e2b499e07e730fe818447aedad773fe063d2a40b28286a7f4296d93efd0a9e310dae4c56032c7f377809555c993979207e28e544466fd5503
6
+ metadata.gz: ced95e4b69aa0d95e8ee5f1aa53485da51f9b39745058b72cbb974261a2d09eef992ef182fd90c854df8edc8399c258a4f1ed62dd63968817f4b4aba5c6b0989
7
+ data.tar.gz: 6fd69a6ba99ec2dee2b5ba51456c4c99d91f7b299729cecd1ed278ce4770aae328234147ce8b4de6c9fc954b454be5442c1dc0d66e4d2e84c167ce28b47bcef0
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Square Ruby SDK
4
4
 
5
- [![Travis status](https://travis-ci.org/square/square-ruby-sdk.svg?branch=master)](https://travis-ci.org/square/square-ruby-sdk)
5
+ [![Build](https://github.com/square/square-ruby-sdk/actions/workflows/ruby.yml/badge.svg)](https://github.com/square/square-ruby-sdk/actions/workflows/ruby.yml)
6
6
  [![Gem version](https://badge.fury.io/rb/square.rb.svg?new)](https://badge.fury.io/rb/square.rb)
7
7
  [![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0)
8
8
 
@@ -5,8 +5,8 @@ module Square
5
5
  super(config, http_call_back: http_call_back)
6
6
  end
7
7
 
8
- # Returns a list of [BankAccount](#type-bankaccount) objects linked to a
9
- # Square account.
8
+ # Returns a list of [BankAccount]($m/BankAccount) objects linked to a Square
9
+ # account.
10
10
  # @param [String] cursor Optional parameter: The pagination cursor returned
11
11
  # by a previous call to this endpoint. Use it in the next `ListBankAccounts`
12
12
  # request to retrieve the next set of results. See the
@@ -55,8 +55,8 @@ module Square
55
55
  )
56
56
  end
57
57
 
58
- # Returns details of a [BankAccount](#type-bankaccount) identified by V1
59
- # bank account ID.
58
+ # Returns details of a [BankAccount]($m/BankAccount) identified by V1 bank
59
+ # account ID.
60
60
  # @param [String] v1_bank_account_id Required parameter: Connect V1 ID of
61
61
  # the desired `BankAccount`. For more information, see [Retrieve a bank
62
62
  # account by using an ID issued by V1 Bank Accounts
@@ -94,7 +94,7 @@ module Square
94
94
  )
95
95
  end
96
96
 
97
- # Returns details of a [BankAccount](#type-bankaccount)
97
+ # Returns details of a [BankAccount]($m/BankAccount)
98
98
  # linked to a Square account.
99
99
  # @param [String] bank_account_id Required parameter: Square-issued ID of
100
100
  # the desired `BankAccount`.
@@ -8,7 +8,7 @@ module Square
8
8
  @http_call_back = http_call_back
9
9
 
10
10
  @global_headers = {
11
- 'user-agent' => 'Square-Ruby-SDK/9.1.1.20210317',
11
+ 'user-agent' => 'Square-Ruby-SDK/10.0.0.20210421',
12
12
  'Square-Version' => config.square_version
13
13
  }
14
14
  end
@@ -188,8 +188,7 @@ module Square
188
188
 
189
189
  # Retrieves a booking.
190
190
  # @param [String] booking_id Required parameter: The ID of the
191
- # [Booking](#type-booking) object representing the to-be-retrieved
192
- # booking.
191
+ # [Booking]($m/Booking) object representing the to-be-retrieved booking.
193
192
  # @return [RetrieveBookingResponse Hash] response from the API call
194
193
  def retrieve_booking(booking_id:)
195
194
  # Prepare query url.
@@ -224,7 +223,7 @@ module Square
224
223
 
225
224
  # Updates a booking.
226
225
  # @param [String] booking_id Required parameter: The ID of the
227
- # [Booking](#type-booking) object representing the to-be-updated booking.
226
+ # [Booking]($m/Booking) object representing the to-be-updated booking.
228
227
  # @param [UpdateBookingRequest] body Required parameter: An object
229
228
  # containing the fields to POST for the request. See the corresponding
230
229
  # object definition for field details.
@@ -265,8 +264,7 @@ module Square
265
264
 
266
265
  # Cancels an existing booking.
267
266
  # @param [String] booking_id Required parameter: The ID of the
268
- # [Booking](#type-booking) object representing the to-be-cancelled
269
- # booking.
267
+ # [Booking]($m/Booking) object representing the to-be-cancelled booking.
270
268
  # @param [CancelBookingRequest] body Required parameter: An object
271
269
  # containing the fields to POST for the request. See the corresponding
272
270
  # object definition for field details.
@@ -63,8 +63,8 @@ module Square
63
63
  end
64
64
 
65
65
  # Provides the summary details for a single cash drawer shift. See
66
- # [ListCashDrawerShiftEvents](#endpoint-CashDrawers-ListCashDrawerShiftEvent
67
- # s) for a list of cash drawer shift events.
66
+ # [ListCashDrawerShiftEvents]($e/CashDrawers/ListCashDrawerShiftEvents) for
67
+ # a list of cash drawer shift events.
68
68
  # @param [String] location_id Required parameter: The ID of the location to
69
69
  # retrieve cash drawer shifts from.
70
70
  # @param [String] shift_id Required parameter: The shift ID.
@@ -5,12 +5,12 @@ module Square
5
5
  super(config, http_call_back: http_call_back)
6
6
  end
7
7
 
8
- # Deletes a set of [CatalogItem](#type-catalogitem)s based on the
8
+ # Deletes a set of [CatalogItem]($m/CatalogItem)s based on the
9
9
  # provided list of target IDs and returns a set of successfully deleted IDs
10
10
  # in
11
11
  # the response. Deletion is a cascading event such that all children of the
12
12
  # targeted object are also deleted. For example, deleting a CatalogItem will
13
- # also delete all of its [CatalogItemVariation](#type-catalogitemvariation)
13
+ # also delete all of its [CatalogItemVariation]($m/CatalogItemVariation)
14
14
  # children.
15
15
  # `BatchDeleteCatalogObjects` succeeds even if only a portion of the
16
16
  # targeted
@@ -50,13 +50,11 @@ module Square
50
50
  end
51
51
 
52
52
  # Returns a set of objects based on the provided ID.
53
- # Each [CatalogItem](#type-catalogitem) returned in the set includes all of
54
- # its
53
+ # Each [CatalogItem]($m/CatalogItem) returned in the set includes all of its
55
54
  # child information including: all of its
56
- # [CatalogItemVariation](#type-catalogitemvariation) objects, references to
57
- # its [CatalogModifierList](#type-catalogmodifierlist) objects, and the ids
58
- # of
59
- # any [CatalogTax](#type-catalogtax) objects that apply to it.
55
+ # [CatalogItemVariation]($m/CatalogItemVariation) objects, references to
56
+ # its [CatalogModifierList]($m/CatalogModifierList) objects, and the ids of
57
+ # any [CatalogTax]($m/CatalogTax) objects that apply to it.
60
58
  # @param [BatchRetrieveCatalogObjectsRequest] body Required parameter: An
61
59
  # object containing the fields to POST for the request. See the
62
60
  # corresponding object definition for field details.
@@ -138,8 +136,8 @@ module Square
138
136
  end
139
137
 
140
138
  # Uploads an image file to be represented by a
141
- # [CatalogImage](#type-catalogimage) object linked to an existing
142
- # [CatalogObject](#type-catalogobject) instance. A call to this endpoint can
139
+ # [CatalogImage]($m/CatalogImage) object linked to an existing
140
+ # [CatalogObject]($m/CatalogObject) instance. A call to this endpoint can
143
141
  # upload an image, link an image to
144
142
  # a catalog object, or do both.
145
143
  # This `CreateCatalogImage` endpoint accepts HTTP multipart/form-data
@@ -228,19 +226,19 @@ module Square
228
226
  )
229
227
  end
230
228
 
231
- # Returns a list of [CatalogObject](#type-catalogobject)s that includes
229
+ # Returns a list of [CatalogObject]($m/CatalogObject)s that includes
232
230
  # all objects of a set of desired types (for example, all
233
- # [CatalogItem](#type-catalogitem)
234
- # and [CatalogTax](#type-catalogtax) objects) in the catalog. The `types`
231
+ # [CatalogItem]($m/CatalogItem)
232
+ # and [CatalogTax]($m/CatalogTax) objects) in the catalog. The `types`
235
233
  # parameter
236
234
  # is specified as a comma-separated list of valid
237
- # [CatalogObject](#type-catalogobject) types:
235
+ # [CatalogObject]($m/CatalogObject) types:
238
236
  # `ITEM`, `ITEM_VARIATION`, `MODIFIER`, `MODIFIER_LIST`, `CATEGORY`,
239
237
  # `DISCOUNT`, `TAX`, `IMAGE`.
240
238
  # __Important:__ ListCatalog does not return deleted catalog items. To
241
239
  # retrieve
242
240
  # deleted catalog items, use
243
- # [SearchCatalogObjects](#endpoint-Catalog-SearchCatalogObjects)
241
+ # [SearchCatalogObjects]($e/Catalog/SearchCatalogObjects)
244
242
  # and set the `include_deleted_objects` attribute value to `true`.
245
243
  # @param [String] cursor Optional parameter: The pagination cursor returned
246
244
  # in the previous response. Leave unset for an initial request. See
@@ -254,7 +252,7 @@ module Square
254
252
  # @param [Long] catalog_version Optional parameter: The specific version of
255
253
  # the catalog objects to be included in the response. This allows you to
256
254
  # retrieve historical versions of objects. The specified version value is
257
- # matched against the [CatalogObject](#type-catalogobject)s' `version`
255
+ # matched against the [CatalogObject]($m/CatalogObject)s' `version`
258
256
  # attribute.
259
257
  # @return [ListCatalogResponse Hash] response from the API call
260
258
  def list_catalog(cursor: nil,
@@ -292,7 +290,7 @@ module Square
292
290
  )
293
291
  end
294
292
 
295
- # Creates or updates the target [CatalogObject](#type-catalogobject).
293
+ # Creates or updates the target [CatalogObject]($m/CatalogObject).
296
294
  # @param [UpsertCatalogObjectRequest] body Required parameter: An object
297
295
  # containing the fields to POST for the request. See the corresponding
298
296
  # object definition for field details.
@@ -326,14 +324,14 @@ module Square
326
324
  )
327
325
  end
328
326
 
329
- # Deletes a single [CatalogObject](#type-catalogobject) based on the
327
+ # Deletes a single [CatalogObject]($m/CatalogObject) based on the
330
328
  # provided ID and returns the set of successfully deleted IDs in the
331
329
  # response.
332
330
  # Deletion is a cascading event such that all children of the targeted
333
331
  # object
334
- # are also deleted. For example, deleting a [CatalogItem](#type-catalogitem)
332
+ # are also deleted. For example, deleting a [CatalogItem]($m/CatalogItem)
335
333
  # will also delete all of its
336
- # [CatalogItemVariation](#type-catalogitemvariation) children.
334
+ # [CatalogItemVariation]($m/CatalogItemVariation) children.
337
335
  # @param [String] object_id Required parameter: The ID of the catalog object
338
336
  # to be deleted. When an object is deleted, other objects in the graph that
339
337
  # depend on that object will be deleted as well (for example, deleting a
@@ -370,14 +368,13 @@ module Square
370
368
  )
371
369
  end
372
370
 
373
- # Returns a single [CatalogItem](#type-catalogitem) as a
374
- # [CatalogObject](#type-catalogobject) based on the provided ID. The
375
- # returned
376
- # object includes all of the relevant [CatalogItem](#type-catalogitem)
377
- # information including: [CatalogItemVariation](#type-catalogitemvariation)
371
+ # Returns a single [CatalogItem]($m/CatalogItem) as a
372
+ # [CatalogObject]($m/CatalogObject) based on the provided ID. The returned
373
+ # object includes all of the relevant [CatalogItem]($m/CatalogItem)
374
+ # information including: [CatalogItemVariation]($m/CatalogItemVariation)
378
375
  # children, references to its
379
- # [CatalogModifierList](#type-catalogmodifierlist) objects, and the ids of
380
- # any [CatalogTax](#type-catalogtax) objects that apply to it.
376
+ # [CatalogModifierList]($m/CatalogModifierList) objects, and the ids of
377
+ # any [CatalogTax]($m/CatalogTax) objects that apply to it.
381
378
  # @param [String] object_id Required parameter: The object ID of any type of
382
379
  # catalog objects to be retrieved.
383
380
  # @param [Boolean] include_related_objects Optional parameter: If `true`,
@@ -392,8 +389,7 @@ module Square
392
389
  # @param [Long] catalog_version Optional parameter: Requests objects as of a
393
390
  # specific version of the catalog. This allows you to retrieve historical
394
391
  # versions of objects. The value to retrieve a specific version of an object
395
- # can be found in the version field of
396
- # [CatalogObject](#type-catalogobject)s.
392
+ # can be found in the version field of [CatalogObject]($m/CatalogObject)s.
397
393
  # @return [RetrieveCatalogObjectResponse Hash] response from the API call
398
394
  def retrieve_catalog_object(object_id:,
399
395
  include_related_objects: false,
@@ -433,12 +429,12 @@ module Square
433
429
  )
434
430
  end
435
431
 
436
- # Searches for [CatalogObject](#type-CatalogObject) of any type by matching
432
+ # Searches for [CatalogObject]($m/CatalogObject) of any type by matching
437
433
  # supported search attribute values,
438
434
  # excluding custom attribute values on items or item variations, against one
439
435
  # or more of the specified query expressions.
440
436
  # This (`SearchCatalogObjects`) endpoint differs from the
441
- # [SearchCatalogItems](#endpoint-Catalog-SearchCatalogItems)
437
+ # [SearchCatalogItems]($e/Catalog/SearchCatalogItems)
442
438
  # endpoint in the following aspects:
443
439
  # - `SearchCatalogItems` can only search for items or item variations,
444
440
  # whereas `SearchCatalogObjects` can search for any type of catalog objects.
@@ -488,7 +484,7 @@ module Square
488
484
  # custom attribute values, against one or more of the specified query
489
485
  # expressions.
490
486
  # This (`SearchCatalogItems`) endpoint differs from the
491
- # [SearchCatalogObjects](#endpoint-Catalog-SearchCatalogObjects)
487
+ # [SearchCatalogObjects]($e/Catalog/SearchCatalogObjects)
492
488
  # endpoint in the following aspects:
493
489
  # - `SearchCatalogItems` can only search for items or item variations,
494
490
  # whereas `SearchCatalogObjects` can search for any type of catalog objects.
@@ -533,8 +529,8 @@ module Square
533
529
  )
534
530
  end
535
531
 
536
- # Updates the [CatalogModifierList](#type-catalogmodifierlist) objects
537
- # that apply to the targeted [CatalogItem](#type-catalogitem) without having
532
+ # Updates the [CatalogModifierList]($m/CatalogModifierList) objects
533
+ # that apply to the targeted [CatalogItem]($m/CatalogItem) without having
538
534
  # to perform an upsert on the entire item.
539
535
  # @param [UpdateItemModifierListsRequest] body Required parameter: An object
540
536
  # containing the fields to POST for the request. See the corresponding
@@ -569,8 +565,8 @@ module Square
569
565
  )
570
566
  end
571
567
 
572
- # Updates the [CatalogTax](#type-catalogtax) objects that apply to the
573
- # targeted [CatalogItem](#type-catalogitem) without having to perform an
568
+ # Updates the [CatalogTax]($m/CatalogTax) objects that apply to the
569
+ # targeted [CatalogItem]($m/CatalogItem) without having to perform an
574
570
  # upsert on the entire item.
575
571
  # @param [UpdateItemTaxesRequest] body Required parameter: An object
576
572
  # containing the fields to POST for the request. See the corresponding
@@ -7,10 +7,10 @@ module Square
7
7
 
8
8
  # Retrieves the list of customer groups of a business.
9
9
  # @param [String] cursor Optional parameter: A pagination cursor returned by
10
- # a previous call to this endpoint. Provide this to retrieve the next set of
11
- # results for your original query. See the [Pagination
12
- # guide](https://developer.squareup.com/docs/working-with-apis/pagination)
13
- # for more information.
10
+ # a previous call to this endpoint. Provide this cursor to retrieve the next
11
+ # set of results for your original query. For more information, see
12
+ # [Pagination](https://developer.squareup.com/docs/working-with-apis/paginat
13
+ # ion).
14
14
  # @return [ListCustomerGroupsResponse Hash] response from the API call
15
15
  def list_customer_groups(cursor: nil)
16
16
  # Prepare query url.
@@ -7,10 +7,10 @@ module Square
7
7
 
8
8
  # Retrieves the list of customer segments of a business.
9
9
  # @param [String] cursor Optional parameter: A pagination cursor returned by
10
- # previous calls to __ListCustomerSegments__. Used to retrieve the next set
11
- # of query results. See the [Pagination
12
- # guide](https://developer.squareup.com/docs/working-with-apis/pagination)
13
- # for more information.
10
+ # previous calls to `ListCustomerSegments`. This cursor is used to retrieve
11
+ # the next set of query results. For more information, see
12
+ # [Pagination](https://developer.squareup.com/docs/working-with-apis/paginat
13
+ # ion).
14
14
  # @return [ListCustomerSegmentsResponse Hash] response from the API call
15
15
  def list_customer_segments(cursor: nil)
16
16
  # Prepare query url.
@@ -13,14 +13,14 @@ module Square
13
13
  # profiles can take closer to one minute or longer, especially during
14
14
  # network incidents and outages.
15
15
  # @param [String] cursor Optional parameter: A pagination cursor returned by
16
- # a previous call to this endpoint. Provide this to retrieve the next set of
17
- # results for your original query. See the [Pagination
18
- # guide](https://developer.squareup.com/docs/working-with-apis/pagination)
19
- # for more information.
16
+ # a previous call to this endpoint. Provide this cursor to retrieve the next
17
+ # set of results for your original query. For more information, see
18
+ # [Pagination](https://developer.squareup.com/docs/working-with-apis/paginat
19
+ # ion).
20
20
  # @param [CustomerSortField] sort_field Optional parameter: Indicates how
21
- # Customers should be sorted. Default: `DEFAULT`.
21
+ # customers should be sorted. Default: `DEFAULT`.
22
22
  # @param [SortOrder] sort_order Optional parameter: Indicates whether
23
- # Customers should be sorted in ascending (`ASC`) or descending (`DESC`)
23
+ # customers should be sorted in ascending (`ASC`) or descending (`DESC`)
24
24
  # order. Default: `ASC`.
25
25
  # @return [ListCustomersResponse Hash] response from the API call
26
26
  def list_customers(cursor: nil,
@@ -60,8 +60,8 @@ module Square
60
60
 
61
61
  # Creates a new customer for a business, which can have associated cards on
62
62
  # file.
63
- # You must provide __at least one__ of the following values in your request
64
- # to this
63
+ # You must provide at least one of the following values in your request to
64
+ # this
65
65
  # endpoint:
66
66
  # - `given_name`
67
67
  # - `family_name`
@@ -145,15 +145,27 @@ module Square
145
145
  )
146
146
  end
147
147
 
148
- # Deletes a customer from a business, along with any linked cards on file.
149
- # When two profiles
150
- # are merged into a single profile, that profile is assigned a new
151
- # `customer_id`. You must use the
152
- # new `customer_id` to delete merged profiles.
148
+ # Deletes a customer profile from a business, including any linked cards on
149
+ # file.
150
+ # As a best practice, you should include the `version` field in the request
151
+ # to enable [optimistic
152
+ # concurrency](https://developer.squareup.com/docs/working-with-apis/optimis
153
+ # tic-concurrency) control. The value must be set to the current version of
154
+ # the customer profile.
155
+ # To delete a customer profile that was created by merging existing
156
+ # profiles, you must use the ID of the newly created profile.
153
157
  # @param [String] customer_id Required parameter: The ID of the customer to
154
158
  # delete.
159
+ # @param [Long] version Optional parameter: The current version of the
160
+ # customer profile. As a best practice, you should include this parameter
161
+ # to enable [optimistic
162
+ # concurrency](https://developer.squareup.com/docs/working-with-apis/optimis
163
+ # tic-concurrency) control. For more information, see [Delete a customer
164
+ # profile](https://developer.squareup.com/docs/customers-api/use-the-api/kee
165
+ # p-records#delete-customer-profile).
155
166
  # @return [DeleteCustomerResponse Hash] response from the API call
156
- def delete_customer(customer_id:)
167
+ def delete_customer(customer_id:,
168
+ version: nil)
157
169
  # Prepare query url.
158
170
  _query_builder = config.get_base_uri
159
171
  _query_builder << '/v2/customers/{customer_id}'
@@ -161,6 +173,10 @@ module Square
161
173
  _query_builder,
162
174
  'customer_id' => { 'value' => customer_id, 'encode' => true }
163
175
  )
176
+ _query_builder = APIHelper.append_url_with_query_parameters(
177
+ _query_builder,
178
+ 'version' => version
179
+ )
164
180
  _query_url = APIHelper.clean_url _query_builder
165
181
 
166
182
  # Prepare headers.
@@ -219,16 +235,21 @@ module Square
219
235
  )
220
236
  end
221
237
 
222
- # Updates the details of an existing customer. When two profiles are merged
223
- # into a single profile, that profile is assigned a new `customer_id`. You
224
- # must use
225
- # the new `customer_id` to update merged profiles.
226
- # You cannot edit a customer's cards on file with this endpoint. To make
227
- # changes
228
- # to a card on file, you must delete the existing card on file with the
229
- # [DeleteCustomerCard](#endpoint-Customers-deletecustomercard) endpoint,
230
- # then create a new one with the
231
- # [CreateCustomerCard](#endpoint-Customers-createcustomercard) endpoint.
238
+ # Updates a customer profile. To change an attribute, specify the new value.
239
+ # To remove an attribute, specify the value as an empty string or empty
240
+ # object.
241
+ # As a best practice, you should include the `version` field in the request
242
+ # to enable [optimistic
243
+ # concurrency](https://developer.squareup.com/docs/working-with-apis/optimis
244
+ # tic-concurrency) control. The value must be set to the current version of
245
+ # the customer profile.
246
+ # To update a customer profile that was created by merging existing
247
+ # profiles, you must use the ID of the newly created profile.
248
+ # You cannot use this endpoint to change cards on file. To change a card on
249
+ # file, call [DeleteCustomerCard]($e/Customers/DeleteCustomerCard) to delete
250
+ # the existing card and then call
251
+ # [CreateCustomerCard]($e/Customers/CreateCustomerCard) to create a new
252
+ # card.
232
253
  # @param [String] customer_id Required parameter: The ID of the customer to
233
254
  # update.
234
255
  # @param [UpdateCustomerRequest] body Required parameter: An object
@@ -9,7 +9,8 @@ module Square
9
9
  # @param [String] cursor Optional parameter: A pagination cursor returned by
10
10
  # a previous call to this endpoint. Provide this to retrieve the next set of
11
11
  # results for your original query. See [Paginating
12
- # results](#paginatingresults) for more information.
12
+ # results](https://developer.squareup.com/docs/working-with-apis/pagination)
13
+ # for more information.
13
14
  # @param [String] location_id Optional parameter: If specified, only returns
14
15
  # DeviceCodes of the specified location. Returns DeviceCodes of all
15
16
  # locations if empty.
@@ -167,8 +167,7 @@ module Square
167
167
  # Square does not send the bank any evidence that is removed. Also, you
168
168
  # cannot remove evidence after
169
169
  # submitting it to the bank using
170
- # [SubmitEvidence](https://developer.squareup.com/docs/reference/square/disp
171
- # utes-api/submit-evidence).
170
+ # [SubmitEvidence]($e/Disputes/SubmitEvidence).
172
171
  # @param [String] dispute_id Required parameter: The ID of the dispute you
173
172
  # want to remove evidence from.
174
173
  # @param [String] evidence_id Required parameter: The ID of the evidence you
@@ -359,10 +358,9 @@ module Square
359
358
  # Before submitting evidence, Square compiles all available evidence. This
360
359
  # includes evidence uploaded
361
360
  # using the
362
- # [CreateDisputeEvidenceFile](https://developer.squareup.com/docs/reference/
363
- # square/disputes-api/create-dispute-evidence-file) and
364
- # [CreateDisputeEvidenceText](https://developer.squareup.com/docs/reference/
365
- # square/disputes-api/create-dispute-evidence-text) endpoints and
361
+ # [CreateDisputeEvidenceFile]($e/Disputes/CreateDisputeEvidenceFile) and
362
+ # [CreateDisputeEvidenceText]($e/Disputes/CreateDisputeEvidenceText)
363
+ # endpoints and
366
364
  # evidence automatically provided by Square, when available.
367
365
  # @param [String] dispute_id Required parameter: The ID of the dispute that
368
366
  # you want to submit evidence for.