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.
- checksums.yaml +4 -4
- data/README.md +53 -29
- data/bf_ruby2-1.2016.229.gem +0 -0
- data/docs/AccountsApi.md +82 -31
- data/docs/AddChargeToAccountResponse.md +9 -0
- data/docs/AddChargeToAccountResponsePagedMetadata.md +14 -0
- data/docs/AddChargesToAccountAPIRequest.md +17 -0
- data/docs/AddressesApi.md +4 -4
- data/docs/AmendmentsApi.md +13 -13
- data/docs/AnalyticsApi.md +15 -15
- data/docs/AuditlogsApi.md +5 -5
- data/docs/BatchUpdatePricingComponentValuesRequest.md +9 -0
- data/docs/ChargesApi.md +56 -8
- data/docs/ClientsApi.md +6 -6
- data/docs/ConfigurationsApi.md +6 -6
- data/docs/CouponbookApi.md +11 -11
- data/docs/CouponbookdefinitionApi.md +8 -8
- data/docs/CoupondefinitionApi.md +7 -7
- data/docs/CouponinstanceApi.md +12 -12
- data/docs/CouponmodifierApi.md +9 -9
- data/docs/CouponruleApi.md +6 -6
- data/docs/CouponsApi.md +10 -10
- data/docs/CreateSubscriptionChargeAmendment.md +0 -1
- data/docs/CreateSubscriptionRequest.md +2 -0
- data/docs/CreditnotesApi.md +7 -7
- data/docs/CybersourcetokensApi.md +7 -7
- data/docs/DunninglinesApi.md +8 -8
- data/docs/EmailprovidersApi.md +5 -5
- data/docs/EmailsApi.md +1 -1
- data/docs/EmailsubscriptionsApi.md +7 -7
- data/docs/FixedtermdefinitionsApi.md +4 -4
- data/docs/FixedtermsApi.md +2 -2
- data/docs/Invoice.md +3 -0
- data/docs/InvoicesApi.md +63 -63
- data/docs/MetadataApi.md +6 -6
- data/docs/NestedChargeRequest.md +19 -0
- data/docs/NotificationsApi.md +6 -6
- data/docs/OrganizationsApi.md +9 -9
- data/docs/PasswordsApi.md +2 -2
- data/docs/PaymentmethodsApi.md +10 -10
- data/docs/PaymentmethodsubscriptionlinksApi.md +3 -3
- data/docs/PaymentsApi.md +9 -9
- data/docs/PeriodsApi.md +2 -2
- data/docs/PermissionsApi.md +8 -8
- data/docs/PricingcalculatorApi.md +6 -6
- data/docs/PricingcomponentsApi.md +8 -8
- data/docs/PricingcomponenttiersApi.md +7 -7
- data/docs/PricingcomponentvaluechangesApi.md +7 -7
- data/docs/PricingcomponentvaluesApi.md +7 -7
- data/docs/ProductrateplansApi.md +27 -27
- data/docs/ProductsApi.md +17 -17
- data/docs/ProfilesApi.md +6 -6
- data/docs/QuotesApi.md +2 -2
- data/docs/RecalculateChargeBatchRequest.md +12 -0
- data/docs/RecalculateChargeBatchResponse.md +11 -0
- data/docs/RecalculateChargeBatchResponsePagedMetadata.md +14 -0
- data/docs/ReceiptsApi.md +6 -6
- data/docs/RefundsApi.md +9 -9
- data/docs/RolesApi.md +8 -8
- data/docs/SearchApi.md +1 -1
- data/docs/SingleRecalculateChargeRequest.md +15 -0
- data/docs/Subscription.md +1 -0
- data/docs/SubscriptionsApi.md +153 -102
- data/docs/SynchAppConfigsApi.md +6 -6
- data/docs/SynchConfigsApi.md +8 -8
- data/docs/SynchJobsApi.md +10 -10
- data/docs/TaxationlinksApi.md +8 -8
- data/docs/TaxationstrategiesApi.md +11 -11
- data/docs/TimeApi.md +1 -1
- data/docs/TokenizationApi.md +6 -6
- data/docs/UnitofmeasureApi.md +6 -6
- data/docs/UpdatePricingComponentValueChangeResult.md +19 -0
- data/docs/UpdatePricingComponentValueRequest.md +10 -0
- data/docs/UpdatePricingComponentValueResponse.md +9 -0
- data/docs/UpdatePricingComponentValueResponsePagedMetadata.md +14 -0
- data/docs/UsageApi.md +7 -7
- data/docs/UsageperiodsApi.md +3 -3
- data/docs/UsageroundingstrategiesApi.md +6 -6
- data/docs/UsagesessionsApi.md +6 -6
- data/docs/UsernamesApi.md +2 -2
- data/docs/UsersApi.md +16 -16
- data/docs/VaultedgatewaysApi.md +22 -22
- data/docs/WebhooksApi.md +10 -10
- data/lib/bf_ruby2.rb +13 -0
- data/lib/bf_ruby2/api/accounts_api.rb +92 -31
- data/lib/bf_ruby2/api/addresses_api.rb +4 -4
- data/lib/bf_ruby2/api/amendments_api.rb +13 -13
- data/lib/bf_ruby2/api/analytics_api.rb +15 -15
- data/lib/bf_ruby2/api/auditlogs_api.rb +5 -5
- data/lib/bf_ruby2/api/charges_api.rb +65 -8
- data/lib/bf_ruby2/api/clients_api.rb +6 -6
- data/lib/bf_ruby2/api/configurations_api.rb +6 -6
- data/lib/bf_ruby2/api/couponbook_api.rb +11 -11
- data/lib/bf_ruby2/api/couponbookdefinition_api.rb +8 -8
- data/lib/bf_ruby2/api/coupondefinition_api.rb +7 -7
- data/lib/bf_ruby2/api/couponinstance_api.rb +12 -12
- data/lib/bf_ruby2/api/couponmodifier_api.rb +9 -9
- data/lib/bf_ruby2/api/couponrule_api.rb +6 -6
- data/lib/bf_ruby2/api/coupons_api.rb +10 -10
- data/lib/bf_ruby2/api/creditnotes_api.rb +7 -7
- data/lib/bf_ruby2/api/cybersourcetokens_api.rb +7 -7
- data/lib/bf_ruby2/api/dunninglines_api.rb +8 -8
- data/lib/bf_ruby2/api/emailproviders_api.rb +5 -5
- data/lib/bf_ruby2/api/emails_api.rb +1 -1
- data/lib/bf_ruby2/api/emailsubscriptions_api.rb +7 -7
- data/lib/bf_ruby2/api/fixedtermdefinitions_api.rb +4 -4
- data/lib/bf_ruby2/api/fixedterms_api.rb +2 -2
- data/lib/bf_ruby2/api/invoices_api.rb +63 -63
- data/lib/bf_ruby2/api/metadata_api.rb +6 -6
- data/lib/bf_ruby2/api/notifications_api.rb +6 -6
- data/lib/bf_ruby2/api/organizations_api.rb +9 -9
- data/lib/bf_ruby2/api/passwords_api.rb +2 -2
- data/lib/bf_ruby2/api/paymentmethods_api.rb +10 -10
- data/lib/bf_ruby2/api/paymentmethodsubscriptionlinks_api.rb +3 -3
- data/lib/bf_ruby2/api/payments_api.rb +9 -9
- data/lib/bf_ruby2/api/periods_api.rb +2 -2
- data/lib/bf_ruby2/api/permissions_api.rb +8 -8
- data/lib/bf_ruby2/api/pricingcalculator_api.rb +6 -6
- data/lib/bf_ruby2/api/pricingcomponents_api.rb +8 -8
- data/lib/bf_ruby2/api/pricingcomponenttiers_api.rb +7 -7
- data/lib/bf_ruby2/api/pricingcomponentvaluechanges_api.rb +7 -7
- data/lib/bf_ruby2/api/pricingcomponentvalues_api.rb +7 -7
- data/lib/bf_ruby2/api/productrateplans_api.rb +27 -27
- data/lib/bf_ruby2/api/products_api.rb +17 -17
- data/lib/bf_ruby2/api/profiles_api.rb +6 -6
- data/lib/bf_ruby2/api/quotes_api.rb +2 -2
- data/lib/bf_ruby2/api/receipts_api.rb +6 -6
- data/lib/bf_ruby2/api/refunds_api.rb +9 -9
- data/lib/bf_ruby2/api/roles_api.rb +8 -8
- data/lib/bf_ruby2/api/search_api.rb +1 -1
- data/lib/bf_ruby2/api/subscriptions_api.rb +163 -102
- data/lib/bf_ruby2/api/synch_app_configs_api.rb +6 -6
- data/lib/bf_ruby2/api/synch_configs_api.rb +8 -8
- data/lib/bf_ruby2/api/synch_jobs_api.rb +10 -10
- data/lib/bf_ruby2/api/taxationlinks_api.rb +8 -8
- data/lib/bf_ruby2/api/taxationstrategies_api.rb +11 -11
- data/lib/bf_ruby2/api/time_api.rb +1 -1
- data/lib/bf_ruby2/api/tokenization_api.rb +6 -6
- data/lib/bf_ruby2/api/unitofmeasure_api.rb +6 -6
- data/lib/bf_ruby2/api/usage_api.rb +7 -7
- data/lib/bf_ruby2/api/usageperiods_api.rb +3 -3
- data/lib/bf_ruby2/api/usageroundingstrategies_api.rb +6 -6
- data/lib/bf_ruby2/api/usagesessions_api.rb +6 -6
- data/lib/bf_ruby2/api/usernames_api.rb +2 -2
- data/lib/bf_ruby2/api/users_api.rb +16 -16
- data/lib/bf_ruby2/api/vaultedgateways_api.rb +22 -22
- data/lib/bf_ruby2/api/webhooks_api.rb +10 -10
- data/lib/bf_ruby2/models/add_charge_to_account_response.rb +212 -0
- data/lib/bf_ruby2/models/add_charge_to_account_response_paged_metadata.rb +269 -0
- data/lib/bf_ruby2/models/add_charges_to_account_api_request.rb +337 -0
- data/lib/bf_ruby2/models/batch_update_pricing_component_values_request.rb +244 -0
- data/lib/bf_ruby2/models/create_subscription_charge_amendment.rb +1 -24
- data/lib/bf_ruby2/models/create_subscription_request.rb +24 -4
- data/lib/bf_ruby2/models/invoice.rb +32 -1
- data/lib/bf_ruby2/models/nested_charge_request.rb +343 -0
- data/lib/bf_ruby2/models/recalculate_charge_batch_request.rb +279 -0
- data/lib/bf_ruby2/models/recalculate_charge_batch_response.rb +234 -0
- data/lib/bf_ruby2/models/recalculate_charge_batch_response_paged_metadata.rb +269 -0
- data/lib/bf_ruby2/models/single_recalculate_charge_request.rb +317 -0
- data/lib/bf_ruby2/models/subscription.rb +11 -1
- data/lib/bf_ruby2/models/update_pricing_component_value_change_result.rb +367 -0
- data/lib/bf_ruby2/models/update_pricing_component_value_request.rb +253 -0
- data/lib/bf_ruby2/models/update_pricing_component_value_response.rb +210 -0
- data/lib/bf_ruby2/models/update_pricing_component_value_response_paged_metadata.rb +269 -0
- data/lib/bf_ruby2/version.rb +1 -1
- data/spec/models/add_charge_to_account_response_paged_metadata_spec.rb +89 -0
- data/spec/models/add_charge_to_account_response_spec.rb +59 -0
- data/spec/models/add_charges_to_account_api_request_spec.rb +115 -0
- data/spec/models/batch_update_pricing_component_values_request_spec.rb +63 -0
- data/spec/models/nested_charge_request_spec.rb +123 -0
- data/spec/models/recalculate_charge_batch_request_spec.rb +81 -0
- data/spec/models/recalculate_charge_batch_response_paged_metadata_spec.rb +89 -0
- data/spec/models/recalculate_charge_batch_response_spec.rb +71 -0
- data/spec/models/single_recalculate_charge_request_spec.rb +103 -0
- data/spec/models/update_pricing_component_value_change_result_spec.rb +131 -0
- data/spec/models/update_pricing_component_value_request_spec.rb +69 -0
- data/spec/models/update_pricing_component_value_response_paged_metadata_spec.rb +89 -0
- data/spec/models/update_pricing_component_value_response_spec.rb +59 -0
- metadata +54 -2
- data/setup.scratch.rb +0 -33
@@ -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
|
@@ -141,7 +141,7 @@ module BillForward
|
|
141
141
|
header_params = {}
|
142
142
|
|
143
143
|
# HTTP header 'Accept' (if needed)
|
144
|
-
local_header_accept = ['application/json']
|
144
|
+
local_header_accept = ['application/json; charset=utf-8']
|
145
145
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
146
146
|
|
147
147
|
# HTTP header 'Content-Type'
|
@@ -198,11 +198,11 @@ module BillForward
|
|
198
198
|
header_params = {}
|
199
199
|
|
200
200
|
# HTTP header 'Accept' (if needed)
|
201
|
-
local_header_accept = ['application/json']
|
201
|
+
local_header_accept = ['application/json; charset=utf-8']
|
202
202
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
203
203
|
|
204
204
|
# HTTP header 'Content-Type'
|
205
|
-
local_header_content_type = ['application/json']
|
205
|
+
local_header_content_type = ['application/json; charset=utf-8']
|
206
206
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
207
207
|
|
208
208
|
# form parameters
|
@@ -277,7 +277,7 @@ module BillForward
|
|
277
277
|
header_params = {}
|
278
278
|
|
279
279
|
# HTTP header 'Accept' (if needed)
|
280
|
-
local_header_accept = ['application/json']
|
280
|
+
local_header_accept = ['application/json; charset=utf-8']
|
281
281
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
282
282
|
|
283
283
|
# HTTP header 'Content-Type'
|
@@ -356,7 +356,7 @@ module BillForward
|
|
356
356
|
header_params = {}
|
357
357
|
|
358
358
|
# HTTP header 'Accept' (if needed)
|
359
|
-
local_header_accept = ['application/json']
|
359
|
+
local_header_accept = ['application/json; charset=utf-8']
|
360
360
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
361
361
|
|
362
362
|
# HTTP header 'Content-Type'
|
@@ -435,7 +435,7 @@ module BillForward
|
|
435
435
|
header_params = {}
|
436
436
|
|
437
437
|
# HTTP header 'Accept' (if needed)
|
438
|
-
local_header_accept = ['application/json']
|
438
|
+
local_header_accept = ['application/json; charset=utf-8']
|
439
439
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
440
440
|
|
441
441
|
# HTTP header 'Content-Type'
|
@@ -514,7 +514,7 @@ module BillForward
|
|
514
514
|
header_params = {}
|
515
515
|
|
516
516
|
# HTTP header 'Accept' (if needed)
|
517
|
-
local_header_accept = ['application/json']
|
517
|
+
local_header_accept = ['application/json; charset=utf-8']
|
518
518
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
519
519
|
|
520
520
|
# HTTP header 'Content-Type'
|
@@ -571,11 +571,11 @@ module BillForward
|
|
571
571
|
header_params = {}
|
572
572
|
|
573
573
|
# HTTP header 'Accept' (if needed)
|
574
|
-
local_header_accept = ['application/json']
|
574
|
+
local_header_accept = ['application/json; charset=utf-8']
|
575
575
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
576
576
|
|
577
577
|
# HTTP header 'Content-Type'
|
578
|
-
local_header_content_type = ['application/json']
|
578
|
+
local_header_content_type = ['application/json; charset=utf-8']
|
579
579
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
580
580
|
|
581
581
|
# form parameters
|
@@ -628,11 +628,11 @@ module BillForward
|
|
628
628
|
header_params = {}
|
629
629
|
|
630
630
|
# HTTP header 'Accept' (if needed)
|
631
|
-
local_header_accept = ['application/json']
|
631
|
+
local_header_accept = ['application/json; charset=utf-8']
|
632
632
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
633
633
|
|
634
634
|
# HTTP header 'Content-Type'
|
635
|
-
local_header_content_type = ['application/json']
|
635
|
+
local_header_content_type = ['application/json; charset=utf-8']
|
636
636
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
637
637
|
|
638
638
|
# form parameters
|
@@ -707,7 +707,7 @@ module BillForward
|
|
707
707
|
header_params = {}
|
708
708
|
|
709
709
|
# HTTP header 'Accept' (if needed)
|
710
|
-
local_header_accept = ['application/json']
|
710
|
+
local_header_accept = ['application/json; charset=utf-8']
|
711
711
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
712
712
|
|
713
713
|
# HTTP header 'Content-Type'
|
@@ -786,7 +786,7 @@ module BillForward
|
|
786
786
|
header_params = {}
|
787
787
|
|
788
788
|
# HTTP header 'Accept' (if needed)
|
789
|
-
local_header_accept = ['application/json']
|
789
|
+
local_header_accept = ['application/json; charset=utf-8']
|
790
790
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
791
791
|
|
792
792
|
# HTTP header 'Content-Type'
|
@@ -79,7 +79,7 @@ module BillForward
|
|
79
79
|
header_params = {}
|
80
80
|
|
81
81
|
# HTTP header 'Accept' (if needed)
|
82
|
-
local_header_accept = ['application/json']
|
82
|
+
local_header_accept = ['application/json; charset=utf-8']
|
83
83
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
84
84
|
|
85
85
|
# HTTP header 'Content-Type'
|
@@ -161,7 +161,7 @@ module BillForward
|
|
161
161
|
header_params = {}
|
162
162
|
|
163
163
|
# HTTP header 'Accept' (if needed)
|
164
|
-
local_header_accept = ['application/json']
|
164
|
+
local_header_accept = ['application/json; charset=utf-8']
|
165
165
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
166
166
|
|
167
167
|
# HTTP header 'Content-Type'
|
@@ -239,7 +239,7 @@ module BillForward
|
|
239
239
|
header_params = {}
|
240
240
|
|
241
241
|
# HTTP header 'Accept' (if needed)
|
242
|
-
local_header_accept = ['application/json']
|
242
|
+
local_header_accept = ['application/json; charset=utf-8']
|
243
243
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
244
244
|
|
245
245
|
# HTTP header 'Content-Type'
|
@@ -321,7 +321,7 @@ module BillForward
|
|
321
321
|
header_params = {}
|
322
322
|
|
323
323
|
# HTTP header 'Accept' (if needed)
|
324
|
-
local_header_accept = ['application/json']
|
324
|
+
local_header_accept = ['application/json; charset=utf-8']
|
325
325
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
326
326
|
|
327
327
|
# HTTP header 'Content-Type'
|
@@ -381,7 +381,7 @@ module BillForward
|
|
381
381
|
header_params = {}
|
382
382
|
|
383
383
|
# HTTP header 'Accept' (if needed)
|
384
|
-
local_header_accept = ['application/json']
|
384
|
+
local_header_accept = ['application/json; charset=utf-8']
|
385
385
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
386
386
|
|
387
387
|
# HTTP header 'Content-Type'
|
@@ -31,6 +31,63 @@ module BillForward
|
|
31
31
|
@api_client = api_client
|
32
32
|
end
|
33
33
|
|
34
|
+
# Recalculate a batch of charges.
|
35
|
+
# {\"nickname\":\"Batch re-calculate charges\",\"request\":\"batchRecalculateChargeRequest.html\",\"response\":\"batchRecalculateChargeResponse.html\"}
|
36
|
+
# @param request The batch charge request.
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [RecalculateChargeBatchResponsePagedMetadata]
|
39
|
+
def batch_recalculate_subscription_charge(request, opts = {})
|
40
|
+
data, _status_code, _headers = batch_recalculate_subscription_charge_with_http_info(request, opts)
|
41
|
+
return data
|
42
|
+
end
|
43
|
+
|
44
|
+
# Recalculate a batch of charges.
|
45
|
+
# {\"nickname\":\"Batch re-calculate charges\",\"request\":\"batchRecalculateChargeRequest.html\",\"response\":\"batchRecalculateChargeResponse.html\"}
|
46
|
+
# @param request The batch charge request.
|
47
|
+
# @param [Hash] opts the optional parameters
|
48
|
+
# @return [Array<(RecalculateChargeBatchResponsePagedMetadata, Fixnum, Hash)>] RecalculateChargeBatchResponsePagedMetadata data, response status code and response headers
|
49
|
+
def batch_recalculate_subscription_charge_with_http_info(request, opts = {})
|
50
|
+
if @api_client.config.debugging
|
51
|
+
@api_client.config.logger.debug "Calling API: ChargesApi.batch_recalculate_subscription_charge ..."
|
52
|
+
end
|
53
|
+
# verify the required parameter 'request' is set
|
54
|
+
fail ArgumentError, "Missing the required parameter 'request' when calling ChargesApi.batch_recalculate_subscription_charge" if request.nil?
|
55
|
+
# resource path
|
56
|
+
local_var_path = "/charges/recalculate".sub('{format}','json')
|
57
|
+
|
58
|
+
# query parameters
|
59
|
+
query_params = {}
|
60
|
+
|
61
|
+
# header parameters
|
62
|
+
header_params = {}
|
63
|
+
|
64
|
+
# HTTP header 'Accept' (if needed)
|
65
|
+
local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
|
66
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
67
|
+
|
68
|
+
# HTTP header 'Content-Type'
|
69
|
+
local_header_content_type = ['application/json; charset=utf-8']
|
70
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
71
|
+
|
72
|
+
# form parameters
|
73
|
+
form_params = {}
|
74
|
+
|
75
|
+
# http body (model)
|
76
|
+
post_body = @api_client.object_to_http_body(request)
|
77
|
+
auth_names = []
|
78
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
79
|
+
:header_params => header_params,
|
80
|
+
:query_params => query_params,
|
81
|
+
:form_params => form_params,
|
82
|
+
:body => post_body,
|
83
|
+
:auth_names => auth_names,
|
84
|
+
:return_type => 'RecalculateChargeBatchResponsePagedMetadata')
|
85
|
+
if @api_client.config.debugging
|
86
|
+
@api_client.config.logger.debug "API called: ChargesApi#batch_recalculate_subscription_charge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
87
|
+
end
|
88
|
+
return data, status_code, headers
|
89
|
+
end
|
90
|
+
|
34
91
|
# Retrieves a collection of all charges. By default 10 values are returned. Records are returned in natural order.
|
35
92
|
# {\"nickname\":\"Retrieve all charges\",\"response\":\"getChargeAll.html\"}
|
36
93
|
# @param [Hash] opts the optional parameters
|
@@ -79,7 +136,7 @@ module BillForward
|
|
79
136
|
header_params = {}
|
80
137
|
|
81
138
|
# HTTP header 'Accept' (if needed)
|
82
|
-
local_header_accept = ['application/json']
|
139
|
+
local_header_accept = ['application/json; charset=utf-8']
|
83
140
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
84
141
|
|
85
142
|
# HTTP header 'Content-Type'
|
@@ -157,7 +214,7 @@ module BillForward
|
|
157
214
|
header_params = {}
|
158
215
|
|
159
216
|
# HTTP header 'Accept' (if needed)
|
160
|
-
local_header_accept = ['application/json']
|
217
|
+
local_header_accept = ['application/json; charset=utf-8']
|
161
218
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
162
219
|
|
163
220
|
# HTTP header 'Content-Type'
|
@@ -235,7 +292,7 @@ module BillForward
|
|
235
292
|
header_params = {}
|
236
293
|
|
237
294
|
# HTTP header 'Accept' (if needed)
|
238
|
-
local_header_accept = ['application/json']
|
295
|
+
local_header_accept = ['application/json; charset=utf-8']
|
239
296
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
240
297
|
|
241
298
|
# HTTP header 'Content-Type'
|
@@ -317,7 +374,7 @@ module BillForward
|
|
317
374
|
header_params = {}
|
318
375
|
|
319
376
|
# HTTP header 'Accept' (if needed)
|
320
|
-
local_header_accept = ['application/json']
|
377
|
+
local_header_accept = ['application/json; charset=utf-8']
|
321
378
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
322
379
|
|
323
380
|
# HTTP header 'Content-Type'
|
@@ -377,7 +434,7 @@ module BillForward
|
|
377
434
|
header_params = {}
|
378
435
|
|
379
436
|
# HTTP header 'Accept' (if needed)
|
380
|
-
local_header_accept = ['application/json']
|
437
|
+
local_header_accept = ['application/json; charset=utf-8']
|
381
438
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
382
439
|
|
383
440
|
# HTTP header 'Content-Type'
|
@@ -438,11 +495,11 @@ module BillForward
|
|
438
495
|
header_params = {}
|
439
496
|
|
440
497
|
# HTTP header 'Accept' (if needed)
|
441
|
-
local_header_accept = ['text/xml', 'application/xml', 'application/json']
|
498
|
+
local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
|
442
499
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
443
500
|
|
444
501
|
# HTTP header 'Content-Type'
|
445
|
-
local_header_content_type = ['application/json']
|
502
|
+
local_header_content_type = ['application/json; charset=utf-8']
|
446
503
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
447
504
|
|
448
505
|
# form parameters
|
@@ -498,7 +555,7 @@ module BillForward
|
|
498
555
|
header_params = {}
|
499
556
|
|
500
557
|
# HTTP header 'Accept' (if needed)
|
501
|
-
local_header_accept = ['application/json']
|
558
|
+
local_header_accept = ['application/json; charset=utf-8']
|
502
559
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
503
560
|
|
504
561
|
# 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
|
@@ -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'
|
@@ -196,7 +196,7 @@ module BillForward
|
|
196
196
|
header_params = {}
|
197
197
|
|
198
198
|
# HTTP header 'Accept' (if needed)
|
199
|
-
local_header_accept = ['application/json']
|
199
|
+
local_header_accept = ['application/json; charset=utf-8']
|
200
200
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
201
201
|
|
202
202
|
# HTTP header 'Content-Type'
|
@@ -253,11 +253,11 @@ module BillForward
|
|
253
253
|
header_params = {}
|
254
254
|
|
255
255
|
# HTTP header 'Accept' (if needed)
|
256
|
-
local_header_accept = ['text/xml', 'application/xml', 'application/json']
|
256
|
+
local_header_accept = ['text/xml', 'application/xml', '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'
|
260
|
-
local_header_content_type = ['application/json']
|
260
|
+
local_header_content_type = ['application/json; charset=utf-8']
|
261
261
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
262
262
|
|
263
263
|
# 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
|
@@ -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'
|
@@ -212,7 +212,7 @@ module BillForward
|
|
212
212
|
header_params = {}
|
213
213
|
|
214
214
|
# HTTP header 'Accept' (if needed)
|
215
|
-
local_header_accept = ['application/json']
|
215
|
+
local_header_accept = ['application/json; charset=utf-8']
|
216
216
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
217
217
|
|
218
218
|
# HTTP header 'Content-Type'
|
@@ -269,11 +269,11 @@ module BillForward
|
|
269
269
|
header_params = {}
|
270
270
|
|
271
271
|
# HTTP header 'Accept' (if needed)
|
272
|
-
local_header_accept = ['text/xml', 'application/xml', 'application/json']
|
272
|
+
local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
|
273
273
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
274
274
|
|
275
275
|
# HTTP header 'Content-Type'
|
276
|
-
local_header_content_type = ['application/json']
|
276
|
+
local_header_content_type = ['application/json; charset=utf-8']
|
277
277
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
278
278
|
|
279
279
|
# 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
|
@@ -122,7 +122,7 @@ module BillForward
|
|
122
122
|
header_params = {}
|
123
123
|
|
124
124
|
# HTTP header 'Accept' (if needed)
|
125
|
-
local_header_accept = ['application/json']
|
125
|
+
local_header_accept = ['application/json; charset=utf-8']
|
126
126
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
127
127
|
|
128
128
|
# HTTP header 'Content-Type'
|
@@ -201,7 +201,7 @@ module BillForward
|
|
201
201
|
header_params = {}
|
202
202
|
|
203
203
|
# HTTP header 'Accept' (if needed)
|
204
|
-
local_header_accept = ['application/json']
|
204
|
+
local_header_accept = ['application/json; charset=utf-8']
|
205
205
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
206
206
|
|
207
207
|
# 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'
|
@@ -413,7 +413,7 @@ module BillForward
|
|
413
413
|
header_params = {}
|
414
414
|
|
415
415
|
# HTTP header 'Accept' (if needed)
|
416
|
-
local_header_accept = ['application/json']
|
416
|
+
local_header_accept = ['application/json; charset=utf-8']
|
417
417
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
418
418
|
|
419
419
|
# HTTP header 'Content-Type'
|
@@ -473,7 +473,7 @@ module BillForward
|
|
473
473
|
header_params = {}
|
474
474
|
|
475
475
|
# HTTP header 'Accept' (if needed)
|
476
|
-
local_header_accept = ['application/json']
|
476
|
+
local_header_accept = ['application/json; charset=utf-8']
|
477
477
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
478
478
|
|
479
479
|
# HTTP header 'Content-Type'
|
@@ -533,7 +533,7 @@ module BillForward
|
|
533
533
|
header_params = {}
|
534
534
|
|
535
535
|
# HTTP header 'Accept' (if needed)
|
536
|
-
local_header_accept = ['application/json']
|
536
|
+
local_header_accept = ['application/json; charset=utf-8']
|
537
537
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
538
538
|
|
539
539
|
# HTTP header 'Content-Type'
|
@@ -590,11 +590,11 @@ module BillForward
|
|
590
590
|
header_params = {}
|
591
591
|
|
592
592
|
# HTTP header 'Accept' (if needed)
|
593
|
-
local_header_accept = ['text/xml', 'application/xml', 'application/json']
|
593
|
+
local_header_accept = ['text/xml', 'application/xml', 'application/json; charset=utf-8']
|
594
594
|
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
595
595
|
|
596
596
|
# HTTP header 'Content-Type'
|
597
|
-
local_header_content_type = ['application/json']
|
597
|
+
local_header_content_type = ['application/json; charset=utf-8']
|
598
598
|
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
599
599
|
|
600
600
|
# form parameters
|