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.
- checksums.yaml +4 -4
- data/README.md +60 -51
- data/lib/advanced_billing/client.rb +54 -0
- data/lib/advanced_billing/controllers/advance_invoice_controller.rb +2 -2
- data/lib/advanced_billing/controllers/base_controller.rb +1 -1
- data/lib/advanced_billing/controllers/billing_portal_controller.rb +2 -2
- data/lib/advanced_billing/controllers/component_features_controller.rb +327 -0
- data/lib/advanced_billing/controllers/component_price_points_controller.rb +2 -2
- data/lib/advanced_billing/controllers/components_controller.rb +36 -27
- data/lib/advanced_billing/controllers/coupons_controller.rb +7 -7
- data/lib/advanced_billing/controllers/custom_fields_controller.rb +6 -5
- data/lib/advanced_billing/controllers/customers_controller.rb +59 -4
- data/lib/advanced_billing/controllers/entitlements_controller.rb +55 -0
- data/lib/advanced_billing/controllers/events_based_billing_segments_controller.rb +62 -3
- data/lib/advanced_billing/controllers/events_controller.rb +2 -2
- data/lib/advanced_billing/controllers/feature_templates_controller.rb +243 -0
- data/lib/advanced_billing/controllers/insights_controller.rb +6 -5
- data/lib/advanced_billing/controllers/invoices_controller.rb +44 -1
- data/lib/advanced_billing/controllers/offers_controller.rb +2 -2
- data/lib/advanced_billing/controllers/payment_profiles_controller.rb +41 -36
- data/lib/advanced_billing/controllers/product_families_controller.rb +3 -4
- data/lib/advanced_billing/controllers/product_features_controller.rb +323 -0
- data/lib/advanced_billing/controllers/product_price_points_controller.rb +2 -2
- data/lib/advanced_billing/controllers/products_controller.rb +17 -5
- data/lib/advanced_billing/controllers/proforma_invoices_controller.rb +14 -0
- data/lib/advanced_billing/controllers/reason_codes_controller.rb +2 -2
- data/lib/advanced_billing/controllers/referral_codes_controller.rb +2 -2
- data/lib/advanced_billing/controllers/sites_controller.rb +6 -6
- data/lib/advanced_billing/controllers/subscription_components_controller.rb +83 -32
- data/lib/advanced_billing/controllers/subscription_group_status_controller.rb +3 -3
- data/lib/advanced_billing/controllers/subscription_groups_controller.rb +51 -12
- data/lib/advanced_billing/controllers/subscription_invoice_account_controller.rb +3 -3
- data/lib/advanced_billing/controllers/subscription_notes_controller.rb +3 -4
- data/lib/advanced_billing/controllers/subscription_products_controller.rb +5 -5
- data/lib/advanced_billing/controllers/subscription_renewals_controller.rb +18 -0
- data/lib/advanced_billing/controllers/subscription_status_controller.rb +10 -10
- data/lib/advanced_billing/controllers/subscriptions_controller.rb +179 -42
- data/lib/advanced_billing/controllers/wallet_adjustments_controller.rb +121 -0
- data/lib/advanced_billing/controllers/wallet_products_controller.rb +278 -0
- data/lib/advanced_billing/controllers/wallet_purchases_controller.rb +171 -0
- data/lib/advanced_billing/controllers/wallet_transactions_controller.rb +160 -0
- data/lib/advanced_billing/controllers/wallets_controller.rb +259 -0
- data/lib/advanced_billing/exceptions/event_based_billing_list_segments_errors_exception.rb +1 -1
- data/lib/advanced_billing/exceptions/event_based_billing_segment_exception.rb +2 -2
- data/lib/advanced_billing/exceptions/{event_based_billing_segment_errors_exception.rb → event_based_billing_segment_write_error_response_exception.rb} +5 -6
- data/lib/advanced_billing/exceptions/segment_price_point_errors_exception.rb +48 -0
- data/lib/advanced_billing/exceptions/wallet_error_response_exception.rb +76 -0
- data/lib/advanced_billing/models/active_wallets.rb +88 -0
- data/lib/advanced_billing/models/adjustment.rb +196 -0
- data/lib/advanced_billing/models/aggregated_entitlement.rb +186 -0
- data/lib/advanced_billing/models/aggregated_entitlement_periodicity.rb +93 -0
- data/lib/advanced_billing/models/aggregated_entitlements_response.rb +108 -0
- data/lib/advanced_billing/models/change_invoice_status_event_data.rb +6 -6
- data/lib/advanced_billing/models/clone_component_price_point.rb +25 -5
- data/lib/advanced_billing/models/clone_feature_catalog_item.rb +144 -0
- data/lib/advanced_billing/models/component.rb +57 -13
- data/lib/advanced_billing/models/component_currency_price.rb +31 -7
- data/lib/advanced_billing/models/component_custom_price.rb +45 -7
- data/lib/advanced_billing/models/component_kind.rb +5 -1
- data/lib/advanced_billing/models/component_price_point.rb +38 -3
- data/lib/advanced_billing/models/component_price_point_assignment.rb +12 -4
- data/lib/advanced_billing/models/component_price_point_item.rb +19 -4
- data/lib/advanced_billing/models/create_component_price_point.rb +34 -3
- data/lib/advanced_billing/models/create_customer.rb +62 -8
- data/lib/advanced_billing/models/create_feature_catalog_item_request.rb +71 -0
- data/lib/advanced_billing/models/create_feature_template_request.rb +70 -0
- data/lib/advanced_billing/models/create_subscription.rb +22 -21
- data/lib/advanced_billing/models/{event_based_billing_segment_error.rb → create_wallet_adjustment_request.rb} +13 -15
- data/lib/advanced_billing/models/create_wallet_product_request.rb +74 -0
- data/lib/advanced_billing/models/create_wallet_purchase_request.rb +72 -0
- data/lib/advanced_billing/models/create_wallet_request.rb +70 -0
- data/lib/advanced_billing/models/create_wallet_transaction_request.rb +72 -0
- data/lib/advanced_billing/models/credit_note.rb +12 -3
- data/lib/advanced_billing/models/credit_note_date_field.rb +44 -0
- data/lib/advanced_billing/models/credit_note_line_item.rb +50 -11
- data/lib/advanced_billing/models/currency_overage_prices.rb +69 -6
- data/lib/advanced_billing/models/customer.rb +103 -14
- data/lib/advanced_billing/models/ebb_component.rb +59 -27
- data/lib/advanced_billing/models/entitlement_periodicity_unit.rb +48 -0
- data/lib/advanced_billing/models/entity_identifier_kind.rb +62 -0
- data/lib/advanced_billing/models/errors.rb +1 -1
- data/lib/advanced_billing/models/event_based_billing_segment_error_details.rb +88 -0
- data/lib/advanced_billing/models/feature.rb +172 -0
- data/lib/advanced_billing/models/feature1.rb +155 -0
- data/lib/advanced_billing/models/feature2.rb +174 -0
- data/lib/advanced_billing/models/feature3.rb +117 -0
- data/lib/advanced_billing/models/feature_catalog_item.rb +246 -0
- data/lib/advanced_billing/models/feature_catalog_item_response.rb +73 -0
- data/lib/advanced_billing/models/feature_catalog_items_list_response.rb +91 -0
- data/lib/advanced_billing/models/feature_kind.rb +44 -0
- data/lib/advanced_billing/models/feature_owner_price_point_type.rb +38 -0
- data/lib/advanced_billing/models/feature_template.rb +276 -0
- data/lib/advanced_billing/models/feature_template_response.rb +71 -0
- data/lib/advanced_billing/models/feature_templates_list_response.rb +100 -0
- data/lib/advanced_billing/models/feature_value_type.rb +42 -0
- data/lib/advanced_billing/models/full_subscription_group_response.rb +65 -65
- data/lib/advanced_billing/models/grant_expiration_unit.rb +43 -0
- data/lib/advanced_billing/models/invoice.rb +8 -8
- data/lib/advanced_billing/models/invoice_consolidation_level.rb +2 -2
- data/lib/advanced_billing/models/invoice_line_item.rb +77 -8
- data/lib/advanced_billing/models/invoice_status.rb +2 -2
- data/lib/advanced_billing/models/invoice_tax.rb +22 -11
- data/lib/advanced_billing/models/issue_invoice_event_data.rb +6 -6
- data/lib/advanced_billing/models/kind.rb +44 -0
- data/lib/advanced_billing/models/kind1.rb +37 -0
- data/lib/advanced_billing/models/list_components_price_points_include.rb +16 -2
- data/lib/advanced_billing/models/meter.rb +105 -0
- data/lib/advanced_billing/models/metered_component.rb +37 -19
- data/lib/advanced_billing/models/origin.rb +55 -0
- data/lib/advanced_billing/models/owner_type.rb +27 -0
- data/lib/advanced_billing/models/paid_invoice.rb +2 -2
- data/lib/advanced_billing/models/prepaid_usage_component.rb +3 -3
- data/lib/advanced_billing/models/price1.rb +98 -0
- data/lib/advanced_billing/models/product.rb +70 -6
- data/lib/advanced_billing/models/proforma_invoice.rb +6 -6
- data/lib/advanced_billing/models/proforma_invoice_tax.rb +10 -5
- data/lib/advanced_billing/models/proforma_invoice_tax_source_type.rb +23 -2
- data/lib/advanced_billing/models/purchase.rb +114 -0
- data/lib/advanced_billing/models/q_scope.rb +5 -1
- data/lib/advanced_billing/models/quantity_based_component.rb +40 -24
- data/lib/advanced_billing/models/reason.rb +77 -0
- data/lib/advanced_billing/models/refund_invoice_event_data.rb +6 -4
- data/lib/advanced_billing/models/secondary_pricing.rb +112 -0
- data/lib/advanced_billing/models/segment.rb +28 -4
- data/lib/advanced_billing/models/segment_price_point_error_details.rb +71 -0
- data/lib/advanced_billing/models/site.rb +71 -5
- data/lib/advanced_billing/models/sort_by.rb +44 -0
- data/lib/advanced_billing/models/sort_by1.rb +40 -0
- data/lib/advanced_billing/models/sort_direction.rb +36 -0
- data/lib/advanced_billing/models/status1.rb +40 -0
- data/lib/advanced_billing/models/status2.rb +36 -0
- data/lib/advanced_billing/models/subscription.rb +13 -13
- data/lib/advanced_billing/models/subscription_component.rb +21 -7
- data/lib/advanced_billing/models/subscription_component_custom_price_segment.rb +285 -0
- data/lib/advanced_billing/models/subscription_component_subscription.rb +26 -26
- data/lib/advanced_billing/models/subscription_custom_price.rb +31 -3
- data/lib/advanced_billing/models/subscription_group_item.rb +41 -22
- data/lib/advanced_billing/models/subscription_group_signup_error.rb +18 -12
- data/lib/advanced_billing/models/subscription_group_signup_item.rb +36 -10
- data/lib/advanced_billing/models/subscription_group_signup_response.rb +39 -39
- data/lib/advanced_billing/models/subscription_group_subscription_error.rb +26 -16
- data/lib/advanced_billing/models/subscription_state.rb +30 -29
- data/lib/advanced_billing/models/tax_configuration.rb +1 -1
- data/lib/advanced_billing/models/tax_configuration_kind.rb +21 -1
- data/lib/advanced_billing/models/update_component.rb +55 -6
- data/lib/advanced_billing/models/update_component_price_point.rb +34 -2
- data/lib/advanced_billing/models/update_customer.rb +63 -10
- data/lib/advanced_billing/models/update_feature_catalog_item_request.rb +70 -0
- data/lib/advanced_billing/models/update_feature_template_request.rb +71 -0
- data/lib/advanced_billing/models/update_secondary_pricing.rb +104 -0
- data/lib/advanced_billing/models/update_subscription.rb +9 -7
- data/lib/advanced_billing/models/update_wallet_product_request.rb +78 -0
- data/lib/advanced_billing/models/update_wallet_request.rb +70 -0
- data/lib/advanced_billing/models/wallet.rb +420 -0
- data/lib/advanced_billing/models/wallet1.rb +237 -0
- data/lib/advanced_billing/models/wallet2.rb +75 -0
- data/lib/advanced_billing/models/wallet_grant.rb +267 -0
- data/lib/advanced_billing/models/wallet_grant_result_response.rb +89 -0
- data/lib/advanced_billing/models/wallet_hard_stop_overflow.rb +39 -0
- data/lib/advanced_billing/models/wallet_origin.rb +39 -0
- data/lib/advanced_billing/models/wallet_product.rb +189 -0
- data/lib/advanced_billing/models/wallet_product1.rb +130 -0
- data/lib/advanced_billing/models/wallet_product_active_wallet.rb +145 -0
- data/lib/advanced_billing/models/wallet_product_list_item.rb +624 -0
- data/lib/advanced_billing/models/wallet_product_price_point_attributes.rb +170 -0
- data/lib/advanced_billing/models/wallet_product_price_point_summary.rb +126 -0
- data/lib/advanced_billing/models/wallet_product_response.rb +73 -0
- data/lib/advanced_billing/models/wallet_product_usage_count.rb +84 -0
- data/lib/advanced_billing/models/wallet_product_usage_response.rb +110 -0
- data/lib/advanced_billing/models/wallet_product_usage_template.rb +197 -0
- data/lib/advanced_billing/models/wallet_products_list_response.rb +104 -0
- data/lib/advanced_billing/models/wallet_purchase.rb +121 -0
- data/lib/advanced_billing/models/wallet_purchase_preview.rb +99 -0
- data/lib/advanced_billing/models/wallet_purchase_preview_response.rb +80 -0
- data/lib/advanced_billing/models/wallet_purchase_result_response.rb +88 -0
- data/lib/advanced_billing/models/wallet_recurring_funding.rb +197 -0
- data/lib/advanced_billing/models/wallet_recurring_funding_status.rb +45 -0
- data/lib/advanced_billing/models/wallet_response.rb +72 -0
- data/lib/advanced_billing/models/wallet_status.rb +36 -0
- data/lib/advanced_billing/models/wallet_transaction.rb +278 -0
- data/lib/advanced_billing/models/wallet_transaction1.rb +140 -0
- data/lib/advanced_billing/models/wallet_transaction_result_response.rb +133 -0
- data/lib/advanced_billing/models/wallet_transactions_list_response.rb +88 -0
- data/lib/advanced_billing/models/wallets_list_response.rb +88 -0
- data/lib/advanced_billing/utilities/union_type_lookup.rb +179 -0
- data/lib/advanced_billing.rb +98 -2
- metadata +97 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 31f16cbd7f553128b1d3c3707bb80ec1799415450384ea139c34992e0230e94f
|
|
4
|
+
data.tar.gz: d76bfbea88baaca7f786fd62fb7366e2fb20c6619933d3bcb9cdcdc16e680a7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
13
|
-
2. [Setup authentication](https://maxio.
|
|
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/
|
|
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
|
|
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', '
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
98
|
-
| basic_auth_credentials | [`BasicAuthCredentials`](https://www.github.com/maxio-com/ab-ruby-sdk/tree/
|
|
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/
|
|
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/
|
|
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/
|
|
150
|
-
* [Advance Invoice](https://www.github.com/maxio-com/ab-ruby-sdk/tree/
|
|
151
|
-
* [Billing Portal](https://www.github.com/maxio-com/ab-ruby-sdk/tree/
|
|
152
|
-
* [Component
|
|
153
|
-
* [
|
|
154
|
-
* [
|
|
155
|
-
* [
|
|
156
|
-
* [
|
|
157
|
-
* [
|
|
158
|
-
* [
|
|
159
|
-
* [
|
|
160
|
-
* [
|
|
161
|
-
* [
|
|
162
|
-
* [
|
|
163
|
-
* [
|
|
164
|
-
* [
|
|
165
|
-
* [Subscription
|
|
166
|
-
* [Subscription
|
|
167
|
-
* [Subscription
|
|
168
|
-
* [Subscription
|
|
169
|
-
* [Subscription
|
|
170
|
-
* [Subscription
|
|
171
|
-
* [
|
|
172
|
-
* [
|
|
173
|
-
* [
|
|
174
|
-
* [
|
|
175
|
-
* [
|
|
176
|
-
* [
|
|
177
|
-
* [
|
|
178
|
-
* [
|
|
179
|
-
* [
|
|
180
|
-
* [
|
|
181
|
-
* [
|
|
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/
|
|
188
|
-
* [Environment-Based Client Initialization](https://www.github.com/maxio-com/ab-ruby-sdk/tree/
|
|
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/
|
|
193
|
-
* [HttpRequest](https://www.github.com/maxio-com/ab-ruby-sdk/tree/
|
|
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/
|
|
198
|
-
* [DateTimeHelper](https://www.github.com/maxio-com/ab-ruby-sdk/tree/
|
|
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.
|
|
15
|
-
#
|
|
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.
|
|
@@ -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.
|
|
28
|
-
#
|
|
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
|