square_connect 2.20190327.1.292 → 2.20190410.0.296

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +19 -0
  3. data/README.md +23 -20
  4. data/docs/BatchRetrieveOrdersRequest.md +1 -1
  5. data/docs/BatchRetrieveOrdersResponse.md +1 -1
  6. data/docs/CaptureTransactionRequest.md +1 -1
  7. data/docs/CaptureTransactionResponse.md +1 -1
  8. data/docs/ChargeRequest.md +1 -1
  9. data/docs/ChargeResponse.md +1 -1
  10. data/docs/CreateCheckoutRequest.md +1 -1
  11. data/docs/CreateCheckoutResponse.md +1 -1
  12. data/docs/CreateCustomerCardRequest.md +1 -1
  13. data/docs/CreateCustomerCardResponse.md +1 -1
  14. data/docs/CreateCustomerRequest.md +1 -1
  15. data/docs/CreateCustomerResponse.md +1 -1
  16. data/docs/CreateMobileAuthorizationCodeRequest.md +1 -1
  17. data/docs/CreateMobileAuthorizationCodeResponse.md +1 -1
  18. data/docs/CreateOrderResponse.md +1 -1
  19. data/docs/CreateRefundRequest.md +1 -1
  20. data/docs/CreateRefundResponse.md +1 -1
  21. data/docs/CustomerFilter.md +1 -1
  22. data/docs/CustomersApi.md +1 -1
  23. data/docs/DeleteCustomerCardRequest.md +1 -1
  24. data/docs/DeleteCustomerCardResponse.md +1 -1
  25. data/docs/DeleteCustomerRequest.md +1 -1
  26. data/docs/DeleteCustomerResponse.md +1 -1
  27. data/docs/ListAdditionalRecipientReceivableRefundsRequest.md +1 -1
  28. data/docs/ListAdditionalRecipientReceivableRefundsResponse.md +1 -1
  29. data/docs/ListAdditionalRecipientReceivablesRequest.md +1 -1
  30. data/docs/ListAdditionalRecipientReceivablesResponse.md +1 -1
  31. data/docs/ListCustomersRequest.md +1 -1
  32. data/docs/ListCustomersResponse.md +1 -1
  33. data/docs/ListEmployeesResponse.md +1 -1
  34. data/docs/ListLocationsRequest.md +1 -1
  35. data/docs/ListLocationsResponse.md +1 -1
  36. data/docs/ListRefundsRequest.md +1 -1
  37. data/docs/ListRefundsResponse.md +1 -1
  38. data/docs/ListTransactionsRequest.md +1 -1
  39. data/docs/ListTransactionsResponse.md +1 -1
  40. data/docs/Order.md +2 -1
  41. data/docs/OrderSource.md +12 -0
  42. data/docs/OrdersApi.md +1 -1
  43. data/docs/RegisterDomainRequest.md +1 -1
  44. data/docs/RegisterDomainResponse.md +1 -1
  45. data/docs/RetrieveCustomerRequest.md +1 -1
  46. data/docs/RetrieveCustomerResponse.md +1 -1
  47. data/docs/RetrieveEmployeeResponse.md +1 -1
  48. data/docs/RetrieveTransactionRequest.md +1 -1
  49. data/docs/RetrieveTransactionResponse.md +1 -1
  50. data/docs/SearchCustomersRequest.md +1 -1
  51. data/docs/SearchCustomersResponse.md +1 -1
  52. data/docs/Transaction.md +1 -1
  53. data/docs/TransactionsApi.md +3 -3
  54. data/docs/UpdateCustomerRequest.md +1 -1
  55. data/docs/UpdateCustomerResponse.md +1 -1
  56. data/docs/V1Category.md +1 -0
  57. data/docs/V1Discount.md +1 -0
  58. data/docs/V1Fee.md +1 -0
  59. data/docs/V1Item.md +1 -0
  60. data/docs/V1ModifierList.md +1 -0
  61. data/docs/V1ModifierOption.md +1 -0
  62. data/docs/V1Variation.md +1 -0
  63. data/docs/VoidTransactionRequest.md +1 -1
  64. data/docs/VoidTransactionResponse.md +1 -1
  65. data/lib/square_connect/api/apple_pay_api.rb +1 -1
  66. data/lib/square_connect/api/catalog_api.rb +11 -11
  67. data/lib/square_connect/api/checkout_api.rb +1 -1
  68. data/lib/square_connect/api/customers_api.rb +10 -10
  69. data/lib/square_connect/api/employees_api.rb +2 -2
  70. data/lib/square_connect/api/inventory_api.rb +7 -7
  71. data/lib/square_connect/api/labor_api.rb +14 -14
  72. data/lib/square_connect/api/locations_api.rb +1 -1
  73. data/lib/square_connect/api/mobile_authorization_api.rb +1 -1
  74. data/lib/square_connect/api/o_auth_api.rb +3 -3
  75. data/lib/square_connect/api/orders_api.rb +4 -4
  76. data/lib/square_connect/api/reporting_api.rb +2 -2
  77. data/lib/square_connect/api/transactions_api.rb +13 -13
  78. data/lib/square_connect/api/v1_employees_api.rb +16 -16
  79. data/lib/square_connect/api/v1_items_api.rb +40 -40
  80. data/lib/square_connect/api/v1_locations_api.rb +2 -2
  81. data/lib/square_connect/api/v1_transactions_api.rb +11 -11
  82. data/lib/square_connect/api_client.rb +1 -1
  83. data/lib/square_connect/models/batch_retrieve_orders_request.rb +1 -1
  84. data/lib/square_connect/models/batch_retrieve_orders_response.rb +1 -1
  85. data/lib/square_connect/models/capture_transaction_request.rb +1 -1
  86. data/lib/square_connect/models/capture_transaction_response.rb +1 -1
  87. data/lib/square_connect/models/charge_request.rb +1 -1
  88. data/lib/square_connect/models/charge_response.rb +1 -1
  89. data/lib/square_connect/models/create_checkout_request.rb +1 -1
  90. data/lib/square_connect/models/create_checkout_response.rb +1 -1
  91. data/lib/square_connect/models/create_customer_card_request.rb +1 -1
  92. data/lib/square_connect/models/create_customer_card_response.rb +1 -1
  93. data/lib/square_connect/models/create_customer_request.rb +1 -1
  94. data/lib/square_connect/models/create_customer_response.rb +1 -1
  95. data/lib/square_connect/models/create_mobile_authorization_code_request.rb +1 -1
  96. data/lib/square_connect/models/create_mobile_authorization_code_response.rb +1 -1
  97. data/lib/square_connect/models/create_order_response.rb +1 -1
  98. data/lib/square_connect/models/create_refund_request.rb +1 -1
  99. data/lib/square_connect/models/create_refund_response.rb +1 -1
  100. data/lib/square_connect/models/customer_filter.rb +1 -1
  101. data/lib/square_connect/models/delete_customer_card_request.rb +1 -1
  102. data/lib/square_connect/models/delete_customer_card_response.rb +1 -1
  103. data/lib/square_connect/models/delete_customer_request.rb +1 -1
  104. data/lib/square_connect/models/delete_customer_response.rb +1 -1
  105. data/lib/square_connect/models/list_additional_recipient_receivable_refunds_request.rb +1 -1
  106. data/lib/square_connect/models/list_additional_recipient_receivable_refunds_response.rb +1 -1
  107. data/lib/square_connect/models/list_additional_recipient_receivables_request.rb +1 -1
  108. data/lib/square_connect/models/list_additional_recipient_receivables_response.rb +1 -1
  109. data/lib/square_connect/models/list_customers_request.rb +1 -1
  110. data/lib/square_connect/models/list_customers_response.rb +1 -1
  111. data/lib/square_connect/models/list_employees_response.rb +1 -1
  112. data/lib/square_connect/models/list_locations_request.rb +1 -1
  113. data/lib/square_connect/models/list_locations_response.rb +1 -1
  114. data/lib/square_connect/models/list_refunds_request.rb +1 -1
  115. data/lib/square_connect/models/list_refunds_response.rb +1 -1
  116. data/lib/square_connect/models/list_transactions_request.rb +1 -1
  117. data/lib/square_connect/models/list_transactions_response.rb +1 -1
  118. data/lib/square_connect/models/order.rb +12 -2
  119. data/lib/square_connect/models/order_source.rb +186 -0
  120. data/lib/square_connect/models/register_domain_request.rb +1 -1
  121. data/lib/square_connect/models/register_domain_response.rb +1 -1
  122. data/lib/square_connect/models/retrieve_customer_request.rb +1 -1
  123. data/lib/square_connect/models/retrieve_customer_response.rb +1 -1
  124. data/lib/square_connect/models/retrieve_employee_response.rb +1 -1
  125. data/lib/square_connect/models/retrieve_transaction_request.rb +1 -1
  126. data/lib/square_connect/models/retrieve_transaction_response.rb +1 -1
  127. data/lib/square_connect/models/search_customers_request.rb +1 -1
  128. data/lib/square_connect/models/search_customers_response.rb +1 -1
  129. data/lib/square_connect/models/transaction.rb +1 -1
  130. data/lib/square_connect/models/update_customer_request.rb +1 -1
  131. data/lib/square_connect/models/update_customer_response.rb +1 -1
  132. data/lib/square_connect/models/v1_category.rb +14 -4
  133. data/lib/square_connect/models/v1_discount.rb +14 -4
  134. data/lib/square_connect/models/v1_fee.rb +14 -4
  135. data/lib/square_connect/models/v1_item.rb +14 -4
  136. data/lib/square_connect/models/v1_modifier_list.rb +14 -4
  137. data/lib/square_connect/models/v1_modifier_option.rb +14 -4
  138. data/lib/square_connect/models/v1_variation.rb +14 -4
  139. data/lib/square_connect/models/void_transaction_request.rb +1 -1
  140. data/lib/square_connect/models/void_transaction_response.rb +1 -1
  141. data/lib/square_connect/version.rb +1 -1
  142. data/lib/square_connect.rb +1 -0
  143. data/spec/models/order_source_spec.rb +39 -0
  144. metadata +6 -2
@@ -66,7 +66,7 @@ module SquareConnect
66
66
  # HTTP header 'Content-Type'
67
67
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
68
68
 
69
- header_params['Square-Version'] = "2019-03-27"
69
+ header_params['Square-Version'] = "2019-04-10"
70
70
 
71
71
  # form parameters
72
72
  form_params = {}
@@ -136,7 +136,7 @@ module SquareConnect
136
136
  # HTTP header 'Content-Type'
137
137
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
138
138
 
139
- header_params['Square-Version'] = "2019-03-27"
139
+ header_params['Square-Version'] = "2019-04-10"
140
140
 
141
141
  # form parameters
142
142
  form_params = {}
@@ -18,7 +18,7 @@ module SquareConnect
18
18
  end
19
19
 
20
20
  # CaptureTransaction
21
- # Captures a transaction that was created with the [Charge](#endpoint-charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](/payments/transactions/overview#delayed-capture) for more information.
21
+ # Captures a transaction that was created with the [Charge](#endpoint-transactions-charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](/payments/transactions/overview#delayed-capture) for more information.
22
22
  # @param location_id
23
23
  # @param transaction_id
24
24
  # @param [Hash] opts the optional parameters
@@ -29,7 +29,7 @@ module SquareConnect
29
29
  end
30
30
 
31
31
  # CaptureTransaction
32
- # Captures a transaction that was created with the [Charge](#endpoint-charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](/payments/transactions/overview#delayed-capture) for more information.
32
+ # Captures a transaction that was created with the [Charge](#endpoint-transactions-charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](/payments/transactions/overview#delayed-capture) for more information.
33
33
  # @param location_id
34
34
  # @param transaction_id
35
35
  # @param [Hash] opts the optional parameters
@@ -55,7 +55,7 @@ module SquareConnect
55
55
  # HTTP header 'Content-Type'
56
56
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
57
57
 
58
- header_params['Square-Version'] = "2019-03-27"
58
+ header_params['Square-Version'] = "2019-04-10"
59
59
 
60
60
  # form parameters
61
61
  form_params = {}
@@ -77,7 +77,7 @@ module SquareConnect
77
77
  end
78
78
 
79
79
  # Charge
80
- # Charges a card represented by a card nonce or a customer's card on file. Your request to this endpoint must include _either_: - A value for the `card_nonce` parameter (to charge a card nonce generated with the `SqPaymentForm`) - Values for the `customer_card_id` and `customer_id` parameters (to charge a customer's card on file) In order for an eCommerce payment to potentially qualify for [Square chargeback protection](https://squareup.com/help/article/5394), you _must_ provide values for the following parameters in your request: - `buyer_email_address` - At least one of `billing_address` or `shipping_address` When this response is returned, the amount of Square's processing fee might not yet be calculated. To obtain the processing fee, wait about ten seconds and call [RetrieveTransaction](#endpoint-retrievetransaction). See the `processing_fee_money` field of each [Tender included](#type-tender) in the transaction.
80
+ # Charges a card represented by a card nonce or a customer's card on file. Your request to this endpoint must include _either_: - A value for the `card_nonce` parameter (to charge a card nonce generated with the `SqPaymentForm`) - Values for the `customer_card_id` and `customer_id` parameters (to charge a customer's card on file) In order for an eCommerce payment to potentially qualify for [Square chargeback protection](https://squareup.com/help/article/5394), you _must_ provide values for the following parameters in your request: - `buyer_email_address` - At least one of `billing_address` or `shipping_address` When this response is returned, the amount of Square's processing fee might not yet be calculated. To obtain the processing fee, wait about ten seconds and call [RetrieveTransaction](#endpoint-transactions-retrievetransaction). See the `processing_fee_money` field of each [Tender included](#type-tender) in the transaction.
81
81
  # @param location_id The ID of the location to associate the created transaction with.
82
82
  # @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.
83
83
  # @param [Hash] opts the optional parameters
@@ -88,7 +88,7 @@ module SquareConnect
88
88
  end
89
89
 
90
90
  # Charge
91
- # Charges a card represented by a card nonce or a customer's card on file. Your request to this endpoint must include _either_: - A value for the `card_nonce` parameter (to charge a card nonce generated with the `SqPaymentForm`) - Values for the `customer_card_id` and `customer_id` parameters (to charge a customer's card on file) In order for an eCommerce payment to potentially qualify for [Square chargeback protection](https://squareup.com/help/article/5394), you _must_ provide values for the following parameters in your request: - `buyer_email_address` - At least one of `billing_address` or `shipping_address` When this response is returned, the amount of Square's processing fee might not yet be calculated. To obtain the processing fee, wait about ten seconds and call [RetrieveTransaction](#endpoint-retrievetransaction). See the `processing_fee_money` field of each [Tender included](#type-tender) in the transaction.
91
+ # Charges a card represented by a card nonce or a customer's card on file. Your request to this endpoint must include _either_: - A value for the `card_nonce` parameter (to charge a card nonce generated with the `SqPaymentForm`) - Values for the `customer_card_id` and `customer_id` parameters (to charge a customer's card on file) In order for an eCommerce payment to potentially qualify for [Square chargeback protection](https://squareup.com/help/article/5394), you _must_ provide values for the following parameters in your request: - `buyer_email_address` - At least one of `billing_address` or `shipping_address` When this response is returned, the amount of Square's processing fee might not yet be calculated. To obtain the processing fee, wait about ten seconds and call [RetrieveTransaction](#endpoint-transactions-retrievetransaction). See the `processing_fee_money` field of each [Tender included](#type-tender) in the transaction.
92
92
  # @param location_id The ID of the location to associate the created transaction with.
93
93
  # @param body An object containing the fields to POST for the request. See the corresponding object definition for field details.
94
94
  # @param [Hash] opts the optional parameters
@@ -114,7 +114,7 @@ module SquareConnect
114
114
  # HTTP header 'Content-Type'
115
115
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
116
116
 
117
- header_params['Square-Version'] = "2019-03-27"
117
+ header_params['Square-Version'] = "2019-04-10"
118
118
 
119
119
  # form parameters
120
120
  form_params = {}
@@ -177,7 +177,7 @@ module SquareConnect
177
177
  # HTTP header 'Content-Type'
178
178
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
179
179
 
180
- header_params['Square-Version'] = "2019-03-27"
180
+ header_params['Square-Version'] = "2019-04-10"
181
181
 
182
182
  # form parameters
183
183
  form_params = {}
@@ -247,7 +247,7 @@ module SquareConnect
247
247
  # HTTP header 'Content-Type'
248
248
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
249
249
 
250
- header_params['Square-Version'] = "2019-03-27"
250
+ header_params['Square-Version'] = "2019-04-10"
251
251
 
252
252
  # form parameters
253
253
  form_params = {}
@@ -317,7 +317,7 @@ module SquareConnect
317
317
  # HTTP header 'Content-Type'
318
318
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
319
319
 
320
- header_params['Square-Version'] = "2019-03-27"
320
+ header_params['Square-Version'] = "2019-04-10"
321
321
 
322
322
  # form parameters
323
323
  form_params = {}
@@ -376,7 +376,7 @@ module SquareConnect
376
376
  # HTTP header 'Content-Type'
377
377
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
378
378
 
379
- header_params['Square-Version'] = "2019-03-27"
379
+ header_params['Square-Version'] = "2019-04-10"
380
380
 
381
381
  # form parameters
382
382
  form_params = {}
@@ -398,7 +398,7 @@ module SquareConnect
398
398
  end
399
399
 
400
400
  # VoidTransaction
401
- # Cancels a transaction that was created with the [Charge](#endpoint-charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](/payments/transactions/overview#delayed-capture) for more information.
401
+ # Cancels a transaction that was created with the [Charge](#endpoint-transactions-charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](/payments/transactions/overview#delayed-capture) for more information.
402
402
  # @param location_id
403
403
  # @param transaction_id
404
404
  # @param [Hash] opts the optional parameters
@@ -409,7 +409,7 @@ module SquareConnect
409
409
  end
410
410
 
411
411
  # VoidTransaction
412
- # Cancels a transaction that was created with the [Charge](#endpoint-charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](/payments/transactions/overview#delayed-capture) for more information.
412
+ # Cancels a transaction that was created with the [Charge](#endpoint-transactions-charge) endpoint with a `delay_capture` value of `true`. See [Delayed capture transactions](/payments/transactions/overview#delayed-capture) for more information.
413
413
  # @param location_id
414
414
  # @param transaction_id
415
415
  # @param [Hash] opts the optional parameters
@@ -435,7 +435,7 @@ module SquareConnect
435
435
  # HTTP header 'Content-Type'
436
436
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
437
437
 
438
- header_params['Square-Version'] = "2019-03-27"
438
+ header_params['Square-Version'] = "2019-04-10"
439
439
 
440
440
  # form parameters
441
441
  form_params = {}
@@ -51,7 +51,7 @@ module SquareConnect
51
51
  # HTTP header 'Content-Type'
52
52
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
53
53
 
54
- header_params['Square-Version'] = "2019-03-27"
54
+ header_params['Square-Version'] = "2019-04-10"
55
55
 
56
56
  # form parameters
57
57
  form_params = {}
@@ -106,7 +106,7 @@ module SquareConnect
106
106
  # HTTP header 'Content-Type'
107
107
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
108
108
 
109
- header_params['Square-Version'] = "2019-03-27"
109
+ header_params['Square-Version'] = "2019-04-10"
110
110
 
111
111
  # form parameters
112
112
  form_params = {}
@@ -161,7 +161,7 @@ module SquareConnect
161
161
  # HTTP header 'Content-Type'
162
162
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
163
163
 
164
- header_params['Square-Version'] = "2019-03-27"
164
+ header_params['Square-Version'] = "2019-04-10"
165
165
 
166
166
  # form parameters
167
167
  form_params = {}
@@ -216,7 +216,7 @@ module SquareConnect
216
216
  # HTTP header 'Content-Type'
217
217
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
218
218
 
219
- header_params['Square-Version'] = "2019-03-27"
219
+ header_params['Square-Version'] = "2019-04-10"
220
220
 
221
221
  # form parameters
222
222
  form_params = {}
@@ -283,7 +283,7 @@ module SquareConnect
283
283
  # HTTP header 'Content-Type'
284
284
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
285
285
 
286
- header_params['Square-Version'] = "2019-03-27"
286
+ header_params['Square-Version'] = "2019-04-10"
287
287
 
288
288
  # form parameters
289
289
  form_params = {}
@@ -346,7 +346,7 @@ module SquareConnect
346
346
  # HTTP header 'Content-Type'
347
347
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
348
348
 
349
- header_params['Square-Version'] = "2019-03-27"
349
+ header_params['Square-Version'] = "2019-04-10"
350
350
 
351
351
  # form parameters
352
352
  form_params = {}
@@ -430,7 +430,7 @@ module SquareConnect
430
430
  # HTTP header 'Content-Type'
431
431
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
432
432
 
433
- header_params['Square-Version'] = "2019-03-27"
433
+ header_params['Square-Version'] = "2019-04-10"
434
434
 
435
435
  # form parameters
436
436
  form_params = {}
@@ -485,7 +485,7 @@ module SquareConnect
485
485
  # HTTP header 'Content-Type'
486
486
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
487
487
 
488
- header_params['Square-Version'] = "2019-03-27"
488
+ header_params['Square-Version'] = "2019-04-10"
489
489
 
490
490
  # form parameters
491
491
  form_params = {}
@@ -572,7 +572,7 @@ module SquareConnect
572
572
  # HTTP header 'Content-Type'
573
573
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
574
574
 
575
- header_params['Square-Version'] = "2019-03-27"
575
+ header_params['Square-Version'] = "2019-04-10"
576
576
 
577
577
  # form parameters
578
578
  form_params = {}
@@ -631,7 +631,7 @@ module SquareConnect
631
631
  # HTTP header 'Content-Type'
632
632
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
633
633
 
634
- header_params['Square-Version'] = "2019-03-27"
634
+ header_params['Square-Version'] = "2019-04-10"
635
635
 
636
636
  # form parameters
637
637
  form_params = {}
@@ -686,7 +686,7 @@ module SquareConnect
686
686
  # HTTP header 'Content-Type'
687
687
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
688
688
 
689
- header_params['Square-Version'] = "2019-03-27"
689
+ header_params['Square-Version'] = "2019-04-10"
690
690
 
691
691
  # form parameters
692
692
  form_params = {}
@@ -741,7 +741,7 @@ module SquareConnect
741
741
  # HTTP header 'Content-Type'
742
742
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
743
743
 
744
- header_params['Square-Version'] = "2019-03-27"
744
+ header_params['Square-Version'] = "2019-04-10"
745
745
 
746
746
  # form parameters
747
747
  form_params = {}
@@ -796,7 +796,7 @@ module SquareConnect
796
796
  # HTTP header 'Content-Type'
797
797
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
798
798
 
799
- header_params['Square-Version'] = "2019-03-27"
799
+ header_params['Square-Version'] = "2019-04-10"
800
800
 
801
801
  # form parameters
802
802
  form_params = {}
@@ -855,7 +855,7 @@ module SquareConnect
855
855
  # HTTP header 'Content-Type'
856
856
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
857
857
 
858
- header_params['Square-Version'] = "2019-03-27"
858
+ header_params['Square-Version'] = "2019-04-10"
859
859
 
860
860
  # form parameters
861
861
  form_params = {}
@@ -914,7 +914,7 @@ module SquareConnect
914
914
  # HTTP header 'Content-Type'
915
915
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
916
916
 
917
- header_params['Square-Version'] = "2019-03-27"
917
+ header_params['Square-Version'] = "2019-04-10"
918
918
 
919
919
  # form parameters
920
920
  form_params = {}
@@ -973,7 +973,7 @@ module SquareConnect
973
973
  # HTTP header 'Content-Type'
974
974
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
975
975
 
976
- header_params['Square-Version'] = "2019-03-27"
976
+ header_params['Square-Version'] = "2019-04-10"
977
977
 
978
978
  # form parameters
979
979
  form_params = {}
@@ -59,7 +59,7 @@ module SquareConnect
59
59
  # HTTP header 'Content-Type'
60
60
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
61
61
 
62
- header_params['Square-Version'] = "2019-03-27"
62
+ header_params['Square-Version'] = "2019-04-10"
63
63
 
64
64
  # form parameters
65
65
  form_params = {}
@@ -122,7 +122,7 @@ module SquareConnect
122
122
  # HTTP header 'Content-Type'
123
123
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
124
124
 
125
- header_params['Square-Version'] = "2019-03-27"
125
+ header_params['Square-Version'] = "2019-04-10"
126
126
 
127
127
  # form parameters
128
128
  form_params = {}
@@ -185,7 +185,7 @@ module SquareConnect
185
185
  # HTTP header 'Content-Type'
186
186
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
187
187
 
188
- header_params['Square-Version'] = "2019-03-27"
188
+ header_params['Square-Version'] = "2019-04-10"
189
189
 
190
190
  # form parameters
191
191
  form_params = {}
@@ -244,7 +244,7 @@ module SquareConnect
244
244
  # HTTP header 'Content-Type'
245
245
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
246
246
 
247
- header_params['Square-Version'] = "2019-03-27"
247
+ header_params['Square-Version'] = "2019-04-10"
248
248
 
249
249
  # form parameters
250
250
  form_params = {}
@@ -303,7 +303,7 @@ module SquareConnect
303
303
  # HTTP header 'Content-Type'
304
304
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
305
305
 
306
- header_params['Square-Version'] = "2019-03-27"
306
+ header_params['Square-Version'] = "2019-04-10"
307
307
 
308
308
  # form parameters
309
309
  form_params = {}
@@ -362,7 +362,7 @@ module SquareConnect
362
362
  # HTTP header 'Content-Type'
363
363
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
364
364
 
365
- header_params['Square-Version'] = "2019-03-27"
365
+ header_params['Square-Version'] = "2019-04-10"
366
366
 
367
367
  # form parameters
368
368
  form_params = {}
@@ -421,7 +421,7 @@ module SquareConnect
421
421
  # HTTP header 'Content-Type'
422
422
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
423
423
 
424
- header_params['Square-Version'] = "2019-03-27"
424
+ header_params['Square-Version'] = "2019-04-10"
425
425
 
426
426
  # form parameters
427
427
  form_params = {}
@@ -480,7 +480,7 @@ module SquareConnect
480
480
  # HTTP header 'Content-Type'
481
481
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
482
482
 
483
- header_params['Square-Version'] = "2019-03-27"
483
+ header_params['Square-Version'] = "2019-04-10"
484
484
 
485
485
  # form parameters
486
486
  form_params = {}
@@ -543,7 +543,7 @@ module SquareConnect
543
543
  # HTTP header 'Content-Type'
544
544
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
545
545
 
546
- header_params['Square-Version'] = "2019-03-27"
546
+ header_params['Square-Version'] = "2019-04-10"
547
547
 
548
548
  # form parameters
549
549
  form_params = {}
@@ -602,7 +602,7 @@ module SquareConnect
602
602
  # HTTP header 'Content-Type'
603
603
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
604
604
 
605
- header_params['Square-Version'] = "2019-03-27"
605
+ header_params['Square-Version'] = "2019-04-10"
606
606
 
607
607
  # form parameters
608
608
  form_params = {}
@@ -665,7 +665,7 @@ module SquareConnect
665
665
  # HTTP header 'Content-Type'
666
666
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
667
667
 
668
- header_params['Square-Version'] = "2019-03-27"
668
+ header_params['Square-Version'] = "2019-04-10"
669
669
 
670
670
  # form parameters
671
671
  form_params = {}
@@ -724,7 +724,7 @@ module SquareConnect
724
724
  # HTTP header 'Content-Type'
725
725
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
726
726
 
727
- header_params['Square-Version'] = "2019-03-27"
727
+ header_params['Square-Version'] = "2019-04-10"
728
728
 
729
729
  # form parameters
730
730
  form_params = {}
@@ -783,7 +783,7 @@ module SquareConnect
783
783
  # HTTP header 'Content-Type'
784
784
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
785
785
 
786
- header_params['Square-Version'] = "2019-03-27"
786
+ header_params['Square-Version'] = "2019-04-10"
787
787
 
788
788
  # form parameters
789
789
  form_params = {}
@@ -842,7 +842,7 @@ module SquareConnect
842
842
  # HTTP header 'Content-Type'
843
843
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
844
844
 
845
- header_params['Square-Version'] = "2019-03-27"
845
+ header_params['Square-Version'] = "2019-04-10"
846
846
 
847
847
  # form parameters
848
848
  form_params = {}
@@ -901,7 +901,7 @@ module SquareConnect
901
901
  # HTTP header 'Content-Type'
902
902
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
903
903
 
904
- header_params['Square-Version'] = "2019-03-27"
904
+ header_params['Square-Version'] = "2019-04-10"
905
905
 
906
906
  # form parameters
907
907
  form_params = {}
@@ -960,7 +960,7 @@ module SquareConnect
960
960
  # HTTP header 'Content-Type'
961
961
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
962
962
 
963
- header_params['Square-Version'] = "2019-03-27"
963
+ header_params['Square-Version'] = "2019-04-10"
964
964
 
965
965
  # form parameters
966
966
  form_params = {}
@@ -1023,7 +1023,7 @@ module SquareConnect
1023
1023
  # HTTP header 'Content-Type'
1024
1024
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1025
1025
 
1026
- header_params['Square-Version'] = "2019-03-27"
1026
+ header_params['Square-Version'] = "2019-04-10"
1027
1027
 
1028
1028
  # form parameters
1029
1029
  form_params = {}
@@ -1082,7 +1082,7 @@ module SquareConnect
1082
1082
  # HTTP header 'Content-Type'
1083
1083
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1084
1084
 
1085
- header_params['Square-Version'] = "2019-03-27"
1085
+ header_params['Square-Version'] = "2019-04-10"
1086
1086
 
1087
1087
  # form parameters
1088
1088
  form_params = {}
@@ -1147,7 +1147,7 @@ module SquareConnect
1147
1147
  # HTTP header 'Content-Type'
1148
1148
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1149
1149
 
1150
- header_params['Square-Version'] = "2019-03-27"
1150
+ header_params['Square-Version'] = "2019-04-10"
1151
1151
 
1152
1152
  # form parameters
1153
1153
  form_params = {}
@@ -1210,7 +1210,7 @@ module SquareConnect
1210
1210
  # HTTP header 'Content-Type'
1211
1211
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1212
1212
 
1213
- header_params['Square-Version'] = "2019-03-27"
1213
+ header_params['Square-Version'] = "2019-04-10"
1214
1214
 
1215
1215
  # form parameters
1216
1216
  form_params = {}
@@ -1265,7 +1265,7 @@ module SquareConnect
1265
1265
  # HTTP header 'Content-Type'
1266
1266
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1267
1267
 
1268
- header_params['Square-Version'] = "2019-03-27"
1268
+ header_params['Square-Version'] = "2019-04-10"
1269
1269
 
1270
1270
  # form parameters
1271
1271
  form_params = {}
@@ -1320,7 +1320,7 @@ module SquareConnect
1320
1320
  # HTTP header 'Content-Type'
1321
1321
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1322
1322
 
1323
- header_params['Square-Version'] = "2019-03-27"
1323
+ header_params['Square-Version'] = "2019-04-10"
1324
1324
 
1325
1325
  # form parameters
1326
1326
  form_params = {}
@@ -1375,7 +1375,7 @@ module SquareConnect
1375
1375
  # HTTP header 'Content-Type'
1376
1376
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1377
1377
 
1378
- header_params['Square-Version'] = "2019-03-27"
1378
+ header_params['Square-Version'] = "2019-04-10"
1379
1379
 
1380
1380
  # form parameters
1381
1381
  form_params = {}
@@ -1436,7 +1436,7 @@ module SquareConnect
1436
1436
  # HTTP header 'Content-Type'
1437
1437
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1438
1438
 
1439
- header_params['Square-Version'] = "2019-03-27"
1439
+ header_params['Square-Version'] = "2019-04-10"
1440
1440
 
1441
1441
  # form parameters
1442
1442
  form_params = {}
@@ -1494,7 +1494,7 @@ module SquareConnect
1494
1494
  # HTTP header 'Content-Type'
1495
1495
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1496
1496
 
1497
- header_params['Square-Version'] = "2019-03-27"
1497
+ header_params['Square-Version'] = "2019-04-10"
1498
1498
 
1499
1499
  # form parameters
1500
1500
  form_params = {}
@@ -1549,7 +1549,7 @@ module SquareConnect
1549
1549
  # HTTP header 'Content-Type'
1550
1550
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1551
1551
 
1552
- header_params['Square-Version'] = "2019-03-27"
1552
+ header_params['Square-Version'] = "2019-04-10"
1553
1553
 
1554
1554
  # form parameters
1555
1555
  form_params = {}
@@ -1604,7 +1604,7 @@ module SquareConnect
1604
1604
  # HTTP header 'Content-Type'
1605
1605
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1606
1606
 
1607
- header_params['Square-Version'] = "2019-03-27"
1607
+ header_params['Square-Version'] = "2019-04-10"
1608
1608
 
1609
1609
  # form parameters
1610
1610
  form_params = {}
@@ -1667,7 +1667,7 @@ module SquareConnect
1667
1667
  # HTTP header 'Content-Type'
1668
1668
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1669
1669
 
1670
- header_params['Square-Version'] = "2019-03-27"
1670
+ header_params['Square-Version'] = "2019-04-10"
1671
1671
 
1672
1672
  # form parameters
1673
1673
  form_params = {}
@@ -1730,7 +1730,7 @@ module SquareConnect
1730
1730
  # HTTP header 'Content-Type'
1731
1731
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1732
1732
 
1733
- header_params['Square-Version'] = "2019-03-27"
1733
+ header_params['Square-Version'] = "2019-04-10"
1734
1734
 
1735
1735
  # form parameters
1736
1736
  form_params = {}
@@ -1789,7 +1789,7 @@ module SquareConnect
1789
1789
  # HTTP header 'Content-Type'
1790
1790
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1791
1791
 
1792
- header_params['Square-Version'] = "2019-03-27"
1792
+ header_params['Square-Version'] = "2019-04-10"
1793
1793
 
1794
1794
  # form parameters
1795
1795
  form_params = {}
@@ -1848,7 +1848,7 @@ module SquareConnect
1848
1848
  # HTTP header 'Content-Type'
1849
1849
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1850
1850
 
1851
- header_params['Square-Version'] = "2019-03-27"
1851
+ header_params['Square-Version'] = "2019-04-10"
1852
1852
 
1853
1853
  # form parameters
1854
1854
  form_params = {}
@@ -1911,7 +1911,7 @@ module SquareConnect
1911
1911
  # HTTP header 'Content-Type'
1912
1912
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1913
1913
 
1914
- header_params['Square-Version'] = "2019-03-27"
1914
+ header_params['Square-Version'] = "2019-04-10"
1915
1915
 
1916
1916
  # form parameters
1917
1917
  form_params = {}
@@ -1974,7 +1974,7 @@ module SquareConnect
1974
1974
  # HTTP header 'Content-Type'
1975
1975
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1976
1976
 
1977
- header_params['Square-Version'] = "2019-03-27"
1977
+ header_params['Square-Version'] = "2019-04-10"
1978
1978
 
1979
1979
  # form parameters
1980
1980
  form_params = {}
@@ -2037,7 +2037,7 @@ module SquareConnect
2037
2037
  # HTTP header 'Content-Type'
2038
2038
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2039
2039
 
2040
- header_params['Square-Version'] = "2019-03-27"
2040
+ header_params['Square-Version'] = "2019-04-10"
2041
2041
 
2042
2042
  # form parameters
2043
2043
  form_params = {}
@@ -2100,7 +2100,7 @@ module SquareConnect
2100
2100
  # HTTP header 'Content-Type'
2101
2101
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2102
2102
 
2103
- header_params['Square-Version'] = "2019-03-27"
2103
+ header_params['Square-Version'] = "2019-04-10"
2104
2104
 
2105
2105
  # form parameters
2106
2106
  form_params = {}
@@ -2163,7 +2163,7 @@ module SquareConnect
2163
2163
  # HTTP header 'Content-Type'
2164
2164
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2165
2165
 
2166
- header_params['Square-Version'] = "2019-03-27"
2166
+ header_params['Square-Version'] = "2019-04-10"
2167
2167
 
2168
2168
  # form parameters
2169
2169
  form_params = {}
@@ -2230,7 +2230,7 @@ module SquareConnect
2230
2230
  # HTTP header 'Content-Type'
2231
2231
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2232
2232
 
2233
- header_params['Square-Version'] = "2019-03-27"
2233
+ header_params['Square-Version'] = "2019-04-10"
2234
2234
 
2235
2235
  # form parameters
2236
2236
  form_params = {}
@@ -2293,7 +2293,7 @@ module SquareConnect
2293
2293
  # HTTP header 'Content-Type'
2294
2294
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2295
2295
 
2296
- header_params['Square-Version'] = "2019-03-27"
2296
+ header_params['Square-Version'] = "2019-04-10"
2297
2297
 
2298
2298
  # form parameters
2299
2299
  form_params = {}
@@ -2356,7 +2356,7 @@ module SquareConnect
2356
2356
  # HTTP header 'Content-Type'
2357
2357
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2358
2358
 
2359
- header_params['Square-Version'] = "2019-03-27"
2359
+ header_params['Square-Version'] = "2019-04-10"
2360
2360
 
2361
2361
  # form parameters
2362
2362
  form_params = {}
@@ -2423,7 +2423,7 @@ module SquareConnect
2423
2423
  # HTTP header 'Content-Type'
2424
2424
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2425
2425
 
2426
- header_params['Square-Version'] = "2019-03-27"
2426
+ header_params['Square-Version'] = "2019-04-10"
2427
2427
 
2428
2428
  # form parameters
2429
2429
  form_params = {}
@@ -47,7 +47,7 @@ module SquareConnect
47
47
  # HTTP header 'Content-Type'
48
48
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
49
49
 
50
- header_params['Square-Version'] = "2019-03-27"
50
+ header_params['Square-Version'] = "2019-04-10"
51
51
 
52
52
  # form parameters
53
53
  form_params = {}
@@ -98,7 +98,7 @@ module SquareConnect
98
98
  # HTTP header 'Content-Type'
99
99
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
100
100
 
101
- header_params['Square-Version'] = "2019-03-27"
101
+ header_params['Square-Version'] = "2019-04-10"
102
102
 
103
103
  # form parameters
104
104
  form_params = {}