maxio-advanced-billing-sdk 10.0.0 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +60 -51
  3. data/lib/advanced_billing/client.rb +54 -0
  4. data/lib/advanced_billing/controllers/advance_invoice_controller.rb +2 -2
  5. data/lib/advanced_billing/controllers/base_controller.rb +1 -1
  6. data/lib/advanced_billing/controllers/billing_portal_controller.rb +2 -2
  7. data/lib/advanced_billing/controllers/component_features_controller.rb +327 -0
  8. data/lib/advanced_billing/controllers/component_price_points_controller.rb +2 -2
  9. data/lib/advanced_billing/controllers/components_controller.rb +36 -27
  10. data/lib/advanced_billing/controllers/coupons_controller.rb +7 -7
  11. data/lib/advanced_billing/controllers/custom_fields_controller.rb +6 -5
  12. data/lib/advanced_billing/controllers/customers_controller.rb +59 -4
  13. data/lib/advanced_billing/controllers/entitlements_controller.rb +55 -0
  14. data/lib/advanced_billing/controllers/events_based_billing_segments_controller.rb +62 -3
  15. data/lib/advanced_billing/controllers/events_controller.rb +2 -2
  16. data/lib/advanced_billing/controllers/feature_templates_controller.rb +243 -0
  17. data/lib/advanced_billing/controllers/insights_controller.rb +6 -5
  18. data/lib/advanced_billing/controllers/invoices_controller.rb +44 -1
  19. data/lib/advanced_billing/controllers/offers_controller.rb +2 -2
  20. data/lib/advanced_billing/controllers/payment_profiles_controller.rb +41 -36
  21. data/lib/advanced_billing/controllers/product_families_controller.rb +3 -4
  22. data/lib/advanced_billing/controllers/product_features_controller.rb +323 -0
  23. data/lib/advanced_billing/controllers/product_price_points_controller.rb +2 -2
  24. data/lib/advanced_billing/controllers/products_controller.rb +17 -5
  25. data/lib/advanced_billing/controllers/proforma_invoices_controller.rb +14 -0
  26. data/lib/advanced_billing/controllers/reason_codes_controller.rb +2 -2
  27. data/lib/advanced_billing/controllers/referral_codes_controller.rb +2 -2
  28. data/lib/advanced_billing/controllers/sites_controller.rb +6 -6
  29. data/lib/advanced_billing/controllers/subscription_components_controller.rb +83 -32
  30. data/lib/advanced_billing/controllers/subscription_group_status_controller.rb +3 -3
  31. data/lib/advanced_billing/controllers/subscription_groups_controller.rb +51 -12
  32. data/lib/advanced_billing/controllers/subscription_invoice_account_controller.rb +3 -3
  33. data/lib/advanced_billing/controllers/subscription_notes_controller.rb +3 -4
  34. data/lib/advanced_billing/controllers/subscription_products_controller.rb +5 -5
  35. data/lib/advanced_billing/controllers/subscription_renewals_controller.rb +18 -0
  36. data/lib/advanced_billing/controllers/subscription_status_controller.rb +10 -10
  37. data/lib/advanced_billing/controllers/subscriptions_controller.rb +179 -42
  38. data/lib/advanced_billing/controllers/wallet_adjustments_controller.rb +121 -0
  39. data/lib/advanced_billing/controllers/wallet_products_controller.rb +278 -0
  40. data/lib/advanced_billing/controllers/wallet_purchases_controller.rb +171 -0
  41. data/lib/advanced_billing/controllers/wallet_transactions_controller.rb +160 -0
  42. data/lib/advanced_billing/controllers/wallets_controller.rb +259 -0
  43. data/lib/advanced_billing/exceptions/event_based_billing_list_segments_errors_exception.rb +1 -1
  44. data/lib/advanced_billing/exceptions/event_based_billing_segment_exception.rb +2 -2
  45. data/lib/advanced_billing/exceptions/{event_based_billing_segment_errors_exception.rb → event_based_billing_segment_write_error_response_exception.rb} +5 -6
  46. data/lib/advanced_billing/exceptions/segment_price_point_errors_exception.rb +48 -0
  47. data/lib/advanced_billing/exceptions/wallet_error_response_exception.rb +76 -0
  48. data/lib/advanced_billing/models/active_wallets.rb +88 -0
  49. data/lib/advanced_billing/models/adjustment.rb +196 -0
  50. data/lib/advanced_billing/models/aggregated_entitlement.rb +186 -0
  51. data/lib/advanced_billing/models/aggregated_entitlement_periodicity.rb +93 -0
  52. data/lib/advanced_billing/models/aggregated_entitlements_response.rb +108 -0
  53. data/lib/advanced_billing/models/change_invoice_status_event_data.rb +6 -6
  54. data/lib/advanced_billing/models/clone_component_price_point.rb +25 -5
  55. data/lib/advanced_billing/models/clone_feature_catalog_item.rb +144 -0
  56. data/lib/advanced_billing/models/component.rb +57 -13
  57. data/lib/advanced_billing/models/component_currency_price.rb +31 -7
  58. data/lib/advanced_billing/models/component_custom_price.rb +45 -7
  59. data/lib/advanced_billing/models/component_kind.rb +5 -1
  60. data/lib/advanced_billing/models/component_price_point.rb +38 -3
  61. data/lib/advanced_billing/models/component_price_point_assignment.rb +12 -4
  62. data/lib/advanced_billing/models/component_price_point_item.rb +19 -4
  63. data/lib/advanced_billing/models/create_component_price_point.rb +34 -3
  64. data/lib/advanced_billing/models/create_customer.rb +62 -8
  65. data/lib/advanced_billing/models/create_feature_catalog_item_request.rb +71 -0
  66. data/lib/advanced_billing/models/create_feature_template_request.rb +70 -0
  67. data/lib/advanced_billing/models/create_subscription.rb +22 -21
  68. data/lib/advanced_billing/models/{event_based_billing_segment_error.rb → create_wallet_adjustment_request.rb} +13 -15
  69. data/lib/advanced_billing/models/create_wallet_product_request.rb +74 -0
  70. data/lib/advanced_billing/models/create_wallet_purchase_request.rb +72 -0
  71. data/lib/advanced_billing/models/create_wallet_request.rb +70 -0
  72. data/lib/advanced_billing/models/create_wallet_transaction_request.rb +72 -0
  73. data/lib/advanced_billing/models/credit_note.rb +12 -3
  74. data/lib/advanced_billing/models/credit_note_date_field.rb +44 -0
  75. data/lib/advanced_billing/models/credit_note_line_item.rb +50 -11
  76. data/lib/advanced_billing/models/currency_overage_prices.rb +69 -6
  77. data/lib/advanced_billing/models/customer.rb +103 -14
  78. data/lib/advanced_billing/models/ebb_component.rb +59 -27
  79. data/lib/advanced_billing/models/entitlement_periodicity_unit.rb +48 -0
  80. data/lib/advanced_billing/models/entity_identifier_kind.rb +62 -0
  81. data/lib/advanced_billing/models/errors.rb +1 -1
  82. data/lib/advanced_billing/models/event_based_billing_segment_error_details.rb +88 -0
  83. data/lib/advanced_billing/models/feature.rb +172 -0
  84. data/lib/advanced_billing/models/feature1.rb +155 -0
  85. data/lib/advanced_billing/models/feature2.rb +174 -0
  86. data/lib/advanced_billing/models/feature3.rb +117 -0
  87. data/lib/advanced_billing/models/feature_catalog_item.rb +246 -0
  88. data/lib/advanced_billing/models/feature_catalog_item_response.rb +73 -0
  89. data/lib/advanced_billing/models/feature_catalog_items_list_response.rb +91 -0
  90. data/lib/advanced_billing/models/feature_kind.rb +44 -0
  91. data/lib/advanced_billing/models/feature_owner_price_point_type.rb +38 -0
  92. data/lib/advanced_billing/models/feature_template.rb +276 -0
  93. data/lib/advanced_billing/models/feature_template_response.rb +71 -0
  94. data/lib/advanced_billing/models/feature_templates_list_response.rb +100 -0
  95. data/lib/advanced_billing/models/feature_value_type.rb +42 -0
  96. data/lib/advanced_billing/models/full_subscription_group_response.rb +65 -65
  97. data/lib/advanced_billing/models/grant_expiration_unit.rb +43 -0
  98. data/lib/advanced_billing/models/invoice.rb +8 -8
  99. data/lib/advanced_billing/models/invoice_consolidation_level.rb +2 -2
  100. data/lib/advanced_billing/models/invoice_line_item.rb +77 -8
  101. data/lib/advanced_billing/models/invoice_status.rb +2 -2
  102. data/lib/advanced_billing/models/invoice_tax.rb +22 -11
  103. data/lib/advanced_billing/models/issue_invoice_event_data.rb +6 -6
  104. data/lib/advanced_billing/models/kind.rb +44 -0
  105. data/lib/advanced_billing/models/kind1.rb +37 -0
  106. data/lib/advanced_billing/models/list_components_price_points_include.rb +16 -2
  107. data/lib/advanced_billing/models/meter.rb +105 -0
  108. data/lib/advanced_billing/models/metered_component.rb +37 -19
  109. data/lib/advanced_billing/models/origin.rb +55 -0
  110. data/lib/advanced_billing/models/owner_type.rb +27 -0
  111. data/lib/advanced_billing/models/paid_invoice.rb +2 -2
  112. data/lib/advanced_billing/models/prepaid_usage_component.rb +3 -3
  113. data/lib/advanced_billing/models/price1.rb +98 -0
  114. data/lib/advanced_billing/models/product.rb +70 -6
  115. data/lib/advanced_billing/models/proforma_invoice.rb +6 -6
  116. data/lib/advanced_billing/models/proforma_invoice_tax.rb +10 -5
  117. data/lib/advanced_billing/models/proforma_invoice_tax_source_type.rb +23 -2
  118. data/lib/advanced_billing/models/purchase.rb +114 -0
  119. data/lib/advanced_billing/models/q_scope.rb +5 -1
  120. data/lib/advanced_billing/models/quantity_based_component.rb +40 -24
  121. data/lib/advanced_billing/models/reason.rb +77 -0
  122. data/lib/advanced_billing/models/refund_invoice_event_data.rb +6 -4
  123. data/lib/advanced_billing/models/secondary_pricing.rb +112 -0
  124. data/lib/advanced_billing/models/segment.rb +28 -4
  125. data/lib/advanced_billing/models/segment_price_point_error_details.rb +71 -0
  126. data/lib/advanced_billing/models/site.rb +71 -5
  127. data/lib/advanced_billing/models/sort_by.rb +44 -0
  128. data/lib/advanced_billing/models/sort_by1.rb +40 -0
  129. data/lib/advanced_billing/models/sort_direction.rb +36 -0
  130. data/lib/advanced_billing/models/status1.rb +40 -0
  131. data/lib/advanced_billing/models/status2.rb +36 -0
  132. data/lib/advanced_billing/models/subscription.rb +13 -13
  133. data/lib/advanced_billing/models/subscription_component.rb +21 -7
  134. data/lib/advanced_billing/models/subscription_component_custom_price_segment.rb +285 -0
  135. data/lib/advanced_billing/models/subscription_component_subscription.rb +26 -26
  136. data/lib/advanced_billing/models/subscription_custom_price.rb +31 -3
  137. data/lib/advanced_billing/models/subscription_group_item.rb +41 -22
  138. data/lib/advanced_billing/models/subscription_group_signup_error.rb +18 -12
  139. data/lib/advanced_billing/models/subscription_group_signup_item.rb +36 -10
  140. data/lib/advanced_billing/models/subscription_group_signup_response.rb +39 -39
  141. data/lib/advanced_billing/models/subscription_group_subscription_error.rb +26 -16
  142. data/lib/advanced_billing/models/subscription_state.rb +30 -29
  143. data/lib/advanced_billing/models/tax_configuration.rb +1 -1
  144. data/lib/advanced_billing/models/tax_configuration_kind.rb +21 -1
  145. data/lib/advanced_billing/models/update_component.rb +55 -6
  146. data/lib/advanced_billing/models/update_component_price_point.rb +34 -2
  147. data/lib/advanced_billing/models/update_customer.rb +63 -10
  148. data/lib/advanced_billing/models/update_feature_catalog_item_request.rb +70 -0
  149. data/lib/advanced_billing/models/update_feature_template_request.rb +71 -0
  150. data/lib/advanced_billing/models/update_secondary_pricing.rb +104 -0
  151. data/lib/advanced_billing/models/update_subscription.rb +9 -7
  152. data/lib/advanced_billing/models/update_wallet_product_request.rb +78 -0
  153. data/lib/advanced_billing/models/update_wallet_request.rb +70 -0
  154. data/lib/advanced_billing/models/wallet.rb +420 -0
  155. data/lib/advanced_billing/models/wallet1.rb +237 -0
  156. data/lib/advanced_billing/models/wallet2.rb +75 -0
  157. data/lib/advanced_billing/models/wallet_grant.rb +267 -0
  158. data/lib/advanced_billing/models/wallet_grant_result_response.rb +89 -0
  159. data/lib/advanced_billing/models/wallet_hard_stop_overflow.rb +39 -0
  160. data/lib/advanced_billing/models/wallet_origin.rb +39 -0
  161. data/lib/advanced_billing/models/wallet_product.rb +189 -0
  162. data/lib/advanced_billing/models/wallet_product1.rb +130 -0
  163. data/lib/advanced_billing/models/wallet_product_active_wallet.rb +145 -0
  164. data/lib/advanced_billing/models/wallet_product_list_item.rb +624 -0
  165. data/lib/advanced_billing/models/wallet_product_price_point_attributes.rb +170 -0
  166. data/lib/advanced_billing/models/wallet_product_price_point_summary.rb +126 -0
  167. data/lib/advanced_billing/models/wallet_product_response.rb +73 -0
  168. data/lib/advanced_billing/models/wallet_product_usage_count.rb +84 -0
  169. data/lib/advanced_billing/models/wallet_product_usage_response.rb +110 -0
  170. data/lib/advanced_billing/models/wallet_product_usage_template.rb +197 -0
  171. data/lib/advanced_billing/models/wallet_products_list_response.rb +104 -0
  172. data/lib/advanced_billing/models/wallet_purchase.rb +121 -0
  173. data/lib/advanced_billing/models/wallet_purchase_preview.rb +99 -0
  174. data/lib/advanced_billing/models/wallet_purchase_preview_response.rb +80 -0
  175. data/lib/advanced_billing/models/wallet_purchase_result_response.rb +88 -0
  176. data/lib/advanced_billing/models/wallet_recurring_funding.rb +197 -0
  177. data/lib/advanced_billing/models/wallet_recurring_funding_status.rb +45 -0
  178. data/lib/advanced_billing/models/wallet_response.rb +72 -0
  179. data/lib/advanced_billing/models/wallet_status.rb +36 -0
  180. data/lib/advanced_billing/models/wallet_transaction.rb +278 -0
  181. data/lib/advanced_billing/models/wallet_transaction1.rb +140 -0
  182. data/lib/advanced_billing/models/wallet_transaction_result_response.rb +133 -0
  183. data/lib/advanced_billing/models/wallet_transactions_list_response.rb +88 -0
  184. data/lib/advanced_billing/models/wallets_list_response.rb +88 -0
  185. data/lib/advanced_billing/utilities/union_type_lookup.rb +179 -0
  186. data/lib/advanced_billing.rb +98 -2
  187. metadata +97 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04f8ac6dda56d2e306f8fa8d23f46697579b25c27949c32321808de6fea010ed
4
- data.tar.gz: 786961822b3bdfc39cb5aefe13429adcd86a208301ce02708f5d7456bd8c6ec4
3
+ metadata.gz: 31f16cbd7f553128b1d3c3707bb80ec1799415450384ea139c34992e0230e94f
4
+ data.tar.gz: d76bfbea88baaca7f786fd62fb7366e2fb20c6619933d3bcb9cdcdc16e680a7d
5
5
  SHA512:
6
- metadata.gz: 034e734a2a941c63b1f7d1e213f0bb2fd3be8cf3d6dae6757fea31d13e467b7471c9e283a4b60bc557ba24ef70085d693ee56aa474870aa4ea857b89859dbb9f
7
- data.tar.gz: c07a394fe00134b1e3d23ca265e659b559c28c97ac91f1d6c8155afd1a46e0941c72b2686e1d828cb5480dc8b6640220f8d47a9fba5e935536321a3837d546ec
6
+ metadata.gz: 8ba3499e171a174bd125c0662549440c79340d886a1b124f1d9902b269d6f9f3a2532d46ae086ba55e2cbbcce73b30294ce18d40553d19115a4b6d1642334f3d
7
+ data.tar.gz: 340ee6442f7d131b0a526143be6102d912ce36a3e208985e361417ca3794f6ef0da4b752ece90751268d259e2dfd37c85bb4f200d1a0eb2bffdf37eb901dc1e1
data/README.md CHANGED
@@ -9,12 +9,12 @@ The Maxio API returns JSON responses as the primary and recommended format, but
9
9
 
10
10
  ### Steps to make your first Maxio Advanced Billing API call
11
11
 
12
- 1. [Sign-up](https://app.chargify.com/signup/maxio-billing-sandbox) or [log-in](https://app.chargify.com/login.html) to your [test site](https://maxio.zendesk.com/hc/en-us/articles/24250712113165-Testing-Overview) account.
13
- 2. [Setup authentication](https://maxio.zendesk.com/hc/en-us/articles/24294819360525-API-Keys) credentials.
12
+ 1. [Sign-up](https://app.chargify.com/signup/maxio-billing-sandbox) or [log-in](https://app.chargify.com/login.html) to your [test site](https://docs.maxio.com/configuration/advanced-billing/sites/testing-overview) account.
13
+ 2. [Setup authentication](https://docs.maxio.com/configuration/advanced-billing/advanced-billing-api-keys) credentials.
14
14
  3. [Submit an API request and verify the response](page:development-tools/client-libraries#make-your-first-maxio-advanced-billing-api-request).
15
15
  4. Test the Advanced Billing [integrations](https://www.maxio.com/integrations).
16
16
 
17
- Next, you can explore [authentication methods](page:introduction/authentication), [basic concepts](page:introduction/basic-concepts/connected-sites) for interacting with Advanced Billing via the API, and the entire set of [application-based documentation](https://docs.maxio.com/hc/en-us) to aid in your discovery of the product.
17
+ Next, you can explore [authentication methods](page:introduction/authentication), [basic concepts](page:introduction/basic-concepts/connected-sites) for interacting with Advanced Billing via the API, and the entire set of [application-based documentation](https://docs.maxio.com/) to aid in your discovery of the product.
18
18
 
19
19
  #### Request Example
20
20
 
@@ -29,16 +29,16 @@ curl -u <api_key>:x -H Accept:application/json -H Content-Type:application/json
29
29
  Install the gem from the command line:
30
30
 
31
31
  ```bash
32
- gem install maxio-advanced-billing-sdk -v 10.0.0
32
+ gem install maxio-advanced-billing-sdk -v 11.0.0
33
33
  ```
34
34
 
35
35
  Or add the gem to your Gemfile and run `bundle`:
36
36
 
37
37
  ```ruby
38
- gem 'maxio-advanced-billing-sdk', '10.0.0'
38
+ gem 'maxio-advanced-billing-sdk', '11.0.0'
39
39
  ```
40
40
 
41
- For additional gem details, see the [RubyGems page for the maxio-advanced-billing-sdk gem](https://rubygems.org/gems/maxio-advanced-billing-sdk/versions/10.0.0).
41
+ For additional gem details, see the [RubyGems page for the maxio-advanced-billing-sdk gem](https://rubygems.org/gems/maxio-advanced-billing-sdk/versions/11.0.0).
42
42
 
43
43
  ## IRB Console Usage
44
44
 
@@ -77,14 +77,14 @@ ruby bin/console
77
77
 
78
78
  ## Initialize the API Client
79
79
 
80
- **_Note:_** Documentation for the client can be found [here.](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/client.md)
80
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/client.md)
81
81
 
82
82
  The following parameters are configurable for the API Client:
83
83
 
84
84
  | Parameter | Type | Description |
85
85
  | --- | --- | --- |
86
86
  | site | `String` | The subdomain for your Advanced Billing site.<br>*Default*: `'subdomain'` |
87
- | environment | [`Environment`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/README.md#environments) | The API environment. <br> **Default: `Environment.US`** |
87
+ | environment | [`Environment`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/README.md#environments) | The API environment. <br> **Default: `Environment.US`** |
88
88
  | connection | `Faraday::Connection` | The Faraday connection object passed by the SDK user for making requests |
89
89
  | adapter | `Faraday::Adapter` | The Faraday adapter object passed by the SDK user for performing http requests |
90
90
  | timeout | `Float` | The value to use for connection timeout. <br> **Default: 120** |
@@ -94,8 +94,8 @@ The following parameters are configurable for the API Client:
94
94
  | retry_statuses | `Array` | A list of HTTP statuses to retry. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
95
95
  | retry_methods | `Array` | A list of HTTP methods to retry. <br> **Default: %i[get put]** |
96
96
  | http_callback | `HttpCallBack` | The Http CallBack allows defining callables for pre and post API calls. |
97
- | proxy_settings | [`ProxySettings`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
98
- | basic_auth_credentials | [`BasicAuthCredentials`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/auth/basic-authentication.md) | The credential object for Basic Authentication |
97
+ | proxy_settings | [`ProxySettings`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
98
+ | basic_auth_credentials | [`BasicAuthCredentials`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/auth/basic-authentication.md) | The credential object for Basic Authentication |
99
99
 
100
100
  The API client can be initialized as follows:
101
101
 
@@ -125,7 +125,7 @@ include AdvancedBilling
125
125
  client = Client.from_env
126
126
  ```
127
127
 
128
- See the [`Environment-Based Client Initialization`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/environment-based-client-initialization.md) section for details.
128
+ See the [`Environment-Based Client Initialization`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/environment-based-client-initialization.md) section for details.
129
129
 
130
130
  ## Environments
131
131
 
@@ -142,58 +142,67 @@ The SDK can be configured to use a different environment for making API calls. A
142
142
 
143
143
  This API uses the following authentication schemes.
144
144
 
145
- * [`BasicAuth (Basic Authentication)`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/auth/basic-authentication.md)
145
+ * [`BasicAuth (Basic Authentication)`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/auth/basic-authentication.md)
146
146
 
147
147
  ## List of APIs
148
148
 
149
- * [API Exports](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/api-exports.md)
150
- * [Advance Invoice](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/advance-invoice.md)
151
- * [Billing Portal](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/billing-portal.md)
152
- * [Component Price Points](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/component-price-points.md)
153
- * [Custom Fields](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/custom-fields.md)
154
- * [Events-Based Billing Segments](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/events-based-billing-segments.md)
155
- * [Payment Profiles](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/payment-profiles.md)
156
- * [Product Families](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/product-families.md)
157
- * [Product Price Points](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/product-price-points.md)
158
- * [Proforma Invoices](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/proforma-invoices.md)
159
- * [Reason Codes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/reason-codes.md)
160
- * [Referral Codes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/referral-codes.md)
161
- * [Sales Commissions](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/sales-commissions.md)
162
- * [Subscription Components](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/subscription-components.md)
163
- * [Subscription Groups](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/subscription-groups.md)
164
- * [Subscription Group Invoice Account](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/subscription-group-invoice-account.md)
165
- * [Subscription Group Status](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/subscription-group-status.md)
166
- * [Subscription Invoice Account](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/subscription-invoice-account.md)
167
- * [Subscription Notes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/subscription-notes.md)
168
- * [Subscription Products](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/subscription-products.md)
169
- * [Subscription Renewals](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/subscription-renewals.md)
170
- * [Subscription Status](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/subscription-status.md)
171
- * [Coupons](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/coupons.md)
172
- * [Components](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/components.md)
173
- * [Customers](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/customers.md)
174
- * [Events](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/events.md)
175
- * [Insights](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/insights.md)
176
- * [Invoices](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/invoices.md)
177
- * [Offers](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/offers.md)
178
- * [Products](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/products.md)
179
- * [Sites](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/sites.md)
180
- * [Subscriptions](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/subscriptions.md)
181
- * [Webhooks](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/controllers/webhooks.md)
149
+ * [API Exports](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/api-exports.md)
150
+ * [Advance Invoice](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/advance-invoice.md)
151
+ * [Billing Portal](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/billing-portal.md)
152
+ * [Component Features](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/component-features.md)
153
+ * [Component Price Points](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/component-price-points.md)
154
+ * [Custom Fields](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/custom-fields.md)
155
+ * [Events-Based Billing Segments](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/events-based-billing-segments.md)
156
+ * [Feature Templates](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/feature-templates.md)
157
+ * [Payment Profiles](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/payment-profiles.md)
158
+ * [Product Families](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/product-families.md)
159
+ * [Product Features](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/product-features.md)
160
+ * [Product Price Points](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/product-price-points.md)
161
+ * [Proforma Invoices](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/proforma-invoices.md)
162
+ * [Reason Codes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/reason-codes.md)
163
+ * [Referral Codes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/referral-codes.md)
164
+ * [Sales Commissions](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/sales-commissions.md)
165
+ * [Subscription Components](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/subscription-components.md)
166
+ * [Subscription Groups](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/subscription-groups.md)
167
+ * [Subscription Group Invoice Account](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/subscription-group-invoice-account.md)
168
+ * [Subscription Group Status](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/subscription-group-status.md)
169
+ * [Subscription Invoice Account](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/subscription-invoice-account.md)
170
+ * [Subscription Notes](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/subscription-notes.md)
171
+ * [Subscription Products](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/subscription-products.md)
172
+ * [Subscription Renewals](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/subscription-renewals.md)
173
+ * [Subscription Status](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/subscription-status.md)
174
+ * [Wallet Transactions](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/wallet-transactions.md)
175
+ * [Wallet Adjustments](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/wallet-adjustments.md)
176
+ * [Wallet Purchases](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/wallet-purchases.md)
177
+ * [Wallet Products](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/wallet-products.md)
178
+ * [Coupons](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/coupons.md)
179
+ * [Components](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/components.md)
180
+ * [Customers](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/customers.md)
181
+ * [Entitlements](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/entitlements.md)
182
+ * [Events](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/events.md)
183
+ * [Insights](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/insights.md)
184
+ * [Invoices](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/invoices.md)
185
+ * [Offers](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/offers.md)
186
+ * [Products](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/products.md)
187
+ * [Sites](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/sites.md)
188
+ * [Subscriptions](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/subscriptions.md)
189
+ * [Wallets](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/wallets.md)
190
+ * [Webhooks](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/controllers/webhooks.md)
182
191
 
183
192
  ## SDK Infrastructure
184
193
 
185
194
  ### Configuration
186
195
 
187
- * [ProxySettings](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/proxy-settings.md)
188
- * [Environment-Based Client Initialization](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/environment-based-client-initialization.md)
196
+ * [ProxySettings](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/proxy-settings.md)
197
+ * [Environment-Based Client Initialization](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/environment-based-client-initialization.md)
189
198
 
190
199
  ### HTTP
191
200
 
192
- * [HttpResponse](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/http-response.md)
193
- * [HttpRequest](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/http-request.md)
201
+ * [HttpResponse](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/http-response.md)
202
+ * [HttpRequest](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/http-request.md)
194
203
 
195
204
  ### Utilities
196
205
 
197
- * [ApiHelper](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/api-helper.md)
198
- * [DateTimeHelper](https://www.github.com/maxio-com/ab-ruby-sdk/tree/10.0.0/doc/date-time-helper.md)
206
+ * [ApiHelper](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/api-helper.md)
207
+ * [DateTimeHelper](https://www.github.com/maxio-com/ab-ruby-sdk/tree/11.0.0/doc/date-time-helper.md)
199
208
 
@@ -37,6 +37,12 @@ module AdvancedBilling
37
37
  @coupons ||= CouponsController.new @global_configuration
38
38
  end
39
39
 
40
+ # Access to component_features controller.
41
+ # @return [ComponentFeaturesController] Returns the controller instance.
42
+ def component_features
43
+ @component_features ||= ComponentFeaturesController.new @global_configuration
44
+ end
45
+
40
46
  # Access to components controller.
41
47
  # @return [ComponentsController] Returns the controller instance.
42
48
  def components
@@ -61,6 +67,12 @@ module AdvancedBilling
61
67
  @custom_fields ||= CustomFieldsController.new @global_configuration
62
68
  end
63
69
 
70
+ # Access to entitlements controller.
71
+ # @return [EntitlementsController] Returns the controller instance.
72
+ def entitlements
73
+ @entitlements ||= EntitlementsController.new @global_configuration
74
+ end
75
+
64
76
  # Access to events controller.
65
77
  # @return [EventsController] Returns the controller instance.
66
78
  def events
@@ -73,6 +85,12 @@ module AdvancedBilling
73
85
  @events_based_billing_segments ||= EventsBasedBillingSegmentsController.new @global_configuration
74
86
  end
75
87
 
88
+ # Access to feature_templates controller.
89
+ # @return [FeatureTemplatesController] Returns the controller instance.
90
+ def feature_templates
91
+ @feature_templates ||= FeatureTemplatesController.new @global_configuration
92
+ end
93
+
76
94
  # Access to insights controller.
77
95
  # @return [InsightsController] Returns the controller instance.
78
96
  def insights
@@ -103,6 +121,12 @@ module AdvancedBilling
103
121
  @product_families ||= ProductFamiliesController.new @global_configuration
104
122
  end
105
123
 
124
+ # Access to product_features controller.
125
+ # @return [ProductFeaturesController] Returns the controller instance.
126
+ def product_features
127
+ @product_features ||= ProductFeaturesController.new @global_configuration
128
+ end
129
+
106
130
  # Access to products controller.
107
131
  # @return [ProductsController] Returns the controller instance.
108
132
  def products
@@ -205,6 +229,36 @@ module AdvancedBilling
205
229
  @subscription_status ||= SubscriptionStatusController.new @global_configuration
206
230
  end
207
231
 
232
+ # Access to wallets controller.
233
+ # @return [WalletsController] Returns the controller instance.
234
+ def wallets
235
+ @wallets ||= WalletsController.new @global_configuration
236
+ end
237
+
238
+ # Access to wallet_transactions controller.
239
+ # @return [WalletTransactionsController] Returns the controller instance.
240
+ def wallet_transactions
241
+ @wallet_transactions ||= WalletTransactionsController.new @global_configuration
242
+ end
243
+
244
+ # Access to wallet_adjustments controller.
245
+ # @return [WalletAdjustmentsController] Returns the controller instance.
246
+ def wallet_adjustments
247
+ @wallet_adjustments ||= WalletAdjustmentsController.new @global_configuration
248
+ end
249
+
250
+ # Access to wallet_purchases controller.
251
+ # @return [WalletPurchasesController] Returns the controller instance.
252
+ def wallet_purchases
253
+ @wallet_purchases ||= WalletPurchasesController.new @global_configuration
254
+ end
255
+
256
+ # Access to wallet_products controller.
257
+ # @return [WalletProductsController] Returns the controller instance.
258
+ def wallet_products
259
+ @wallet_products ||= WalletProductsController.new @global_configuration
260
+ end
261
+
208
262
  # Access to webhooks controller.
209
263
  # @return [WebhooksController] Returns the controller instance.
210
264
  def webhooks
@@ -11,8 +11,8 @@ module AdvancedBilling
11
11
  # they are issued early and have special behavior upon being voided. For
12
12
  # more information on advance invoices, including eligibility for generating
13
13
  # one, see [Issue Invoice In
14
- # Advance](https://maxio.zendesk.com/hc/en-us/articles/24252026404749-Issue-
15
- # Invoice-In-Advance).
14
+ # Advance](https://docs.maxio.com/billing/invoicing/advance-invoices/issue-a
15
+ # dvance-invoices-for-subscription-renewals).
16
16
  # A subscription can only have one advance invoice per billing period.
17
17
  # Attempting to issue an advance invoice when one already exists returns an
18
18
  # error.
@@ -10,7 +10,7 @@ module AdvancedBilling
10
10
  attr_accessor :config, :http_call_back
11
11
 
12
12
  def self.user_agent
13
- 'AB SDK Ruby:10.0.0 on OS {os-info}'
13
+ 'AB SDK Ruby:11.0.0 on OS {os-info}'
14
14
  end
15
15
 
16
16
  def self.user_agent_parameters
@@ -24,8 +24,8 @@ module AdvancedBilling
24
24
  # frequently (such as to display on your website), **do not** make an API
25
25
  # request every time.
26
26
  # For more information configuring the Billing Portal, see [Billing Portal
27
- # Overview](https://maxio.zendesk.com/hc/en-us/articles/24252412965133-Billi
28
- # ng-Portal-Overview).
27
+ # Overview](https://docs.maxio.com/billing/billing-portal/overview/understan
28
+ # d-the-billing-portal).
29
29
  # @param [Integer] customer_id Required parameter: The Chargify id of the
30
30
  # customer
31
31
  # @param [AutoInvite] auto_invite Optional parameter: When set to 1, an