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
data/lib/bf_ruby2.rb CHANGED
@@ -37,6 +37,9 @@ require 'bf_ruby2/models/account_ltv_result_paged_metadata'
37
37
  require 'bf_ruby2/models/account_paged_metadata'
38
38
  require 'bf_ruby2/models/account_payments_result_paged_metadata'
39
39
  require 'bf_ruby2/models/add_charge_request'
40
+ require 'bf_ruby2/models/add_charge_to_account_response'
41
+ require 'bf_ruby2/models/add_charge_to_account_response_paged_metadata'
42
+ require 'bf_ruby2/models/add_charges_to_account_api_request'
40
43
  require 'bf_ruby2/models/add_coupon_code_request'
41
44
  require 'bf_ruby2/models/add_payment_method_request'
42
45
  require 'bf_ruby2/models/add_taxation_strategy_request'
@@ -55,6 +58,7 @@ require 'bf_ruby2/models/bf_error'
55
58
  require 'bf_ruby2/models/bf_permission'
56
59
  require 'bf_ruby2/models/bf_permission_paged_metadata'
57
60
  require 'bf_ruby2/models/bank_account_verification_paged_metadata'
61
+ require 'bf_ruby2/models/batch_update_pricing_component_values_request'
58
62
  require 'bf_ruby2/models/billforward_managed_payments_result_paged_metadata'
59
63
  require 'bf_ruby2/models/billing_entity_base'
60
64
  require 'bf_ruby2/models/braintree_auth_capture_request'
@@ -147,6 +151,7 @@ require 'bf_ruby2/models/metadata_key_values_paged_metadata'
147
151
  require 'bf_ruby2/models/migration_request'
148
152
  require 'bf_ruby2/models/model_alias'
149
153
  require 'bf_ruby2/models/mutable_billing_entity'
154
+ require 'bf_ruby2/models/nested_charge_request'
150
155
  require 'bf_ruby2/models/notification'
151
156
  require 'bf_ruby2/models/notification_paged_metadata'
152
157
  require 'bf_ruby2/models/organization'
@@ -194,6 +199,9 @@ require 'bf_ruby2/models/profile'
194
199
  require 'bf_ruby2/models/profile_paged_metadata'
195
200
  require 'bf_ruby2/models/quote_request'
196
201
  require 'bf_ruby2/models/quote_request_value'
202
+ require 'bf_ruby2/models/recalculate_charge_batch_request'
203
+ require 'bf_ruby2/models/recalculate_charge_batch_response'
204
+ require 'bf_ruby2/models/recalculate_charge_batch_response_paged_metadata'
197
205
  require 'bf_ruby2/models/recalculate_charge_request'
198
206
  require 'bf_ruby2/models/receipt'
199
207
  require 'bf_ruby2/models/receipt_paged_metadata'
@@ -209,6 +217,7 @@ require 'bf_ruby2/models/role_paged_metadata'
209
217
  require 'bf_ruby2/models/rule_satisfaction'
210
218
  require 'bf_ruby2/models/search_result_paged_metadata'
211
219
  require 'bf_ruby2/models/service_end_amendment'
220
+ require 'bf_ruby2/models/single_recalculate_charge_request'
212
221
  require 'bf_ruby2/models/stripe_ach_token_paged_metadata'
213
222
  require 'bf_ruby2/models/stripe_auth_capture_request'
214
223
  require 'bf_ruby2/models/stripe_object'
@@ -239,6 +248,10 @@ require 'bf_ruby2/models/unit_of_measure_coupon_modifier'
239
248
  require 'bf_ruby2/models/unit_of_measure_paged_metadata'
240
249
  require 'bf_ruby2/models/update_address_request'
241
250
  require 'bf_ruby2/models/update_component_value_amendment'
251
+ require 'bf_ruby2/models/update_pricing_component_value_change_result'
252
+ require 'bf_ruby2/models/update_pricing_component_value_request'
253
+ require 'bf_ruby2/models/update_pricing_component_value_response'
254
+ require 'bf_ruby2/models/update_pricing_component_value_response_paged_metadata'
242
255
  require 'bf_ruby2/models/update_profile_request'
243
256
  require 'bf_ruby2/models/update_role_request'
244
257
  require 'bf_ruby2/models/update_subscription_request'
@@ -31,6 +31,67 @@ module BillForward
31
31
  @api_client = api_client
32
32
  end
33
33
 
34
+ # Create a manual invoice.
35
+ # {\"nickname\":\"Create a manual invoice\",\"request\":\"addChargeToAccountRequest.html\",\"response\":\"addChargeToAccountResponse.html\"}
36
+ # @param account_id ID of the account.
37
+ # @param request The charge request
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [AddChargeToAccountResponsePagedMetadata]
40
+ def add_charge_to_account(account_id, request, opts = {})
41
+ data, _status_code, _headers = add_charge_to_account_with_http_info(account_id, request, opts)
42
+ return data
43
+ end
44
+
45
+ # Create a manual invoice.
46
+ # {\"nickname\":\"Create a manual invoice\",\"request\":\"addChargeToAccountRequest.html\",\"response\":\"addChargeToAccountResponse.html\"}
47
+ # @param account_id ID of the account.
48
+ # @param request The charge request
49
+ # @param [Hash] opts the optional parameters
50
+ # @return [Array<(AddChargeToAccountResponsePagedMetadata, Fixnum, Hash)>] AddChargeToAccountResponsePagedMetadata data, response status code and response headers
51
+ def add_charge_to_account_with_http_info(account_id, request, opts = {})
52
+ if @api_client.config.debugging
53
+ @api_client.config.logger.debug "Calling API: AccountsApi.add_charge_to_account ..."
54
+ end
55
+ # verify the required parameter 'account_id' is set
56
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.add_charge_to_account" if account_id.nil?
57
+ # verify the required parameter 'request' is set
58
+ fail ArgumentError, "Missing the required parameter 'request' when calling AccountsApi.add_charge_to_account" if request.nil?
59
+ # resource path
60
+ local_var_path = "/accounts/{account-ID}/invoice".sub('{format}','json').sub('{' + 'account-ID' + '}', account_id.to_s)
61
+
62
+ # query parameters
63
+ query_params = {}
64
+
65
+ # header parameters
66
+ header_params = {}
67
+
68
+ # HTTP header 'Accept' (if needed)
69
+ local_header_accept = ['application/json; charset=utf-8']
70
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
71
+
72
+ # HTTP header 'Content-Type'
73
+ local_header_content_type = ['application/json; charset=utf-8']
74
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
75
+
76
+ # form parameters
77
+ form_params = {}
78
+
79
+ # http body (model)
80
+ post_body = @api_client.object_to_http_body(request)
81
+ auth_names = []
82
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
83
+ :header_params => header_params,
84
+ :query_params => query_params,
85
+ :form_params => form_params,
86
+ :body => post_body,
87
+ :auth_names => auth_names,
88
+ :return_type => 'AddChargeToAccountResponsePagedMetadata')
89
+ if @api_client.config.debugging
90
+ @api_client.config.logger.debug "API called: AccountsApi#add_charge_to_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
91
+ end
92
+ return data, status_code, headers
93
+ end
94
+
34
95
  # Creates a credit-note which may be used by any subscription of this account.
35
96
  # {\"nickname\":\"Add Credit\",\"request\":\"addCreditNoteToAccountRequest.html\", \"response\":\"addCreditNoteToAccount.html\"}
36
97
  # @param account_id ID of the account.
@@ -66,11 +127,11 @@ module BillForward
66
127
  header_params = {}
67
128
 
68
129
  # HTTP header 'Accept' (if needed)
69
- local_header_accept = ['application/json']
130
+ local_header_accept = ['application/json; charset=utf-8']
70
131
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
71
132
 
72
133
  # HTTP header 'Content-Type'
73
- local_header_content_type = ['application/json']
134
+ local_header_content_type = ['application/json; charset=utf-8']
74
135
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
75
136
 
76
137
  # form parameters
@@ -130,11 +191,11 @@ module BillForward
130
191
  header_params = {}
131
192
 
132
193
  # HTTP header 'Accept' (if needed)
133
- local_header_accept = ['application/json']
194
+ local_header_accept = ['application/json; charset=utf-8']
134
195
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
135
196
 
136
197
  # HTTP header 'Content-Type'
137
- local_header_content_type = ['application/json']
198
+ local_header_content_type = ['application/json; charset=utf-8']
138
199
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
139
200
 
140
201
  # form parameters
@@ -187,11 +248,11 @@ module BillForward
187
248
  header_params = {}
188
249
 
189
250
  # HTTP header 'Accept' (if needed)
190
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
251
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
191
252
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
192
253
 
193
254
  # HTTP header 'Content-Type'
194
- local_header_content_type = ['application/json']
255
+ local_header_content_type = ['application/json; charset=utf-8']
195
256
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
196
257
 
197
258
  # form parameters
@@ -254,11 +315,11 @@ module BillForward
254
315
  header_params = {}
255
316
 
256
317
  # HTTP header 'Accept' (if needed)
257
- local_header_accept = ['application/json']
318
+ local_header_accept = ['application/json; charset=utf-8']
258
319
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
259
320
 
260
321
  # HTTP header 'Content-Type'
261
- local_header_content_type = ['text/plain', 'application/json']
322
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
262
323
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
263
324
 
264
325
  # form parameters
@@ -314,11 +375,11 @@ module BillForward
314
375
  header_params = {}
315
376
 
316
377
  # HTTP header 'Accept' (if needed)
317
- local_header_accept = ['application/json']
378
+ local_header_accept = ['application/json; charset=utf-8']
318
379
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
319
380
 
320
381
  # HTTP header 'Content-Type'
321
- local_header_content_type = ['text/plain', 'application/json']
382
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
322
383
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
323
384
 
324
385
  # form parameters
@@ -374,11 +435,11 @@ module BillForward
374
435
  header_params = {}
375
436
 
376
437
  # HTTP header 'Accept' (if needed)
377
- local_header_accept = ['application/json']
438
+ local_header_accept = ['application/json; charset=utf-8']
378
439
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
379
440
 
380
441
  # HTTP header 'Content-Type'
381
- local_header_content_type = ['text/plain', 'application/json']
442
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
382
443
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
383
444
 
384
445
  # form parameters
@@ -456,7 +517,7 @@ module BillForward
456
517
  header_params = {}
457
518
 
458
519
  # HTTP header 'Accept' (if needed)
459
- local_header_accept = ['text/plain', 'application/json']
520
+ local_header_accept = ['text/plain', 'application/json; charset=utf-8']
460
521
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
461
522
 
462
523
  # HTTP header 'Content-Type'
@@ -538,7 +599,7 @@ module BillForward
538
599
  header_params = {}
539
600
 
540
601
  # HTTP header 'Accept' (if needed)
541
- local_header_accept = ['text/plain', 'application/json']
602
+ local_header_accept = ['text/plain', 'application/json; charset=utf-8']
542
603
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
543
604
 
544
605
  # HTTP header 'Content-Type'
@@ -616,11 +677,11 @@ module BillForward
616
677
  header_params = {}
617
678
 
618
679
  # HTTP header 'Accept' (if needed)
619
- local_header_accept = ['application/json']
680
+ local_header_accept = ['application/json; charset=utf-8']
620
681
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
621
682
 
622
683
  # HTTP header 'Content-Type'
623
- local_header_content_type = ['text/plain', 'application/json']
684
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
624
685
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
625
686
 
626
687
  # form parameters
@@ -699,7 +760,7 @@ module BillForward
699
760
  header_params = {}
700
761
 
701
762
  # HTTP header 'Accept' (if needed)
702
- local_header_accept = ['text/plain', 'application/json']
763
+ local_header_accept = ['text/plain', 'application/json; charset=utf-8']
703
764
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
704
765
 
705
766
  # HTTP header 'Content-Type'
@@ -777,11 +838,11 @@ module BillForward
777
838
  header_params = {}
778
839
 
779
840
  # HTTP header 'Accept' (if needed)
780
- local_header_accept = ['application/json']
841
+ local_header_accept = ['application/json; charset=utf-8']
781
842
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
782
843
 
783
844
  # HTTP header 'Content-Type'
784
- local_header_content_type = ['text/plain', 'application/json']
845
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
785
846
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
786
847
 
787
848
  # form parameters
@@ -837,11 +898,11 @@ module BillForward
837
898
  header_params = {}
838
899
 
839
900
  # HTTP header 'Accept' (if needed)
840
- local_header_accept = ['application/json']
901
+ local_header_accept = ['application/json; charset=utf-8']
841
902
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
842
903
 
843
904
  # HTTP header 'Content-Type'
844
- local_header_content_type = ['text/plain', 'application/json']
905
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
845
906
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
846
907
 
847
908
  # form parameters
@@ -915,7 +976,7 @@ module BillForward
915
976
  header_params = {}
916
977
 
917
978
  # HTTP header 'Accept' (if needed)
918
- local_header_accept = ['application/json']
979
+ local_header_accept = ['application/json; charset=utf-8']
919
980
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
920
981
 
921
982
  # HTTP header 'Content-Type'
@@ -979,11 +1040,11 @@ module BillForward
979
1040
  header_params = {}
980
1041
 
981
1042
  # HTTP header 'Accept' (if needed)
982
- local_header_accept = ['application/json']
1043
+ local_header_accept = ['application/json; charset=utf-8']
983
1044
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
984
1045
 
985
1046
  # HTTP header 'Content-Type'
986
- local_header_content_type = ['text/plain', 'application/json']
1047
+ local_header_content_type = ['text/plain', 'application/json; charset=utf-8']
987
1048
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
988
1049
 
989
1050
  # form parameters
@@ -1043,7 +1104,7 @@ module BillForward
1043
1104
  header_params = {}
1044
1105
 
1045
1106
  # HTTP header 'Accept' (if needed)
1046
- local_header_accept = ['application/json']
1107
+ local_header_accept = ['application/json; charset=utf-8']
1047
1108
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1048
1109
 
1049
1110
  # HTTP header 'Content-Type'
@@ -1107,11 +1168,11 @@ module BillForward
1107
1168
  header_params = {}
1108
1169
 
1109
1170
  # HTTP header 'Accept' (if needed)
1110
- local_header_accept = ['application/json']
1171
+ local_header_accept = ['application/json; charset=utf-8']
1111
1172
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1112
1173
 
1113
1174
  # HTTP header 'Content-Type'
1114
- local_header_content_type = ['application/json']
1175
+ local_header_content_type = ['application/json; charset=utf-8']
1115
1176
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1116
1177
 
1117
1178
  # form parameters
@@ -1164,11 +1225,11 @@ module BillForward
1164
1225
  header_params = {}
1165
1226
 
1166
1227
  # HTTP header 'Accept' (if needed)
1167
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
1228
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
1168
1229
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1169
1230
 
1170
1231
  # HTTP header 'Content-Type'
1171
- local_header_content_type = ['application/json']
1232
+ local_header_content_type = ['application/json; charset=utf-8']
1172
1233
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1173
1234
 
1174
1235
  # form parameters
@@ -1228,11 +1289,11 @@ module BillForward
1228
1289
  header_params = {}
1229
1290
 
1230
1291
  # HTTP header 'Accept' (if needed)
1231
- local_header_accept = ['application/json']
1292
+ local_header_accept = ['application/json; charset=utf-8']
1232
1293
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
1233
1294
 
1234
1295
  # HTTP header 'Content-Type'
1235
- local_header_content_type = ['application/json']
1296
+ local_header_content_type = ['application/json; charset=utf-8']
1236
1297
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
1237
1298
 
1238
1299
  # 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
@@ -119,11 +119,11 @@ module BillForward
119
119
  header_params = {}
120
120
 
121
121
  # HTTP header 'Accept' (if needed)
122
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
122
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
123
123
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
124
124
 
125
125
  # HTTP header 'Content-Type'
126
- local_header_content_type = ['application/json']
126
+ local_header_content_type = ['application/json; charset=utf-8']
127
127
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
128
128
 
129
129
  # 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
@@ -148,7 +148,7 @@ module BillForward
148
148
  header_params = {}
149
149
 
150
150
  # HTTP header 'Accept' (if needed)
151
- local_header_accept = ['application/json']
151
+ local_header_accept = ['application/json; charset=utf-8']
152
152
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
153
153
 
154
154
  # HTTP header 'Content-Type'
@@ -208,7 +208,7 @@ module BillForward
208
208
  header_params = {}
209
209
 
210
210
  # HTTP header 'Accept' (if needed)
211
- local_header_accept = ['application/json']
211
+ local_header_accept = ['application/json; charset=utf-8']
212
212
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
213
213
 
214
214
  # HTTP header 'Content-Type'
@@ -287,7 +287,7 @@ module BillForward
287
287
  header_params = {}
288
288
 
289
289
  # HTTP header 'Accept' (if needed)
290
- local_header_accept = ['application/json']
290
+ local_header_accept = ['application/json; charset=utf-8']
291
291
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
292
292
 
293
293
  # HTTP header 'Content-Type'
@@ -362,7 +362,7 @@ module BillForward
362
362
  header_params = {}
363
363
 
364
364
  # HTTP header 'Accept' (if needed)
365
- local_header_accept = ['application/json']
365
+ local_header_accept = ['application/json; charset=utf-8']
366
366
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
367
367
 
368
368
  # HTTP header 'Content-Type'
@@ -434,7 +434,7 @@ module BillForward
434
434
  header_params = {}
435
435
 
436
436
  # HTTP header 'Accept' (if needed)
437
- local_header_accept = ['application/json']
437
+ local_header_accept = ['application/json; charset=utf-8']
438
438
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
439
439
 
440
440
  # HTTP header 'Content-Type'
@@ -513,7 +513,7 @@ module BillForward
513
513
  header_params = {}
514
514
 
515
515
  # HTTP header 'Accept' (if needed)
516
- local_header_accept = ['application/json']
516
+ local_header_accept = ['application/json; charset=utf-8']
517
517
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
518
518
 
519
519
  # HTTP header 'Content-Type'
@@ -592,7 +592,7 @@ module BillForward
592
592
  header_params = {}
593
593
 
594
594
  # HTTP header 'Accept' (if needed)
595
- local_header_accept = ['application/json']
595
+ local_header_accept = ['application/json; charset=utf-8']
596
596
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
597
597
 
598
598
  # HTTP header 'Content-Type'
@@ -671,7 +671,7 @@ module BillForward
671
671
  header_params = {}
672
672
 
673
673
  # HTTP header 'Accept' (if needed)
674
- local_header_accept = ['application/json']
674
+ local_header_accept = ['application/json; charset=utf-8']
675
675
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
676
676
 
677
677
  # HTTP header 'Content-Type'
@@ -733,7 +733,7 @@ module BillForward
733
733
  header_params = {}
734
734
 
735
735
  # HTTP header 'Accept' (if needed)
736
- local_header_accept = ['application/json']
736
+ local_header_accept = ['application/json; charset=utf-8']
737
737
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
738
738
 
739
739
  # HTTP header 'Content-Type'
@@ -790,11 +790,11 @@ module BillForward
790
790
  header_params = {}
791
791
 
792
792
  # HTTP header 'Accept' (if needed)
793
- local_header_accept = ['text/xml', 'application/xml', 'application/json']
793
+ local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
794
794
  local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
795
795
 
796
796
  # HTTP header 'Content-Type'
797
- local_header_content_type = ['application/json']
797
+ local_header_content_type = ['application/json; charset=utf-8']
798
798
  header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
799
799
 
800
800
  # form parameters