bf_ruby2 1.2016.229 → 1.2016.230

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +53 -29
  3. data/bf_ruby2-1.2016.229.gem +0 -0
  4. data/docs/AccountsApi.md +82 -31
  5. data/docs/AddChargeToAccountResponse.md +9 -0
  6. data/docs/AddChargeToAccountResponsePagedMetadata.md +14 -0
  7. data/docs/AddChargesToAccountAPIRequest.md +17 -0
  8. data/docs/AddressesApi.md +4 -4
  9. data/docs/AmendmentsApi.md +13 -13
  10. data/docs/AnalyticsApi.md +15 -15
  11. data/docs/AuditlogsApi.md +5 -5
  12. data/docs/BatchUpdatePricingComponentValuesRequest.md +9 -0
  13. data/docs/ChargesApi.md +56 -8
  14. data/docs/ClientsApi.md +6 -6
  15. data/docs/ConfigurationsApi.md +6 -6
  16. data/docs/CouponbookApi.md +11 -11
  17. data/docs/CouponbookdefinitionApi.md +8 -8
  18. data/docs/CoupondefinitionApi.md +7 -7
  19. data/docs/CouponinstanceApi.md +12 -12
  20. data/docs/CouponmodifierApi.md +9 -9
  21. data/docs/CouponruleApi.md +6 -6
  22. data/docs/CouponsApi.md +10 -10
  23. data/docs/CreateSubscriptionChargeAmendment.md +0 -1
  24. data/docs/CreateSubscriptionRequest.md +2 -0
  25. data/docs/CreditnotesApi.md +7 -7
  26. data/docs/CybersourcetokensApi.md +7 -7
  27. data/docs/DunninglinesApi.md +8 -8
  28. data/docs/EmailprovidersApi.md +5 -5
  29. data/docs/EmailsApi.md +1 -1
  30. data/docs/EmailsubscriptionsApi.md +7 -7
  31. data/docs/FixedtermdefinitionsApi.md +4 -4
  32. data/docs/FixedtermsApi.md +2 -2
  33. data/docs/Invoice.md +3 -0
  34. data/docs/InvoicesApi.md +63 -63
  35. data/docs/MetadataApi.md +6 -6
  36. data/docs/NestedChargeRequest.md +19 -0
  37. data/docs/NotificationsApi.md +6 -6
  38. data/docs/OrganizationsApi.md +9 -9
  39. data/docs/PasswordsApi.md +2 -2
  40. data/docs/PaymentmethodsApi.md +10 -10
  41. data/docs/PaymentmethodsubscriptionlinksApi.md +3 -3
  42. data/docs/PaymentsApi.md +9 -9
  43. data/docs/PeriodsApi.md +2 -2
  44. data/docs/PermissionsApi.md +8 -8
  45. data/docs/PricingcalculatorApi.md +6 -6
  46. data/docs/PricingcomponentsApi.md +8 -8
  47. data/docs/PricingcomponenttiersApi.md +7 -7
  48. data/docs/PricingcomponentvaluechangesApi.md +7 -7
  49. data/docs/PricingcomponentvaluesApi.md +7 -7
  50. data/docs/ProductrateplansApi.md +27 -27
  51. data/docs/ProductsApi.md +17 -17
  52. data/docs/ProfilesApi.md +6 -6
  53. data/docs/QuotesApi.md +2 -2
  54. data/docs/RecalculateChargeBatchRequest.md +12 -0
  55. data/docs/RecalculateChargeBatchResponse.md +11 -0
  56. data/docs/RecalculateChargeBatchResponsePagedMetadata.md +14 -0
  57. data/docs/ReceiptsApi.md +6 -6
  58. data/docs/RefundsApi.md +9 -9
  59. data/docs/RolesApi.md +8 -8
  60. data/docs/SearchApi.md +1 -1
  61. data/docs/SingleRecalculateChargeRequest.md +15 -0
  62. data/docs/Subscription.md +1 -0
  63. data/docs/SubscriptionsApi.md +153 -102
  64. data/docs/SynchAppConfigsApi.md +6 -6
  65. data/docs/SynchConfigsApi.md +8 -8
  66. data/docs/SynchJobsApi.md +10 -10
  67. data/docs/TaxationlinksApi.md +8 -8
  68. data/docs/TaxationstrategiesApi.md +11 -11
  69. data/docs/TimeApi.md +1 -1
  70. data/docs/TokenizationApi.md +6 -6
  71. data/docs/UnitofmeasureApi.md +6 -6
  72. data/docs/UpdatePricingComponentValueChangeResult.md +19 -0
  73. data/docs/UpdatePricingComponentValueRequest.md +10 -0
  74. data/docs/UpdatePricingComponentValueResponse.md +9 -0
  75. data/docs/UpdatePricingComponentValueResponsePagedMetadata.md +14 -0
  76. data/docs/UsageApi.md +7 -7
  77. data/docs/UsageperiodsApi.md +3 -3
  78. data/docs/UsageroundingstrategiesApi.md +6 -6
  79. data/docs/UsagesessionsApi.md +6 -6
  80. data/docs/UsernamesApi.md +2 -2
  81. data/docs/UsersApi.md +16 -16
  82. data/docs/VaultedgatewaysApi.md +22 -22
  83. data/docs/WebhooksApi.md +10 -10
  84. data/lib/bf_ruby2.rb +13 -0
  85. data/lib/bf_ruby2/api/accounts_api.rb +92 -31
  86. data/lib/bf_ruby2/api/addresses_api.rb +4 -4
  87. data/lib/bf_ruby2/api/amendments_api.rb +13 -13
  88. data/lib/bf_ruby2/api/analytics_api.rb +15 -15
  89. data/lib/bf_ruby2/api/auditlogs_api.rb +5 -5
  90. data/lib/bf_ruby2/api/charges_api.rb +65 -8
  91. data/lib/bf_ruby2/api/clients_api.rb +6 -6
  92. data/lib/bf_ruby2/api/configurations_api.rb +6 -6
  93. data/lib/bf_ruby2/api/couponbook_api.rb +11 -11
  94. data/lib/bf_ruby2/api/couponbookdefinition_api.rb +8 -8
  95. data/lib/bf_ruby2/api/coupondefinition_api.rb +7 -7
  96. data/lib/bf_ruby2/api/couponinstance_api.rb +12 -12
  97. data/lib/bf_ruby2/api/couponmodifier_api.rb +9 -9
  98. data/lib/bf_ruby2/api/couponrule_api.rb +6 -6
  99. data/lib/bf_ruby2/api/coupons_api.rb +10 -10
  100. data/lib/bf_ruby2/api/creditnotes_api.rb +7 -7
  101. data/lib/bf_ruby2/api/cybersourcetokens_api.rb +7 -7
  102. data/lib/bf_ruby2/api/dunninglines_api.rb +8 -8
  103. data/lib/bf_ruby2/api/emailproviders_api.rb +5 -5
  104. data/lib/bf_ruby2/api/emails_api.rb +1 -1
  105. data/lib/bf_ruby2/api/emailsubscriptions_api.rb +7 -7
  106. data/lib/bf_ruby2/api/fixedtermdefinitions_api.rb +4 -4
  107. data/lib/bf_ruby2/api/fixedterms_api.rb +2 -2
  108. data/lib/bf_ruby2/api/invoices_api.rb +63 -63
  109. data/lib/bf_ruby2/api/metadata_api.rb +6 -6
  110. data/lib/bf_ruby2/api/notifications_api.rb +6 -6
  111. data/lib/bf_ruby2/api/organizations_api.rb +9 -9
  112. data/lib/bf_ruby2/api/passwords_api.rb +2 -2
  113. data/lib/bf_ruby2/api/paymentmethods_api.rb +10 -10
  114. data/lib/bf_ruby2/api/paymentmethodsubscriptionlinks_api.rb +3 -3
  115. data/lib/bf_ruby2/api/payments_api.rb +9 -9
  116. data/lib/bf_ruby2/api/periods_api.rb +2 -2
  117. data/lib/bf_ruby2/api/permissions_api.rb +8 -8
  118. data/lib/bf_ruby2/api/pricingcalculator_api.rb +6 -6
  119. data/lib/bf_ruby2/api/pricingcomponents_api.rb +8 -8
  120. data/lib/bf_ruby2/api/pricingcomponenttiers_api.rb +7 -7
  121. data/lib/bf_ruby2/api/pricingcomponentvaluechanges_api.rb +7 -7
  122. data/lib/bf_ruby2/api/pricingcomponentvalues_api.rb +7 -7
  123. data/lib/bf_ruby2/api/productrateplans_api.rb +27 -27
  124. data/lib/bf_ruby2/api/products_api.rb +17 -17
  125. data/lib/bf_ruby2/api/profiles_api.rb +6 -6
  126. data/lib/bf_ruby2/api/quotes_api.rb +2 -2
  127. data/lib/bf_ruby2/api/receipts_api.rb +6 -6
  128. data/lib/bf_ruby2/api/refunds_api.rb +9 -9
  129. data/lib/bf_ruby2/api/roles_api.rb +8 -8
  130. data/lib/bf_ruby2/api/search_api.rb +1 -1
  131. data/lib/bf_ruby2/api/subscriptions_api.rb +163 -102
  132. data/lib/bf_ruby2/api/synch_app_configs_api.rb +6 -6
  133. data/lib/bf_ruby2/api/synch_configs_api.rb +8 -8
  134. data/lib/bf_ruby2/api/synch_jobs_api.rb +10 -10
  135. data/lib/bf_ruby2/api/taxationlinks_api.rb +8 -8
  136. data/lib/bf_ruby2/api/taxationstrategies_api.rb +11 -11
  137. data/lib/bf_ruby2/api/time_api.rb +1 -1
  138. data/lib/bf_ruby2/api/tokenization_api.rb +6 -6
  139. data/lib/bf_ruby2/api/unitofmeasure_api.rb +6 -6
  140. data/lib/bf_ruby2/api/usage_api.rb +7 -7
  141. data/lib/bf_ruby2/api/usageperiods_api.rb +3 -3
  142. data/lib/bf_ruby2/api/usageroundingstrategies_api.rb +6 -6
  143. data/lib/bf_ruby2/api/usagesessions_api.rb +6 -6
  144. data/lib/bf_ruby2/api/usernames_api.rb +2 -2
  145. data/lib/bf_ruby2/api/users_api.rb +16 -16
  146. data/lib/bf_ruby2/api/vaultedgateways_api.rb +22 -22
  147. data/lib/bf_ruby2/api/webhooks_api.rb +10 -10
  148. data/lib/bf_ruby2/models/add_charge_to_account_response.rb +212 -0
  149. data/lib/bf_ruby2/models/add_charge_to_account_response_paged_metadata.rb +269 -0
  150. data/lib/bf_ruby2/models/add_charges_to_account_api_request.rb +337 -0
  151. data/lib/bf_ruby2/models/batch_update_pricing_component_values_request.rb +244 -0
  152. data/lib/bf_ruby2/models/create_subscription_charge_amendment.rb +1 -24
  153. data/lib/bf_ruby2/models/create_subscription_request.rb +24 -4
  154. data/lib/bf_ruby2/models/invoice.rb +32 -1
  155. data/lib/bf_ruby2/models/nested_charge_request.rb +343 -0
  156. data/lib/bf_ruby2/models/recalculate_charge_batch_request.rb +279 -0
  157. data/lib/bf_ruby2/models/recalculate_charge_batch_response.rb +234 -0
  158. data/lib/bf_ruby2/models/recalculate_charge_batch_response_paged_metadata.rb +269 -0
  159. data/lib/bf_ruby2/models/single_recalculate_charge_request.rb +317 -0
  160. data/lib/bf_ruby2/models/subscription.rb +11 -1
  161. data/lib/bf_ruby2/models/update_pricing_component_value_change_result.rb +367 -0
  162. data/lib/bf_ruby2/models/update_pricing_component_value_request.rb +253 -0
  163. data/lib/bf_ruby2/models/update_pricing_component_value_response.rb +210 -0
  164. data/lib/bf_ruby2/models/update_pricing_component_value_response_paged_metadata.rb +269 -0
  165. data/lib/bf_ruby2/version.rb +1 -1
  166. data/spec/models/add_charge_to_account_response_paged_metadata_spec.rb +89 -0
  167. data/spec/models/add_charge_to_account_response_spec.rb +59 -0
  168. data/spec/models/add_charges_to_account_api_request_spec.rb +115 -0
  169. data/spec/models/batch_update_pricing_component_values_request_spec.rb +63 -0
  170. data/spec/models/nested_charge_request_spec.rb +123 -0
  171. data/spec/models/recalculate_charge_batch_request_spec.rb +81 -0
  172. data/spec/models/recalculate_charge_batch_response_paged_metadata_spec.rb +89 -0
  173. data/spec/models/recalculate_charge_batch_response_spec.rb +71 -0
  174. data/spec/models/single_recalculate_charge_request_spec.rb +103 -0
  175. data/spec/models/update_pricing_component_value_change_result_spec.rb +131 -0
  176. data/spec/models/update_pricing_component_value_request_spec.rb +69 -0
  177. data/spec/models/update_pricing_component_value_response_paged_metadata_spec.rb +89 -0
  178. data/spec/models/update_pricing_component_value_response_spec.rb +59 -0
  179. metadata +54 -2
  180. data/setup.scratch.rb +0 -33
@@ -76,7 +76,7 @@ module BillForward
76
76
  header_params = {}
77
77
 
78
78
  # HTTP header 'Accept' (if needed)
79
- local_header_accept = ['application/json']
79
+ local_header_accept = ['application/json; charset=utf-8']
80
80
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
81
81
 
82
82
  # HTTP header 'Content-Type'
@@ -136,7 +136,7 @@ module BillForward
136
136
  header_params = {}
137
137
 
138
138
  # HTTP header 'Accept' (if needed)
139
- local_header_accept = ['application/json']
139
+ local_header_accept = ['application/json; charset=utf-8']
140
140
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
141
141
 
142
142
  # HTTP header 'Content-Type'
@@ -211,7 +211,7 @@ module BillForward
211
211
  header_params = {}
212
212
 
213
213
  # HTTP header 'Accept' (if needed)
214
- local_header_accept = ['application/json']
214
+ local_header_accept = ['application/json; charset=utf-8']
215
215
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
216
216
 
217
217
  # HTTP header 'Content-Type'
@@ -289,7 +289,7 @@ module BillForward
289
289
  header_params = {}
290
290
 
291
291
  # HTTP header 'Accept' (if needed)
292
- local_header_accept = ['application/json']
292
+ local_header_accept = ['application/json; charset=utf-8']
293
293
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
294
294
 
295
295
  # HTTP header 'Content-Type'
@@ -346,11 +346,11 @@ module BillForward
346
346
  header_params = {}
347
347
 
348
348
  # HTTP header 'Accept' (if needed)
349
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
349
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
350
350
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
351
351
 
352
352
  # HTTP header 'Content-Type'
353
- local_header_content_type = ['application/json']
353
+ local_header_content_type = ['application/json; charset=utf-8']
354
354
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
355
355
 
356
356
  # form parameters
@@ -62,11 +62,11 @@ module BillForward
62
62
  header_params = {}
63
63
 
64
64
  # HTTP header 'Accept' (if needed)
65
- local_header_accept = ['application/json']
65
+ local_header_accept = ['application/json; charset=utf-8']
66
66
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
67
67
 
68
68
  # HTTP header 'Content-Type'
69
- local_header_content_type = ['application/json']
69
+ local_header_content_type = ['application/json; charset=utf-8']
70
70
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
71
71
 
72
72
  # form parameters
@@ -62,11 +62,11 @@ module BillForward
62
62
  header_params = {}
63
63
 
64
64
  # HTTP header 'Accept' (if needed)
65
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
65
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
66
66
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
67
67
 
68
68
  # HTTP header 'Content-Type'
69
- local_header_content_type = ['application/json']
69
+ local_header_content_type = ['application/json; charset=utf-8']
70
70
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
71
71
 
72
72
  # form parameters
@@ -160,7 +160,7 @@ module BillForward
160
160
  header_params = {}
161
161
 
162
162
  # HTTP header 'Accept' (if needed)
163
- local_header_accept = ['application/json']
163
+ local_header_accept = ['application/json; charset=utf-8']
164
164
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
165
165
 
166
166
  # HTTP header 'Content-Type'
@@ -220,7 +220,7 @@ module BillForward
220
220
  header_params = {}
221
221
 
222
222
  # HTTP header 'Accept' (if needed)
223
- local_header_accept = ['application/json']
223
+ local_header_accept = ['application/json; charset=utf-8']
224
224
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
225
225
 
226
226
  # HTTP header 'Content-Type'
@@ -295,7 +295,7 @@ module BillForward
295
295
  header_params = {}
296
296
 
297
297
  # HTTP header 'Accept' (if needed)
298
- local_header_accept = ['application/json']
298
+ local_header_accept = ['application/json; charset=utf-8']
299
299
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
300
300
 
301
301
  # HTTP header 'Content-Type'
@@ -370,7 +370,7 @@ module BillForward
370
370
  header_params = {}
371
371
 
372
372
  # HTTP header 'Accept' (if needed)
373
- local_header_accept = ['application/json']
373
+ local_header_accept = ['application/json; charset=utf-8']
374
374
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
375
375
 
376
376
  # HTTP header 'Content-Type'
@@ -62,11 +62,11 @@ module BillForward
62
62
  header_params = {}
63
63
 
64
64
  # HTTP header 'Accept' (if needed)
65
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
65
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
66
66
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
67
67
 
68
68
  # HTTP header 'Content-Type'
69
- local_header_content_type = ['application/json']
69
+ local_header_content_type = ['application/json; charset=utf-8']
70
70
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
71
71
 
72
72
  # form parameters
@@ -133,7 +133,7 @@ module BillForward
133
133
  header_params = {}
134
134
 
135
135
  # HTTP header 'Accept' (if needed)
136
- local_header_accept = ['application/json']
136
+ local_header_accept = ['application/json; charset=utf-8']
137
137
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
138
138
 
139
139
  # HTTP header 'Content-Type'
@@ -193,7 +193,7 @@ module BillForward
193
193
  header_params = {}
194
194
 
195
195
  # HTTP header 'Accept' (if needed)
196
- local_header_accept = ['application/json']
196
+ local_header_accept = ['application/json; charset=utf-8']
197
197
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
198
198
 
199
199
  # HTTP header 'Content-Type'
@@ -253,7 +253,7 @@ module BillForward
253
253
  header_params = {}
254
254
 
255
255
  # HTTP header 'Accept' (if needed)
256
- local_header_accept = ['application/json']
256
+ local_header_accept = ['application/json; charset=utf-8']
257
257
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
258
258
 
259
259
  # HTTP header 'Content-Type'
@@ -313,7 +313,7 @@ module BillForward
313
313
  header_params = {}
314
314
 
315
315
  # HTTP header 'Accept' (if needed)
316
- local_header_accept = ['application/json']
316
+ local_header_accept = ['application/json; charset=utf-8']
317
317
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
318
318
 
319
319
  # HTTP header 'Content-Type'
@@ -373,7 +373,7 @@ module BillForward
373
373
  header_params = {}
374
374
 
375
375
  # HTTP header 'Accept' (if needed)
376
- local_header_accept = ['application/json']
376
+ local_header_accept = ['application/json; charset=utf-8']
377
377
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
378
378
 
379
379
  # HTTP header 'Content-Type'
@@ -511,11 +511,11 @@ module BillForward
511
511
  header_params = {}
512
512
 
513
513
  # HTTP header 'Accept' (if needed)
514
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
514
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
515
515
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
516
516
 
517
517
  # HTTP header 'Content-Type'
518
- local_header_content_type = ['application/json']
518
+ local_header_content_type = ['application/json; charset=utf-8']
519
519
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
520
520
 
521
521
  # form parameters
@@ -62,11 +62,11 @@ module BillForward
62
62
  header_params = {}
63
63
 
64
64
  # HTTP header 'Accept' (if needed)
65
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
65
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
66
66
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
67
67
 
68
68
  # HTTP header 'Content-Type'
69
- local_header_content_type = ['application/json']
69
+ local_header_content_type = ['application/json; charset=utf-8']
70
70
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
71
71
 
72
72
  # form parameters
@@ -136,7 +136,7 @@ module BillForward
136
136
  header_params = {}
137
137
 
138
138
  # HTTP header 'Accept' (if needed)
139
- local_header_accept = ['application/json']
139
+ local_header_accept = ['application/json; charset=utf-8']
140
140
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
141
141
 
142
142
  # HTTP header 'Content-Type'
@@ -199,7 +199,7 @@ module BillForward
199
199
  header_params = {}
200
200
 
201
201
  # HTTP header 'Accept' (if needed)
202
- local_header_accept = ['application/json']
202
+ local_header_accept = ['application/json; charset=utf-8']
203
203
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
204
204
 
205
205
  # HTTP header 'Content-Type'
@@ -275,7 +275,7 @@ module BillForward
275
275
  header_params = {}
276
276
 
277
277
  # HTTP header 'Accept' (if needed)
278
- local_header_accept = ['application/json']
278
+ local_header_accept = ['application/json; charset=utf-8']
279
279
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
280
280
 
281
281
  # HTTP header 'Content-Type'
@@ -335,7 +335,7 @@ module BillForward
335
335
  header_params = {}
336
336
 
337
337
  # HTTP header 'Accept' (if needed)
338
- local_header_accept = ['application/json']
338
+ local_header_accept = ['application/json; charset=utf-8']
339
339
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
340
340
 
341
341
  # HTTP header 'Content-Type'
@@ -392,11 +392,11 @@ module BillForward
392
392
  header_params = {}
393
393
 
394
394
  # HTTP header 'Accept' (if needed)
395
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
395
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
396
396
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
397
397
 
398
398
  # HTTP header 'Content-Type'
399
- local_header_content_type = ['application/json']
399
+ local_header_content_type = ['application/json; charset=utf-8']
400
400
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
401
401
 
402
402
  # form parameters
@@ -80,7 +80,7 @@ module BillForward
80
80
  header_params = {}
81
81
 
82
82
  # HTTP header 'Accept' (if needed)
83
- local_header_accept = ['application/json']
83
+ local_header_accept = ['application/json; charset=utf-8']
84
84
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
85
85
 
86
86
  # HTTP header 'Content-Type'
@@ -66,11 +66,11 @@ module BillForward
66
66
  header_params = {}
67
67
 
68
68
  # HTTP header 'Accept' (if needed)
69
- local_header_accept = ['application/json']
69
+ local_header_accept = ['application/json; charset=utf-8']
70
70
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
71
71
 
72
72
  # HTTP header 'Content-Type'
73
- local_header_content_type = ['application/json']
73
+ local_header_content_type = ['application/json; charset=utf-8']
74
74
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
75
75
 
76
76
  # form parameters
@@ -127,11 +127,11 @@ module BillForward
127
127
  header_params = {}
128
128
 
129
129
  # HTTP header 'Accept' (if needed)
130
- local_header_accept = ['application/json']
130
+ local_header_accept = ['application/json; charset=utf-8']
131
131
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
132
132
 
133
133
  # HTTP header 'Content-Type'
134
- local_header_content_type = ['application/json']
134
+ local_header_content_type = ['application/json; charset=utf-8']
135
135
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
136
136
 
137
137
  # form parameters
@@ -188,11 +188,11 @@ module BillForward
188
188
  header_params = {}
189
189
 
190
190
  # HTTP header 'Accept' (if needed)
191
- local_header_accept = ['application/json']
191
+ local_header_accept = ['application/json; charset=utf-8']
192
192
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
193
193
 
194
194
  # HTTP header 'Content-Type'
195
- local_header_content_type = ['application/json']
195
+ local_header_content_type = ['application/json; charset=utf-8']
196
196
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
197
197
 
198
198
  # form parameters
@@ -249,11 +249,11 @@ module BillForward
249
249
  header_params = {}
250
250
 
251
251
  # HTTP header 'Accept' (if needed)
252
- local_header_accept = ['application/json']
252
+ local_header_accept = ['application/json; charset=utf-8']
253
253
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
254
254
 
255
255
  # HTTP header 'Content-Type'
256
- local_header_content_type = ['application/json']
256
+ local_header_content_type = ['application/json; charset=utf-8']
257
257
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
258
258
 
259
259
  # form parameters
@@ -310,11 +310,11 @@ module BillForward
310
310
  header_params = {}
311
311
 
312
312
  # HTTP header 'Accept' (if needed)
313
- local_header_accept = ['application/json']
313
+ local_header_accept = ['application/json; charset=utf-8']
314
314
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
315
315
 
316
316
  # HTTP header 'Content-Type'
317
- local_header_content_type = ['application/json']
317
+ local_header_content_type = ['application/json; charset=utf-8']
318
318
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
319
319
 
320
320
  # form parameters
@@ -385,11 +385,11 @@ module BillForward
385
385
  header_params = {}
386
386
 
387
387
  # HTTP header 'Accept' (if needed)
388
- local_header_accept = ['application/json']
388
+ local_header_accept = ['application/json; charset=utf-8']
389
389
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
390
390
 
391
391
  # HTTP header 'Content-Type'
392
- local_header_content_type = ['text/plain', 'application/json']
392
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
393
393
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
394
394
 
395
395
  # form parameters
@@ -442,11 +442,11 @@ module BillForward
442
442
  header_params = {}
443
443
 
444
444
  # HTTP header 'Accept' (if needed)
445
- local_header_accept = ['application/json']
445
+ local_header_accept = ['application/json; charset=utf-8']
446
446
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
447
447
 
448
448
  # HTTP header 'Content-Type'
449
- local_header_content_type = ['application/json']
449
+ local_header_content_type = ['application/json; charset=utf-8']
450
450
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
451
451
 
452
452
  # form parameters
@@ -503,11 +503,11 @@ module BillForward
503
503
  header_params = {}
504
504
 
505
505
  # HTTP header 'Accept' (if needed)
506
- local_header_accept = ['application/json']
506
+ local_header_accept = ['application/json; charset=utf-8']
507
507
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
508
508
 
509
509
  # HTTP header 'Content-Type'
510
- local_header_content_type = ['application/json']
510
+ local_header_content_type = ['application/json; charset=utf-8']
511
511
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
512
512
 
513
513
  # form parameters
@@ -560,11 +560,11 @@ module BillForward
560
560
  header_params = {}
561
561
 
562
562
  # HTTP header 'Accept' (if needed)
563
- local_header_accept = ['application/json']
563
+ local_header_accept = ['application/json; charset=utf-8']
564
564
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
565
565
 
566
566
  # HTTP header 'Content-Type'
567
- local_header_content_type = ['application/json']
567
+ local_header_content_type = ['application/json; charset=utf-8']
568
568
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
569
569
 
570
570
  # form parameters
@@ -617,11 +617,11 @@ module BillForward
617
617
  header_params = {}
618
618
 
619
619
  # HTTP header 'Accept' (if needed)
620
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
620
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
621
621
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
622
622
 
623
623
  # HTTP header 'Content-Type'
624
- local_header_content_type = ['application/json']
624
+ local_header_content_type = ['application/json; charset=utf-8']
625
625
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
626
626
 
627
627
  # form parameters
@@ -674,11 +674,11 @@ module BillForward
674
674
  header_params = {}
675
675
 
676
676
  # HTTP header 'Accept' (if needed)
677
- local_header_accept = ['application/json']
677
+ local_header_accept = ['application/json; charset=utf-8']
678
678
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
679
679
 
680
680
  # HTTP header 'Content-Type'
681
- local_header_content_type = ['application/json']
681
+ local_header_content_type = ['application/json; charset=utf-8']
682
682
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
683
683
 
684
684
  # form parameters
@@ -735,11 +735,11 @@ module BillForward
735
735
  header_params = {}
736
736
 
737
737
  # HTTP header 'Accept' (if needed)
738
- local_header_accept = ['application/json']
738
+ local_header_accept = ['application/json; charset=utf-8']
739
739
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
740
740
 
741
741
  # HTTP header 'Content-Type'
742
- local_header_content_type = ['application/json']
742
+ local_header_content_type = ['application/json; charset=utf-8']
743
743
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
744
744
 
745
745
  # form parameters
@@ -795,11 +795,11 @@ module BillForward
795
795
  header_params = {}
796
796
 
797
797
  # HTTP header 'Accept' (if needed)
798
- local_header_accept = ['application/json']
798
+ local_header_accept = ['application/json; charset=utf-8']
799
799
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
800
800
 
801
801
  # HTTP header 'Content-Type'
802
- local_header_content_type = ['text/plain', 'application/json']
802
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
803
803
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
804
804
 
805
805
  # form parameters
@@ -856,11 +856,11 @@ module BillForward
856
856
  header_params = {}
857
857
 
858
858
  # HTTP header 'Accept' (if needed)
859
- local_header_accept = ['application/json']
859
+ local_header_accept = ['application/json; charset=utf-8']
860
860
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
861
861
 
862
862
  # HTTP header 'Content-Type'
863
- local_header_content_type = ['application/json']
863
+ local_header_content_type = ['application/json; charset=utf-8']
864
864
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
865
865
 
866
866
  # form parameters
@@ -942,11 +942,11 @@ module BillForward
942
942
  header_params = {}
943
943
 
944
944
  # HTTP header 'Accept' (if needed)
945
- local_header_accept = ['application/json']
945
+ local_header_accept = ['application/json; charset=utf-8']
946
946
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
947
947
 
948
948
  # HTTP header 'Content-Type'
949
- local_header_content_type = ['text/plain', 'application/json']
949
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
950
950
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
951
951
 
952
952
  # form parameters
@@ -1020,11 +1020,11 @@ module BillForward
1020
1020
  header_params = {}
1021
1021
 
1022
1022
  # HTTP header 'Accept' (if needed)
1023
- local_header_accept = ['application/json']
1023
+ local_header_accept = ['application/json; charset=utf-8']
1024
1024
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1025
1025
 
1026
1026
  # HTTP header 'Content-Type'
1027
- local_header_content_type = ['text/plain', 'application/json']
1027
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1028
1028
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1029
1029
 
1030
1030
  # form parameters
@@ -1098,11 +1098,11 @@ module BillForward
1098
1098
  header_params = {}
1099
1099
 
1100
1100
  # HTTP header 'Accept' (if needed)
1101
- local_header_accept = ['application/json']
1101
+ local_header_accept = ['application/json; charset=utf-8']
1102
1102
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1103
1103
 
1104
1104
  # HTTP header 'Content-Type'
1105
- local_header_content_type = ['text/plain', 'application/json']
1105
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1106
1106
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1107
1107
 
1108
1108
  # form parameters
@@ -1188,11 +1188,11 @@ module BillForward
1188
1188
  header_params = {}
1189
1189
 
1190
1190
  # HTTP header 'Accept' (if needed)
1191
- local_header_accept = ['application/json']
1191
+ local_header_accept = ['application/json; charset=utf-8']
1192
1192
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1193
1193
 
1194
1194
  # HTTP header 'Content-Type'
1195
- local_header_content_type = ['text/plain', 'application/json']
1195
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1196
1196
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1197
1197
 
1198
1198
  # form parameters
@@ -1266,11 +1266,11 @@ module BillForward
1266
1266
  header_params = {}
1267
1267
 
1268
1268
  # HTTP header 'Accept' (if needed)
1269
- local_header_accept = ['application/json']
1269
+ local_header_accept = ['application/json; charset=utf-8']
1270
1270
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1271
1271
 
1272
1272
  # HTTP header 'Content-Type'
1273
- local_header_content_type = ['text/plain', 'application/json']
1273
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1274
1274
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1275
1275
 
1276
1276
  # form parameters
@@ -1344,11 +1344,11 @@ module BillForward
1344
1344
  header_params = {}
1345
1345
 
1346
1346
  # HTTP header 'Accept' (if needed)
1347
- local_header_accept = ['application/json']
1347
+ local_header_accept = ['application/json; charset=utf-8']
1348
1348
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1349
1349
 
1350
1350
  # HTTP header 'Content-Type'
1351
- local_header_content_type = ['text/plain', 'application/json']
1351
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1352
1352
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1353
1353
 
1354
1354
  # form parameters
@@ -1427,11 +1427,11 @@ module BillForward
1427
1427
  header_params = {}
1428
1428
 
1429
1429
  # HTTP header 'Accept' (if needed)
1430
- local_header_accept = ['application/json']
1430
+ local_header_accept = ['application/json; charset=utf-8']
1431
1431
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1432
1432
 
1433
1433
  # HTTP header 'Content-Type'
1434
- local_header_content_type = ['text/plain', 'application/json']
1434
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1435
1435
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1436
1436
 
1437
1437
  # form parameters
@@ -1487,11 +1487,11 @@ module BillForward
1487
1487
  header_params = {}
1488
1488
 
1489
1489
  # HTTP header 'Accept' (if needed)
1490
- local_header_accept = ['application/json']
1490
+ local_header_accept = ['application/json; charset=utf-8']
1491
1491
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1492
1492
 
1493
1493
  # HTTP header 'Content-Type'
1494
- local_header_content_type = ['text/plain', 'application/json']
1494
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1495
1495
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1496
1496
 
1497
1497
  # form parameters
@@ -1547,11 +1547,11 @@ module BillForward
1547
1547
  header_params = {}
1548
1548
 
1549
1549
  # HTTP header 'Accept' (if needed)
1550
- local_header_accept = ['application/json']
1550
+ local_header_accept = ['application/json; charset=utf-8']
1551
1551
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1552
1552
 
1553
1553
  # HTTP header 'Content-Type'
1554
- local_header_content_type = ['text/plain', 'application/json']
1554
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1555
1555
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1556
1556
 
1557
1557
  # form parameters
@@ -1604,11 +1604,11 @@ module BillForward
1604
1604
  header_params = {}
1605
1605
 
1606
1606
  # HTTP header 'Accept' (if needed)
1607
- local_header_accept = ['application/json']
1607
+ local_header_accept = ['application/json; charset=utf-8']
1608
1608
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1609
1609
 
1610
1610
  # HTTP header 'Content-Type'
1611
- local_header_content_type = ['text/plain', 'application/json']
1611
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1612
1612
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1613
1613
 
1614
1614
  # form parameters
@@ -1685,11 +1685,11 @@ module BillForward
1685
1685
  header_params = {}
1686
1686
 
1687
1687
  # HTTP header 'Accept' (if needed)
1688
- local_header_accept = ['application/json']
1688
+ local_header_accept = ['application/json; charset=utf-8']
1689
1689
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1690
1690
 
1691
1691
  # HTTP header 'Content-Type'
1692
- local_header_content_type = ['text/plain', 'application/json']
1692
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1693
1693
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1694
1694
 
1695
1695
  # form parameters
@@ -1748,11 +1748,11 @@ module BillForward
1748
1748
  header_params = {}
1749
1749
 
1750
1750
  # HTTP header 'Accept' (if needed)
1751
- local_header_accept = ['application/json']
1751
+ local_header_accept = ['application/json; charset=utf-8']
1752
1752
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1753
1753
 
1754
1754
  # HTTP header 'Content-Type'
1755
- local_header_content_type = ['text/plain', 'application/json']
1755
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1756
1756
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1757
1757
 
1758
1758
  # form parameters
@@ -1829,11 +1829,11 @@ module BillForward
1829
1829
  header_params = {}
1830
1830
 
1831
1831
  # HTTP header 'Accept' (if needed)
1832
- local_header_accept = ['application/json']
1832
+ local_header_accept = ['application/json; charset=utf-8']
1833
1833
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1834
1834
 
1835
1835
  # HTTP header 'Content-Type'
1836
- local_header_content_type = ['text/plain', 'application/json']
1836
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1837
1837
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1838
1838
 
1839
1839
  # form parameters
@@ -1910,11 +1910,11 @@ module BillForward
1910
1910
  header_params = {}
1911
1911
 
1912
1912
  # HTTP header 'Accept' (if needed)
1913
- local_header_accept = ['application/json']
1913
+ local_header_accept = ['application/json; charset=utf-8']
1914
1914
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1915
1915
 
1916
1916
  # HTTP header 'Content-Type'
1917
- local_header_content_type = ['text/plain', 'application/json']
1917
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
1918
1918
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1919
1919
 
1920
1920
  # form parameters
@@ -1995,11 +1995,11 @@ module BillForward
1995
1995
  header_params = {}
1996
1996
 
1997
1997
  # HTTP header 'Accept' (if needed)
1998
- local_header_accept = ['application/json']
1998
+ local_header_accept = ['application/json; charset=utf-8']
1999
1999
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2000
2000
 
2001
2001
  # HTTP header 'Content-Type'
2002
- local_header_content_type = ['text/plain', 'application/json']
2002
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2003
2003
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2004
2004
 
2005
2005
  # form parameters
@@ -2055,11 +2055,11 @@ module BillForward
2055
2055
  header_params = {}
2056
2056
 
2057
2057
  # HTTP header 'Accept' (if needed)
2058
- local_header_accept = ['application/json']
2058
+ local_header_accept = ['application/json; charset=utf-8']
2059
2059
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2060
2060
 
2061
2061
  # HTTP header 'Content-Type'
2062
- local_header_content_type = ['text/plain', 'application/json']
2062
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2063
2063
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2064
2064
 
2065
2065
  # form parameters
@@ -2134,11 +2134,11 @@ module BillForward
2134
2134
  header_params = {}
2135
2135
 
2136
2136
  # HTTP header 'Accept' (if needed)
2137
- local_header_accept = ['application/json']
2137
+ local_header_accept = ['application/json; charset=utf-8']
2138
2138
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2139
2139
 
2140
2140
  # HTTP header 'Content-Type'
2141
- local_header_content_type = ['text/plain', 'application/json']
2141
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2142
2142
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2143
2143
 
2144
2144
  # form parameters
@@ -2213,11 +2213,11 @@ module BillForward
2213
2213
  header_params = {}
2214
2214
 
2215
2215
  # HTTP header 'Accept' (if needed)
2216
- local_header_accept = ['application/json']
2216
+ local_header_accept = ['application/json; charset=utf-8']
2217
2217
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2218
2218
 
2219
2219
  # HTTP header 'Content-Type'
2220
- local_header_content_type = ['text/plain', 'application/json']
2220
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2221
2221
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2222
2222
 
2223
2223
  # form parameters
@@ -2292,11 +2292,11 @@ module BillForward
2292
2292
  header_params = {}
2293
2293
 
2294
2294
  # HTTP header 'Accept' (if needed)
2295
- local_header_accept = ['application/json']
2295
+ local_header_accept = ['application/json; charset=utf-8']
2296
2296
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2297
2297
 
2298
2298
  # HTTP header 'Content-Type'
2299
- local_header_content_type = ['text/plain', 'application/json']
2299
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2300
2300
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2301
2301
 
2302
2302
  # form parameters
@@ -2371,11 +2371,11 @@ module BillForward
2371
2371
  header_params = {}
2372
2372
 
2373
2373
  # HTTP header 'Accept' (if needed)
2374
- local_header_accept = ['application/json']
2374
+ local_header_accept = ['application/json; charset=utf-8']
2375
2375
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2376
2376
 
2377
2377
  # HTTP header 'Content-Type'
2378
- local_header_content_type = ['text/plain', 'application/json']
2378
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2379
2379
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2380
2380
 
2381
2381
  # form parameters
@@ -2446,11 +2446,11 @@ module BillForward
2446
2446
  header_params = {}
2447
2447
 
2448
2448
  # HTTP header 'Accept' (if needed)
2449
- local_header_accept = ['application/json']
2449
+ local_header_accept = ['application/json; charset=utf-8']
2450
2450
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2451
2451
 
2452
2452
  # HTTP header 'Content-Type'
2453
- local_header_content_type = ['text/plain', 'application/json']
2453
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2454
2454
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2455
2455
 
2456
2456
  # form parameters
@@ -2536,11 +2536,11 @@ module BillForward
2536
2536
  header_params = {}
2537
2537
 
2538
2538
  # HTTP header 'Accept' (if needed)
2539
- local_header_accept = ['application/json']
2539
+ local_header_accept = ['application/json; charset=utf-8']
2540
2540
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2541
2541
 
2542
2542
  # HTTP header 'Content-Type'
2543
- local_header_content_type = ['text/plain', 'application/json']
2543
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2544
2544
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2545
2545
 
2546
2546
  # form parameters
@@ -2593,11 +2593,11 @@ module BillForward
2593
2593
  header_params = {}
2594
2594
 
2595
2595
  # HTTP header 'Accept' (if needed)
2596
- local_header_accept = ['application/json']
2596
+ local_header_accept = ['application/json; charset=utf-8']
2597
2597
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2598
2598
 
2599
2599
  # HTTP header 'Content-Type'
2600
- local_header_content_type = ['application/json']
2600
+ local_header_content_type = ['application/json; charset=utf-8']
2601
2601
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2602
2602
 
2603
2603
  # form parameters
@@ -2654,11 +2654,11 @@ module BillForward
2654
2654
  header_params = {}
2655
2655
 
2656
2656
  # HTTP header 'Accept' (if needed)
2657
- local_header_accept = ['application/json']
2657
+ local_header_accept = ['application/json; charset=utf-8']
2658
2658
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2659
2659
 
2660
2660
  # HTTP header 'Content-Type'
2661
- local_header_content_type = ['application/json']
2661
+ local_header_content_type = ['application/json; charset=utf-8']
2662
2662
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2663
2663
 
2664
2664
  # form parameters
@@ -2715,11 +2715,11 @@ module BillForward
2715
2715
  header_params = {}
2716
2716
 
2717
2717
  # HTTP header 'Accept' (if needed)
2718
- local_header_accept = ['application/json']
2718
+ local_header_accept = ['application/json; charset=utf-8']
2719
2719
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2720
2720
 
2721
2721
  # HTTP header 'Content-Type'
2722
- local_header_content_type = ['application/json']
2722
+ local_header_content_type = ['application/json; charset=utf-8']
2723
2723
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2724
2724
 
2725
2725
  # form parameters
@@ -2779,11 +2779,11 @@ module BillForward
2779
2779
  header_params = {}
2780
2780
 
2781
2781
  # HTTP header 'Accept' (if needed)
2782
- local_header_accept = ['application/json']
2782
+ local_header_accept = ['application/json; charset=utf-8']
2783
2783
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2784
2784
 
2785
2785
  # HTTP header 'Content-Type'
2786
- local_header_content_type = ['text/plain', 'application/json']
2786
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2787
2787
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2788
2788
 
2789
2789
  # form parameters
@@ -2843,11 +2843,11 @@ module BillForward
2843
2843
  header_params = {}
2844
2844
 
2845
2845
  # HTTP header 'Accept' (if needed)
2846
- local_header_accept = ['application/json']
2846
+ local_header_accept = ['application/json; charset=utf-8']
2847
2847
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2848
2848
 
2849
2849
  # HTTP header 'Content-Type'
2850
- local_header_content_type = ['text/plain', 'application/json']
2850
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2851
2851
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2852
2852
 
2853
2853
  # form parameters
@@ -2907,11 +2907,11 @@ module BillForward
2907
2907
  header_params = {}
2908
2908
 
2909
2909
  # HTTP header 'Accept' (if needed)
2910
- local_header_accept = ['application/json']
2910
+ local_header_accept = ['application/json; charset=utf-8']
2911
2911
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2912
2912
 
2913
2913
  # HTTP header 'Content-Type'
2914
- local_header_content_type = ['text/plain', 'application/json']
2914
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2915
2915
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2916
2916
 
2917
2917
  # form parameters
@@ -2971,11 +2971,11 @@ module BillForward
2971
2971
  header_params = {}
2972
2972
 
2973
2973
  # HTTP header 'Accept' (if needed)
2974
- local_header_accept = ['application/json']
2974
+ local_header_accept = ['application/json; charset=utf-8']
2975
2975
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
2976
2976
 
2977
2977
  # HTTP header 'Content-Type'
2978
- local_header_content_type = ['text/plain', 'application/json']
2978
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
2979
2979
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
2980
2980
 
2981
2981
  # form parameters
@@ -3032,11 +3032,11 @@ module BillForward
3032
3032
  header_params = {}
3033
3033
 
3034
3034
  # HTTP header 'Accept' (if needed)
3035
- local_header_accept = ['application/json']
3035
+ local_header_accept = ['application/json; charset=utf-8']
3036
3036
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3037
3037
 
3038
3038
  # HTTP header 'Content-Type'
3039
- local_header_content_type = ['application/json']
3039
+ local_header_content_type = ['application/json; charset=utf-8']
3040
3040
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3041
3041
 
3042
3042
  # form parameters
@@ -3093,11 +3093,11 @@ module BillForward
3093
3093
  header_params = {}
3094
3094
 
3095
3095
  # HTTP header 'Accept' (if needed)
3096
- local_header_accept = ['application/json']
3096
+ local_header_accept = ['application/json; charset=utf-8']
3097
3097
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3098
3098
 
3099
3099
  # HTTP header 'Content-Type'
3100
- local_header_content_type = ['application/json']
3100
+ local_header_content_type = ['application/json; charset=utf-8']
3101
3101
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3102
3102
 
3103
3103
  # form parameters
@@ -3157,11 +3157,11 @@ module BillForward
3157
3157
  header_params = {}
3158
3158
 
3159
3159
  # HTTP header 'Accept' (if needed)
3160
- local_header_accept = ['application/json']
3160
+ local_header_accept = ['application/json; charset=utf-8']
3161
3161
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3162
3162
 
3163
3163
  # HTTP header 'Content-Type'
3164
- local_header_content_type = ['application/json']
3164
+ local_header_content_type = ['application/json; charset=utf-8']
3165
3165
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3166
3166
 
3167
3167
  # form parameters
@@ -3218,11 +3218,11 @@ module BillForward
3218
3218
  header_params = {}
3219
3219
 
3220
3220
  # HTTP header 'Accept' (if needed)
3221
- local_header_accept = ['application/json']
3221
+ local_header_accept = ['application/json; charset=utf-8']
3222
3222
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3223
3223
 
3224
3224
  # HTTP header 'Content-Type'
3225
- local_header_content_type = ['application/json']
3225
+ local_header_content_type = ['application/json; charset=utf-8']
3226
3226
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3227
3227
 
3228
3228
  # form parameters
@@ -3244,6 +3244,67 @@ module BillForward
3244
3244
  return data, status_code, headers
3245
3245
  end
3246
3246
 
3247
+ # Upgrades/downgrades this subscription to some new value for the specified pricing-component. This endpoint can do synchronous (immediate) and asynchronous (delayed) updates. A synchronous update will generate a charge/credit for an UPGRADE or DOWNGRADE. An asynchronous update will generate an amendment scheduled for the end of the billing period. By default each update is considered synchronous, you can make them asynchronous setting 'applyChangeNow' to 'false'.
3248
+ # {\"nickname\":\"Set values\",\"request\":\"setBatchPricingComponentValueRequest.html\",\"response\":\"setBatchPricingComponentValue.html\"}
3249
+ # @param subscription_id ID of the subscription
3250
+ # @param request The batched update requests.
3251
+ # @param [Hash] opts the optional parameters
3252
+ # @return [UpdatePricingComponentValueResponsePagedMetadata]
3253
+ def set_pricing_component_value_on_subscription_batch_update(subscription_id, request, opts = {})
3254
+ data, _status_code, _headers = set_pricing_component_value_on_subscription_batch_update_with_http_info(subscription_id, request, opts)
3255
+ return data
3256
+ end
3257
+
3258
+ # Upgrades/downgrades this subscription to some new value for the specified pricing-component. This endpoint can do synchronous (immediate) and asynchronous (delayed) updates. A synchronous update will generate a charge/credit for an UPGRADE or DOWNGRADE. An asynchronous update will generate an amendment scheduled for the end of the billing period. By default each update is considered synchronous, you can make them asynchronous setting 'applyChangeNow' to 'false'.
3259
+ # {\"nickname\":\"Set values\",\"request\":\"setBatchPricingComponentValueRequest.html\",\"response\":\"setBatchPricingComponentValue.html\"}
3260
+ # @param subscription_id ID of the subscription
3261
+ # @param request The batched update requests.
3262
+ # @param [Hash] opts the optional parameters
3263
+ # @return [Array<(UpdatePricingComponentValueResponsePagedMetadata, Fixnum, Hash)>] UpdatePricingComponentValueResponsePagedMetadata data, response status code and response headers
3264
+ def set_pricing_component_value_on_subscription_batch_update_with_http_info(subscription_id, request, opts = {})
3265
+ if @api_client.config.debugging
3266
+ @api_client.config.logger.debug "Calling API: SubscriptionsApi.set_pricing_component_value_on_subscription_batch_update ..."
3267
+ end
3268
+ # verify the required parameter 'subscription_id' is set
3269
+ fail ArgumentError, "Missing the required parameter 'subscription_id' when calling SubscriptionsApi.set_pricing_component_value_on_subscription_batch_update" if subscription_id.nil?
3270
+ # verify the required parameter 'request' is set
3271
+ fail ArgumentError, "Missing the required parameter 'request' when calling SubscriptionsApi.set_pricing_component_value_on_subscription_batch_update" if request.nil?
3272
+ # resource path
3273
+ local_var_path = "/subscriptions/{subscription-ID}/values".sub('{format}','json').sub('{' + 'subscription-ID' + '}', subscription_id.to_s)
3274
+
3275
+ # query parameters
3276
+ query_params = {}
3277
+
3278
+ # header parameters
3279
+ header_params = {}
3280
+
3281
+ # HTTP header 'Accept' (if needed)
3282
+ local_header_accept = ['application/json; charset=utf-8']
3283
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3284
+
3285
+ # HTTP header 'Content-Type'
3286
+ local_header_content_type = ['application/json; charset=utf-8']
3287
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3288
+
3289
+ # form parameters
3290
+ form_params = {}
3291
+
3292
+ # http body (model)
3293
+ post_body = @api_client.object_to_http_body(request)
3294
+ auth_names = []
3295
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3296
+ :header_params => header_params,
3297
+ :query_params => query_params,
3298
+ :form_params => form_params,
3299
+ :body => post_body,
3300
+ :auth_names => auth_names,
3301
+ :return_type => 'UpdatePricingComponentValueResponsePagedMetadata')
3302
+ if @api_client.config.debugging
3303
+ @api_client.config.logger.debug "API called: SubscriptionsApi#set_pricing_component_value_on_subscription_batch_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3304
+ end
3305
+ return data, status_code, headers
3306
+ end
3307
+
3247
3308
  # Upgrades/downgrades this subscription to some new value for the specified pricing-component.
3248
3309
  # {\"nickname\":\"Set value\",\"request\":\"setPricingComponentValueRequest.html\",\"response\":\"setPricingComponentValue.html\"}
3249
3310
  # @param subscription_id
@@ -3283,11 +3344,11 @@ module BillForward
3283
3344
  header_params = {}
3284
3345
 
3285
3346
  # HTTP header 'Accept' (if needed)
3286
- local_header_accept = ['application/json']
3347
+ local_header_accept = ['application/json; charset=utf-8']
3287
3348
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3288
3349
 
3289
3350
  # HTTP header 'Content-Type'
3290
- local_header_content_type = ['application/json']
3351
+ local_header_content_type = ['application/json; charset=utf-8']
3291
3352
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3292
3353
 
3293
3354
  # form parameters
@@ -3340,11 +3401,11 @@ module BillForward
3340
3401
  header_params = {}
3341
3402
 
3342
3403
  # HTTP header 'Accept' (if needed)
3343
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
3404
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
3344
3405
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3345
3406
 
3346
3407
  # HTTP header 'Content-Type'
3347
- local_header_content_type = ['application/json']
3408
+ local_header_content_type = ['application/json; charset=utf-8']
3348
3409
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3349
3410
 
3350
3411
  # form parameters
@@ -3397,11 +3458,11 @@ module BillForward
3397
3458
  header_params = {}
3398
3459
 
3399
3460
  # HTTP header 'Accept' (if needed)
3400
- local_header_accept = ['application/json']
3461
+ local_header_accept = ['application/json; charset=utf-8']
3401
3462
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3402
3463
 
3403
3464
  # HTTP header 'Content-Type'
3404
- local_header_content_type = ['application/json']
3465
+ local_header_content_type = ['application/json; charset=utf-8']
3405
3466
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3406
3467
 
3407
3468
  # form parameters
@@ -3461,11 +3522,11 @@ module BillForward
3461
3522
  header_params = {}
3462
3523
 
3463
3524
  # HTTP header 'Accept' (if needed)
3464
- local_header_accept = ['application/json']
3525
+ local_header_accept = ['application/json; charset=utf-8']
3465
3526
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
3466
3527
 
3467
3528
  # HTTP header 'Content-Type'
3468
- local_header_content_type = ['application/json']
3529
+ local_header_content_type = ['application/json; charset=utf-8']
3469
3530
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
3470
3531
 
3471
3532
  # form parameters