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/docs/CouponsApi.md CHANGED
@@ -56,8 +56,8 @@ No authorization required
56
56
 
57
57
  ### HTTP request headers
58
58
 
59
- - **Content-Type**: application/json
60
- - **Accept**: application/json
59
+ - **Content-Type**: application/json; charset=utf-8
60
+ - **Accept**: application/json; charset=utf-8
61
61
 
62
62
 
63
63
 
@@ -107,8 +107,8 @@ No authorization required
107
107
 
108
108
  ### HTTP request headers
109
109
 
110
- - **Content-Type**: application/json
111
- - **Accept**: application/json
110
+ - **Content-Type**: application/json; charset=utf-8
111
+ - **Accept**: application/json; charset=utf-8
112
112
 
113
113
 
114
114
 
@@ -166,7 +166,7 @@ No authorization required
166
166
  ### HTTP request headers
167
167
 
168
168
  - **Content-Type**: Not defined
169
- - **Accept**: application/json
169
+ - **Accept**: application/json; charset=utf-8
170
170
 
171
171
 
172
172
 
@@ -227,7 +227,7 @@ No authorization required
227
227
  ### HTTP request headers
228
228
 
229
229
  - **Content-Type**: text/plain
230
- - **Accept**: application/json
230
+ - **Accept**: application/json; charset=utf-8
231
231
 
232
232
 
233
233
 
@@ -288,7 +288,7 @@ No authorization required
288
288
  ### HTTP request headers
289
289
 
290
290
  - **Content-Type**: text/plain
291
- - **Accept**: application/json
291
+ - **Accept**: application/json; charset=utf-8
292
292
 
293
293
 
294
294
 
@@ -339,7 +339,7 @@ No authorization required
339
339
  ### HTTP request headers
340
340
 
341
341
  - **Content-Type**: text/plain
342
- - **Accept**: application/json
342
+ - **Accept**: application/json; charset=utf-8
343
343
 
344
344
 
345
345
 
@@ -400,7 +400,7 @@ No authorization required
400
400
  ### HTTP request headers
401
401
 
402
402
  - **Content-Type**: text/plain
403
- - **Accept**: application/json
403
+ - **Accept**: application/json; charset=utf-8
404
404
 
405
405
 
406
406
 
@@ -450,7 +450,7 @@ No authorization required
450
450
  ### HTTP request headers
451
451
 
452
452
  - **Content-Type**: text/plain
453
- - **Accept**: application/json
453
+ - **Accept**: application/json; charset=utf-8
454
454
 
455
455
 
456
456
 
@@ -19,7 +19,6 @@ Name | Type | Description | Notes
19
19
  **description** | **String** | { \"description\" : \".\", \"verbs\":[\"POST\",\"GET\"] } | [optional]
20
20
  **amount** | **Float** | { \"description\" : \"Monetary value to charge in the same currency as the subscription.\", \"verbs\":[\"POST\",\"GET\"] } |
21
21
  **discount** | **Float** | { \"description\" : \"\", \"verbs\":[] } | [optional]
22
- **type** | **String** | { \"description\" : \"\", \"default\" : \"Manual\", \"verbs\":[] } |
23
22
  **invoicing_type** | **String** | { \"description\" : \"<span class=\\\"label label-default\\\">Immediate</span> invoicing will result in an invoice being issued immediately for the charge. <span class=\\\"label label-default\\\">Aggregated</span> invoicing will generate a charge to be added to the next issued invoice, for example at the current billing period end.\", \"default\" : \"Aggregated\", \"verbs\":[\"POST\",\"PUT\",\"GET\"] } |
24
23
  **tax_status** | **String** | { \"description\" : \"Whether the amount specified is <span class=\\\"label label-default\\\">inclusive</span> or <span class=\\\"label label-default\\\">exclusive</span> of tax\", \"default\" : \"inclusive\", \"verbs\":[\"POST\",\"PUT\",\"GET\"] } |
25
24
  **subscription_charge** | [**SubscriptionCharge**](SubscriptionCharge.md) | { \"description\" : \"\", \"verbs\":[\"GET\"] } | [optional]
@@ -20,7 +20,9 @@ Name | Type | Description | Notes
20
20
  **pricing_component_quantities** | [**Array<PricingComponentQuantityRequest>**](PricingComponentQuantityRequest.md) | {\"default\":\"(empty list)\",\"description\":\"Quantities that this subscription possesses (upon beginning service), of pricing components upon the subscription's rate plan. For example: you can set the subscription to begin its service with '5 widgets' consumed. Otherwise the 'default quantity' will be observed instead, for each pricing component upon the rate plan.\",\"verbs\":[\"POST\"]} | [optional]
21
21
  **metadata** | [**DynamicMetadata**](DynamicMetadata.md) | { \"description\" : \"Add metadata.\", \"verbs\":[\"POST\"] } | [optional]
22
22
  **payment_terms** | **Integer** | | [optional]
23
+ **purchase_order** | **String** | { \"default\": \" \", \"description\":\"Purchase order associated with the subscription. If specified this is copied to any invoices issued for this subscription.\",\"verbs\":[\"POST\"]} | [optional]
23
24
  **contract_start** | **DateTime** | {\"description\":\"start of the contracted period. This will be after a trial, if one exists\",\"verbs\":[\"GET\"]} | [optional]
24
25
  **failed_payment_behaviour** | **String** | {\"default\":\"None\",\"description\":\"The action that should be taken, should an invoice for some subscription to this rate plan remain unpaid despite the dunning period's being exceeded.<br><span class=\\\"label label-default\\\">CancelSubscription</span> — Demotes the subscription to the `Failed` state as soon as the dunning period is exceeded.<br><span class=\\\"label label-default\\\">None</span> — The subscription is allowed to continue in the `AwaitingPayment` state indefinitely even if the dunning period is exceeded.For slow payment cycles — or when manual invoice remediation is common — <span class=\\\"label label-default\\\">None</span> is recommended.<br>In a heavily-automated SaaS environment, automatic cancellation via <span class=\\\"label label-default\\\">CancelSubscription</span> is recommended.\",\"verbs\":[\"POST\",\"PUT\",\"GET\"]} | [optional]
26
+ **prepayment_amount** | **Float** | { \"description\":\"How much prepayment should be taken upfront.\", \"verbs\":[\"POST\",\"GET\"]} | [optional]
25
27
 
26
28
 
@@ -54,8 +54,8 @@ No authorization required
54
54
 
55
55
  ### HTTP request headers
56
56
 
57
- - **Content-Type**: application/json
58
- - **Accept**: text/xml, application/xml, application/json
57
+ - **Content-Type**: application/json; charset=utf-8
58
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
59
59
 
60
60
 
61
61
 
@@ -106,7 +106,7 @@ No authorization required
106
106
  ### HTTP request headers
107
107
 
108
108
  - **Content-Type**: text/plain
109
- - **Accept**: application/json
109
+ - **Accept**: application/json; charset=utf-8
110
110
 
111
111
 
112
112
 
@@ -165,7 +165,7 @@ No authorization required
165
165
  ### HTTP request headers
166
166
 
167
167
  - **Content-Type**: text/plain
168
- - **Accept**: application/json
168
+ - **Accept**: application/json; charset=utf-8
169
169
 
170
170
 
171
171
 
@@ -224,7 +224,7 @@ No authorization required
224
224
  ### HTTP request headers
225
225
 
226
226
  - **Content-Type**: text/plain
227
- - **Accept**: application/json
227
+ - **Accept**: application/json; charset=utf-8
228
228
 
229
229
 
230
230
 
@@ -283,7 +283,7 @@ No authorization required
283
283
  ### HTTP request headers
284
284
 
285
285
  - **Content-Type**: text/plain
286
- - **Accept**: application/json
286
+ - **Accept**: application/json; charset=utf-8
287
287
 
288
288
 
289
289
 
@@ -333,7 +333,7 @@ No authorization required
333
333
  ### HTTP request headers
334
334
 
335
335
  - **Content-Type**: text/plain
336
- - **Accept**: application/json
336
+ - **Accept**: application/json; charset=utf-8
337
337
 
338
338
 
339
339
 
@@ -53,8 +53,8 @@ No authorization required
53
53
 
54
54
  ### HTTP request headers
55
55
 
56
- - **Content-Type**: application/json
57
- - **Accept**: text/xml, application/xml, application/json
56
+ - **Content-Type**: application/json; charset=utf-8
57
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
58
58
 
59
59
 
60
60
 
@@ -105,7 +105,7 @@ No authorization required
105
105
  ### HTTP request headers
106
106
 
107
107
  - **Content-Type**: text/plain
108
- - **Accept**: application/json
108
+ - **Accept**: application/json; charset=utf-8
109
109
 
110
110
 
111
111
 
@@ -156,7 +156,7 @@ No authorization required
156
156
  ### HTTP request headers
157
157
 
158
158
  - **Content-Type**: text/plain
159
- - **Accept**: application/json
159
+ - **Accept**: application/json; charset=utf-8
160
160
 
161
161
 
162
162
 
@@ -206,7 +206,7 @@ No authorization required
206
206
  ### HTTP request headers
207
207
 
208
208
  - **Content-Type**: text/plain
209
- - **Accept**: application/json
209
+ - **Accept**: application/json; charset=utf-8
210
210
 
211
211
 
212
212
 
@@ -252,8 +252,8 @@ No authorization required
252
252
 
253
253
  ### HTTP request headers
254
254
 
255
- - **Content-Type**: application/json
256
- - **Accept**: text/xml, application/xml, application/json
255
+ - **Content-Type**: application/json; charset=utf-8
256
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
257
257
 
258
258
 
259
259
 
@@ -54,8 +54,8 @@ No authorization required
54
54
 
55
55
  ### HTTP request headers
56
56
 
57
- - **Content-Type**: application/json
58
- - **Accept**: text/xml, application/xml, application/json
57
+ - **Content-Type**: application/json; charset=utf-8
58
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
59
59
 
60
60
 
61
61
 
@@ -113,7 +113,7 @@ No authorization required
113
113
  ### HTTP request headers
114
114
 
115
115
  - **Content-Type**: Not defined
116
- - **Accept**: application/json
116
+ - **Accept**: application/json; charset=utf-8
117
117
 
118
118
 
119
119
 
@@ -174,7 +174,7 @@ No authorization required
174
174
  ### HTTP request headers
175
175
 
176
176
  - **Content-Type**: Not defined
177
- - **Accept**: application/json
177
+ - **Accept**: application/json; charset=utf-8
178
178
 
179
179
 
180
180
 
@@ -225,7 +225,7 @@ No authorization required
225
225
  ### HTTP request headers
226
226
 
227
227
  - **Content-Type**: text/plain
228
- - **Accept**: application/json, text/xml
228
+ - **Accept**: application/json; charset=utf-8, text/xml
229
229
 
230
230
 
231
231
 
@@ -275,7 +275,7 @@ No authorization required
275
275
  ### HTTP request headers
276
276
 
277
277
  - **Content-Type**: text/plain
278
- - **Accept**: application/json
278
+ - **Accept**: application/json; charset=utf-8
279
279
 
280
280
 
281
281
 
@@ -321,8 +321,8 @@ No authorization required
321
321
 
322
322
  ### HTTP request headers
323
323
 
324
- - **Content-Type**: application/json
325
- - **Accept**: text/xml, application/xml, application/json
324
+ - **Content-Type**: application/json; charset=utf-8
325
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
326
326
 
327
327
 
328
328
 
@@ -52,8 +52,8 @@ No authorization required
52
52
 
53
53
  ### HTTP request headers
54
54
 
55
- - **Content-Type**: application/json
56
- - **Accept**: text/xml, application/xml, application/json
55
+ - **Content-Type**: application/json; charset=utf-8
56
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
57
57
 
58
58
 
59
59
 
@@ -104,7 +104,7 @@ No authorization required
104
104
  ### HTTP request headers
105
105
 
106
106
  - **Content-Type**: text/plain
107
- - **Accept**: application/json
107
+ - **Accept**: application/json; charset=utf-8
108
108
 
109
109
 
110
110
 
@@ -162,7 +162,7 @@ No authorization required
162
162
  ### HTTP request headers
163
163
 
164
164
  - **Content-Type**: Not defined
165
- - **Accept**: application/json
165
+ - **Accept**: application/json; charset=utf-8
166
166
 
167
167
 
168
168
 
@@ -215,7 +215,7 @@ No authorization required
215
215
  ### HTTP request headers
216
216
 
217
217
  - **Content-Type**: text/plain
218
- - **Accept**: application/json
218
+ - **Accept**: application/json; charset=utf-8
219
219
 
220
220
 
221
221
 
data/docs/EmailsApi.md CHANGED
@@ -56,7 +56,7 @@ No authorization required
56
56
  ### HTTP request headers
57
57
 
58
58
  - **Content-Type**: text/plain
59
- - **Accept**: application/json, text/xml
59
+ - **Accept**: application/json; charset=utf-8, text/xml
60
60
 
61
61
 
62
62
 
@@ -53,8 +53,8 @@ No authorization required
53
53
 
54
54
  ### HTTP request headers
55
55
 
56
- - **Content-Type**: application/json
57
- - **Accept**: text/xml, application/xml, application/json
56
+ - **Content-Type**: application/json; charset=utf-8
57
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
58
58
 
59
59
 
60
60
 
@@ -105,7 +105,7 @@ No authorization required
105
105
  ### HTTP request headers
106
106
 
107
107
  - **Content-Type**: text/plain
108
- - **Accept**: application/json, text/xml
108
+ - **Accept**: application/json; charset=utf-8, text/xml
109
109
 
110
110
 
111
111
 
@@ -167,7 +167,7 @@ No authorization required
167
167
  ### HTTP request headers
168
168
 
169
169
  - **Content-Type**: Not defined
170
- - **Accept**: application/json
170
+ - **Accept**: application/json; charset=utf-8
171
171
 
172
172
 
173
173
 
@@ -220,7 +220,7 @@ No authorization required
220
220
  ### HTTP request headers
221
221
 
222
222
  - **Content-Type**: text/plain
223
- - **Accept**: application/json
223
+ - **Accept**: application/json; charset=utf-8
224
224
 
225
225
 
226
226
 
@@ -266,8 +266,8 @@ No authorization required
266
266
 
267
267
  ### HTTP request headers
268
268
 
269
- - **Content-Type**: application/json
270
- - **Accept**: text/xml, application/xml, application/json
269
+ - **Content-Type**: application/json; charset=utf-8
270
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
271
271
 
272
272
 
273
273
 
@@ -50,8 +50,8 @@ No authorization required
50
50
 
51
51
  ### HTTP request headers
52
52
 
53
- - **Content-Type**: application/json
54
- - **Accept**: text/xml, application/xml, application/json
53
+ - **Content-Type**: application/json; charset=utf-8
54
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
55
55
 
56
56
 
57
57
 
@@ -97,8 +97,8 @@ No authorization required
97
97
 
98
98
  ### HTTP request headers
99
99
 
100
- - **Content-Type**: application/json
101
- - **Accept**: text/xml, application/xml, application/json
100
+ - **Content-Type**: application/json; charset=utf-8
101
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
102
102
 
103
103
 
104
104
 
@@ -49,8 +49,8 @@ No authorization required
49
49
 
50
50
  ### HTTP request headers
51
51
 
52
- - **Content-Type**: application/json
53
- - **Accept**: text/xml, application/xml, application/json
52
+ - **Content-Type**: application/json; charset=utf-8
53
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
54
54
 
55
55
 
56
56
 
data/docs/Invoice.md CHANGED
@@ -42,6 +42,9 @@ Name | Type | Description | Notes
42
42
  **locked** | **String** | { \"description\" : \"If the subscription is locked, it will not be processed by the system\", \"verbs\":[] } | [optional]
43
43
  **managed_by** | **String** | { \"description\" : \"Which system is responsible for managing the subscription.\", \"verbs\":[] } | [optional]
44
44
  **initial_invoice** | **BOOLEAN** | { \"description\" : \"Is this an initial invoice. An initial invoice is the first invoice generated for a subscription. Initial invoices will not have dunning applied to them and as such will only have a single payment attempt. For trial periods, the trial invoice is the initial invoice.\", \"verbs\":[\"GET\"] } | [default to false]
45
+ **processing** | **BOOLEAN** | { \"processing\" : \"If true, the invoice is processing.\", \"verbs\":[] } | [optional] [default to false]
46
+ **payment_terms** | **Integer** | | [optional]
47
+ **purchase_order** | **String** | { \"description\" : \"Purchase order associated with the subscription. If specified this is copied to any invoices issued for this subscription.\", \"verbs\":[\"GET\",\"PUT\",\"POST\"] } | [optional]
45
48
  **version_number** | **Integer** | { \"description\" : \"The version number of the Invoice. The first version of an Invoice is version number 1\", \"verbs\":[\"GET\"] } |
46
49
  **invoice_lines** | [**Array<InvoiceLine>**](InvoiceLine.md) | { \"description\" : \"The collection of invoice-lines associated with the invoice.\", \"verbs\":[\"GET\"] } | [optional]
47
50
  **tax_lines** | [**Array<InsertableBillingEntity>**](InsertableBillingEntity.md) | | [optional]
data/docs/InvoicesApi.md CHANGED
@@ -94,8 +94,8 @@ No authorization required
94
94
 
95
95
  ### HTTP request headers
96
96
 
97
- - **Content-Type**: application/json
98
- - **Accept**: application/json
97
+ - **Content-Type**: application/json; charset=utf-8
98
+ - **Accept**: application/json; charset=utf-8
99
99
 
100
100
 
101
101
 
@@ -141,8 +141,8 @@ No authorization required
141
141
 
142
142
  ### HTTP request headers
143
143
 
144
- - **Content-Type**: application/json
145
- - **Accept**: application/json
144
+ - **Content-Type**: application/json; charset=utf-8
145
+ - **Accept**: application/json; charset=utf-8
146
146
 
147
147
 
148
148
 
@@ -191,8 +191,8 @@ No authorization required
191
191
 
192
192
  ### HTTP request headers
193
193
 
194
- - **Content-Type**: application/json
195
- - **Accept**: application/json
194
+ - **Content-Type**: application/json; charset=utf-8
195
+ - **Accept**: application/json; charset=utf-8
196
196
 
197
197
 
198
198
 
@@ -239,8 +239,8 @@ No authorization required
239
239
 
240
240
  ### HTTP request headers
241
241
 
242
- - **Content-Type**: application/json
243
- - **Accept**: application/json
242
+ - **Content-Type**: application/json; charset=utf-8
243
+ - **Accept**: application/json; charset=utf-8
244
244
 
245
245
 
246
246
 
@@ -301,8 +301,8 @@ No authorization required
301
301
 
302
302
  ### HTTP request headers
303
303
 
304
- - **Content-Type**: text/plain, application/json
305
- - **Accept**: application/json
304
+ - **Content-Type**: text/plain, application/json; charset=utf-8
305
+ - **Accept**: application/json; charset=utf-8
306
306
 
307
307
 
308
308
 
@@ -359,7 +359,7 @@ No authorization required
359
359
 
360
360
  ### HTTP request headers
361
361
 
362
- - **Content-Type**: text/plain, application/json
362
+ - **Content-Type**: text/plain, application/json; charset=utf-8
363
363
  - **Accept**: text/csv
364
364
 
365
365
 
@@ -476,8 +476,8 @@ No authorization required
476
476
 
477
477
  ### HTTP request headers
478
478
 
479
- - **Content-Type**: text/plain, application/json
480
- - **Accept**: application/json
479
+ - **Content-Type**: text/plain, application/json; charset=utf-8
480
+ - **Accept**: application/json; charset=utf-8
481
481
 
482
482
 
483
483
 
@@ -528,7 +528,7 @@ No authorization required
528
528
 
529
529
  ### HTTP request headers
530
530
 
531
- - **Content-Type**: text/plain, application/json
531
+ - **Content-Type**: text/plain, application/json; charset=utf-8
532
532
  - **Accept**: text/csv
533
533
 
534
534
 
@@ -580,7 +580,7 @@ No authorization required
580
580
 
581
581
  ### HTTP request headers
582
582
 
583
- - **Content-Type**: text/plain, application/json
583
+ - **Content-Type**: text/plain, application/json; charset=utf-8
584
584
  - **Accept**: text/csv
585
585
 
586
586
 
@@ -632,7 +632,7 @@ No authorization required
632
632
 
633
633
  ### HTTP request headers
634
634
 
635
- - **Content-Type**: text/plain, application/json
635
+ - **Content-Type**: text/plain, application/json; charset=utf-8
636
636
  - **Accept**: text/csv
637
637
 
638
638
 
@@ -684,7 +684,7 @@ No authorization required
684
684
 
685
685
  ### HTTP request headers
686
686
 
687
- - **Content-Type**: text/plain, application/json
687
+ - **Content-Type**: text/plain, application/json; charset=utf-8
688
688
  - **Accept**: text/csv
689
689
 
690
690
 
@@ -753,7 +753,7 @@ No authorization required
753
753
 
754
754
  ### HTTP request headers
755
755
 
756
- - **Content-Type**: text/plain, application/json
756
+ - **Content-Type**: text/plain, application/json; charset=utf-8
757
757
  - **Accept**: text/html
758
758
 
759
759
 
@@ -826,7 +826,7 @@ No authorization required
826
826
 
827
827
  ### HTTP request headers
828
828
 
829
- - **Content-Type**: text/plain, application/json
829
+ - **Content-Type**: text/plain, application/json; charset=utf-8
830
830
  - **Accept**: application/pdf
831
831
 
832
832
 
@@ -889,8 +889,8 @@ No authorization required
889
889
 
890
890
  ### HTTP request headers
891
891
 
892
- - **Content-Type**: text/plain, application/json
893
- - **Accept**: application/json
892
+ - **Content-Type**: text/plain, application/json; charset=utf-8
893
+ - **Accept**: application/json; charset=utf-8
894
894
 
895
895
 
896
896
 
@@ -940,7 +940,7 @@ No authorization required
940
940
 
941
941
  ### HTTP request headers
942
942
 
943
- - **Content-Type**: text/plain, application/json
943
+ - **Content-Type**: text/plain, application/json; charset=utf-8
944
944
  - **Accept**: text/csv
945
945
 
946
946
 
@@ -1003,8 +1003,8 @@ No authorization required
1003
1003
 
1004
1004
  ### HTTP request headers
1005
1005
 
1006
- - **Content-Type**: text/plain, application/json
1007
- - **Accept**: application/json
1006
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1007
+ - **Accept**: application/json; charset=utf-8
1008
1008
 
1009
1009
 
1010
1010
 
@@ -1066,8 +1066,8 @@ No authorization required
1066
1066
 
1067
1067
  ### HTTP request headers
1068
1068
 
1069
- - **Content-Type**: text/plain, application/json
1070
- - **Accept**: application/json
1069
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1070
+ - **Accept**: application/json; charset=utf-8
1071
1071
 
1072
1072
 
1073
1073
 
@@ -1117,8 +1117,8 @@ No authorization required
1117
1117
 
1118
1118
  ### HTTP request headers
1119
1119
 
1120
- - **Content-Type**: text/plain, application/json
1121
- - **Accept**: application/json, text/xml
1120
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1121
+ - **Accept**: application/json; charset=utf-8, text/xml
1122
1122
 
1123
1123
 
1124
1124
 
@@ -1180,8 +1180,8 @@ No authorization required
1180
1180
 
1181
1181
  ### HTTP request headers
1182
1182
 
1183
- - **Content-Type**: text/plain, application/json
1184
- - **Accept**: application/json
1183
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1184
+ - **Accept**: application/json; charset=utf-8
1185
1185
 
1186
1186
 
1187
1187
 
@@ -1244,8 +1244,8 @@ No authorization required
1244
1244
 
1245
1245
  ### HTTP request headers
1246
1246
 
1247
- - **Content-Type**: text/plain, application/json
1248
- - **Accept**: application/json
1247
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1248
+ - **Accept**: application/json; charset=utf-8
1249
1249
 
1250
1250
 
1251
1251
 
@@ -1308,8 +1308,8 @@ No authorization required
1308
1308
 
1309
1309
  ### HTTP request headers
1310
1310
 
1311
- - **Content-Type**: text/plain, application/json
1312
- - **Accept**: application/json
1311
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1312
+ - **Accept**: application/json; charset=utf-8
1313
1313
 
1314
1314
 
1315
1315
 
@@ -1372,7 +1372,7 @@ No authorization required
1372
1372
 
1373
1373
  ### HTTP request headers
1374
1374
 
1375
- - **Content-Type**: text/plain, application/json
1375
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1376
1376
  - **Accept**: text/csv
1377
1377
 
1378
1378
 
@@ -1433,8 +1433,8 @@ No authorization required
1433
1433
 
1434
1434
  ### HTTP request headers
1435
1435
 
1436
- - **Content-Type**: text/plain, application/json
1437
- - **Accept**: application/json
1436
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1437
+ - **Accept**: application/json; charset=utf-8
1438
1438
 
1439
1439
 
1440
1440
 
@@ -1500,8 +1500,8 @@ No authorization required
1500
1500
 
1501
1501
  ### HTTP request headers
1502
1502
 
1503
- - **Content-Type**: text/plain, application/json
1504
- - **Accept**: application/json
1503
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1504
+ - **Accept**: application/json; charset=utf-8
1505
1505
 
1506
1506
 
1507
1507
 
@@ -1567,7 +1567,7 @@ No authorization required
1567
1567
 
1568
1568
  ### HTTP request headers
1569
1569
 
1570
- - **Content-Type**: text/plain, application/json
1570
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1571
1571
  - **Accept**: text/csv
1572
1572
 
1573
1573
 
@@ -1628,7 +1628,7 @@ No authorization required
1628
1628
 
1629
1629
  ### HTTP request headers
1630
1630
 
1631
- - **Content-Type**: text/plain, application/json
1631
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1632
1632
  - **Accept**: text/csv
1633
1633
 
1634
1634
 
@@ -1791,8 +1791,8 @@ No authorization required
1791
1791
 
1792
1792
  ### HTTP request headers
1793
1793
 
1794
- - **Content-Type**: text/plain, application/json
1795
- - **Accept**: application/json
1794
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1795
+ - **Accept**: application/json; charset=utf-8
1796
1796
 
1797
1797
 
1798
1798
 
@@ -1843,7 +1843,7 @@ No authorization required
1843
1843
 
1844
1844
  ### HTTP request headers
1845
1845
 
1846
- - **Content-Type**: text/plain, application/json
1846
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1847
1847
  - **Accept**: text/csv
1848
1848
 
1849
1849
 
@@ -1895,7 +1895,7 @@ No authorization required
1895
1895
 
1896
1896
  ### HTTP request headers
1897
1897
 
1898
- - **Content-Type**: text/plain, application/json
1898
+ - **Content-Type**: text/plain, application/json; charset=utf-8
1899
1899
  - **Accept**: text/csv
1900
1900
 
1901
1901
 
@@ -2060,8 +2060,8 @@ No authorization required
2060
2060
 
2061
2061
  ### HTTP request headers
2062
2062
 
2063
- - **Content-Type**: text/plain, application/json
2064
- - **Accept**: application/json
2063
+ - **Content-Type**: text/plain, application/json; charset=utf-8
2064
+ - **Accept**: application/json; charset=utf-8
2065
2065
 
2066
2066
 
2067
2067
 
@@ -2107,8 +2107,8 @@ No authorization required
2107
2107
 
2108
2108
  ### HTTP request headers
2109
2109
 
2110
- - **Content-Type**: application/json
2111
- - **Accept**: application/json
2110
+ - **Content-Type**: application/json; charset=utf-8
2111
+ - **Accept**: application/json; charset=utf-8
2112
2112
 
2113
2113
 
2114
2114
 
@@ -2157,8 +2157,8 @@ No authorization required
2157
2157
 
2158
2158
  ### HTTP request headers
2159
2159
 
2160
- - **Content-Type**: application/json
2161
- - **Accept**: application/json
2160
+ - **Content-Type**: application/json; charset=utf-8
2161
+ - **Accept**: application/json; charset=utf-8
2162
2162
 
2163
2163
 
2164
2164
 
@@ -2211,8 +2211,8 @@ No authorization required
2211
2211
 
2212
2212
  ### HTTP request headers
2213
2213
 
2214
- - **Content-Type**: text/plain, application/json
2215
- - **Accept**: application/json
2214
+ - **Content-Type**: text/plain, application/json; charset=utf-8
2215
+ - **Accept**: application/json; charset=utf-8
2216
2216
 
2217
2217
 
2218
2218
 
@@ -2262,8 +2262,8 @@ No authorization required
2262
2262
 
2263
2263
  ### HTTP request headers
2264
2264
 
2265
- - **Content-Type**: text/plain, application/json
2266
- - **Accept**: application/json
2265
+ - **Content-Type**: text/plain, application/json; charset=utf-8
2266
+ - **Accept**: application/json; charset=utf-8
2267
2267
 
2268
2268
 
2269
2269
 
@@ -2316,8 +2316,8 @@ No authorization required
2316
2316
 
2317
2317
  ### HTTP request headers
2318
2318
 
2319
- - **Content-Type**: application/json
2320
- - **Accept**: application/json
2319
+ - **Content-Type**: application/json; charset=utf-8
2320
+ - **Accept**: application/json; charset=utf-8
2321
2321
 
2322
2322
 
2323
2323
 
@@ -2363,8 +2363,8 @@ No authorization required
2363
2363
 
2364
2364
  ### HTTP request headers
2365
2365
 
2366
- - **Content-Type**: application/json
2367
- - **Accept**: text/xml, application/xml, application/json
2366
+ - **Content-Type**: application/json; charset=utf-8
2367
+ - **Accept**: text/xml, application/xml, application/json; charset=utf-8
2368
2368
 
2369
2369
 
2370
2370
 
@@ -2417,8 +2417,8 @@ No authorization required
2417
2417
 
2418
2418
  ### HTTP request headers
2419
2419
 
2420
- - **Content-Type**: application/json
2421
- - **Accept**: application/json
2420
+ - **Content-Type**: application/json; charset=utf-8
2421
+ - **Accept**: application/json; charset=utf-8
2422
2422
 
2423
2423
 
2424
2424
 
@@ -2467,8 +2467,8 @@ No authorization required
2467
2467
 
2468
2468
  ### HTTP request headers
2469
2469
 
2470
- - **Content-Type**: text/plain, application/json
2471
- - **Accept**: application/json
2470
+ - **Content-Type**: text/plain, application/json; charset=utf-8
2471
+ - **Accept**: application/json; charset=utf-8
2472
2472
 
2473
2473
 
2474
2474