maxio-advanced-billing-sdk 7.0.1 → 8.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 +94 -44
- data/bin/console +15 -0
- data/lib/advanced_billing/client.rb +11 -0
- data/lib/advanced_billing/configuration.rb +73 -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_price_points_controller.rb +2 -2
- data/lib/advanced_billing/controllers/components_controller.rb +5 -5
- data/lib/advanced_billing/controllers/coupons_controller.rb +5 -11
- data/lib/advanced_billing/controllers/custom_fields_controller.rb +102 -128
- data/lib/advanced_billing/controllers/customers_controller.rb +4 -4
- data/lib/advanced_billing/controllers/invoices_controller.rb +48 -11
- data/lib/advanced_billing/controllers/payment_profiles_controller.rb +70 -243
- data/lib/advanced_billing/controllers/product_families_controller.rb +7 -8
- data/lib/advanced_billing/controllers/product_price_points_controller.rb +15 -17
- data/lib/advanced_billing/controllers/products_controller.rb +7 -8
- data/lib/advanced_billing/controllers/proforma_invoices_controller.rb +1 -1
- data/lib/advanced_billing/controllers/sales_commissions_controller.rb +3 -3
- data/lib/advanced_billing/controllers/subscription_components_controller.rb +24 -33
- data/lib/advanced_billing/controllers/subscription_group_status_controller.rb +9 -9
- data/lib/advanced_billing/controllers/subscription_groups_controller.rb +10 -5
- data/lib/advanced_billing/controllers/subscription_invoice_account_controller.rb +1 -1
- data/lib/advanced_billing/controllers/subscription_products_controller.rb +6 -7
- data/lib/advanced_billing/controllers/subscription_status_controller.rb +6 -7
- data/lib/advanced_billing/controllers/subscriptions_controller.rb +86 -808
- data/lib/advanced_billing/http/auth/basic_auth.rb +12 -0
- data/lib/advanced_billing/http/proxy_settings.rb +9 -0
- data/lib/advanced_billing/models/activate_event_based_component.rb +1 -2
- data/lib/advanced_billing/models/all_vaults.rb +45 -0
- data/lib/advanced_billing/models/allocation_preview_direction.rb +13 -0
- data/lib/advanced_billing/models/allocation_preview_line_item_kind.rb +15 -0
- data/lib/advanced_billing/models/apple_pay_vault.rb +6 -0
- data/lib/advanced_billing/models/auto_invite.rb +19 -0
- data/lib/advanced_billing/models/bank_account_holder_type.rb +13 -0
- data/lib/advanced_billing/models/bank_account_type.rb +13 -0
- data/lib/advanced_billing/models/bank_account_vault.rb +19 -0
- data/lib/advanced_billing/models/basic_date_field.rb +13 -0
- data/lib/advanced_billing/models/billing_manifest_line_item_kind.rb +17 -0
- data/lib/advanced_billing/models/billing_schedule.rb +2 -2
- data/lib/advanced_billing/models/calendar_billing.rb +3 -1
- data/lib/advanced_billing/models/cancellation_method.rb +17 -0
- data/lib/advanced_billing/models/card_type.rb +47 -0
- data/lib/advanced_billing/models/chargeback_status.rb +15 -0
- data/lib/advanced_billing/models/chargify_ebb.rb +4 -4
- data/lib/advanced_billing/models/cleanup_scope.rb +13 -0
- data/lib/advanced_billing/models/collection_method.rb +15 -0
- data/lib/advanced_billing/models/component.rb +31 -31
- data/lib/advanced_billing/models/component_custom_price.rb +61 -3
- data/lib/advanced_billing/models/component_kind.rb +16 -0
- data/lib/advanced_billing/models/compounding_strategy.rb +13 -0
- data/lib/advanced_billing/models/create_allocation.rb +1 -2
- data/lib/advanced_billing/models/create_invoice_coupon.rb +16 -7
- data/lib/advanced_billing/models/create_invoice_item.rb +5 -5
- data/lib/advanced_billing/models/create_invoice_status.rb +13 -0
- data/lib/advanced_billing/models/create_metafield.rb +3 -5
- data/lib/advanced_billing/models/create_or_update_product.rb +12 -7
- data/lib/advanced_billing/models/create_payment_profile.rb +6 -6
- data/lib/advanced_billing/models/create_prepayment_method.rb +19 -0
- data/lib/advanced_billing/models/create_product_price_point.rb +8 -3
- data/lib/advanced_billing/models/create_signup_proforma_preview_include.rb +6 -0
- data/lib/advanced_billing/models/create_usage.rb +17 -7
- data/lib/advanced_billing/models/credit_card_vault.rb +44 -0
- data/lib/advanced_billing/models/credit_note_status.rb +13 -0
- data/lib/advanced_billing/models/credit_scheme.rb +14 -0
- data/lib/advanced_billing/models/credit_type.rb +14 -0
- data/lib/advanced_billing/models/currency_price_role.rb +14 -0
- data/lib/advanced_billing/models/custom_field_owner.rb +13 -0
- data/lib/advanced_billing/models/debit_note_role.rb +13 -0
- data/lib/advanced_billing/models/debit_note_status.rb +15 -0
- data/lib/advanced_billing/models/direction.rb +13 -0
- data/lib/advanced_billing/models/discount_type.rb +13 -0
- data/lib/advanced_billing/models/ebb_component.rb +2 -2
- data/lib/advanced_billing/models/event_key.rb +91 -0
- data/lib/advanced_billing/models/expiration_interval_unit.rb +14 -0
- data/lib/advanced_billing/models/failed_payment_action.rb +14 -0
- data/lib/advanced_billing/models/first_charge_type.rb +14 -0
- data/lib/advanced_billing/models/group_target_type.rb +16 -0
- data/lib/advanced_billing/models/group_type.rb +13 -0
- data/lib/advanced_billing/models/include_not_null.rb +6 -0
- data/lib/advanced_billing/models/include_null_or_not_null.rb +13 -0
- data/lib/advanced_billing/models/include_option.rb +13 -0
- data/lib/advanced_billing/models/interval_unit.rb +13 -0
- data/lib/advanced_billing/models/invoice_consolidation_level.rb +14 -0
- data/lib/advanced_billing/models/invoice_date_field.rb +16 -0
- data/lib/advanced_billing/models/invoice_discount_source_type.rb +14 -0
- data/lib/advanced_billing/models/invoice_discount_type.rb +14 -0
- data/lib/advanced_billing/models/invoice_event_payment_method.rb +16 -0
- data/lib/advanced_billing/models/invoice_event_type.rb +26 -0
- data/lib/advanced_billing/models/invoice_payment_method_type.rb +17 -0
- data/lib/advanced_billing/models/invoice_payment_type.rb +15 -0
- data/lib/advanced_billing/models/invoice_role.rb +21 -0
- data/lib/advanced_billing/models/invoice_sort_field.rb +19 -0
- data/lib/advanced_billing/models/invoice_status.rb +18 -0
- data/lib/advanced_billing/models/item_category.rb +16 -0
- data/lib/advanced_billing/models/line_item_kind.rb +21 -0
- data/lib/advanced_billing/models/line_item_transaction_type.rb +18 -0
- data/lib/advanced_billing/models/list_components_price_points_include.rb +6 -0
- data/lib/advanced_billing/models/list_coupons_filter.rb +22 -6
- data/lib/advanced_billing/models/list_events_date_field.rb +6 -0
- data/lib/advanced_billing/models/list_prepayment_date_field.rb +13 -0
- data/lib/advanced_billing/models/list_products_include.rb +6 -0
- data/lib/advanced_billing/models/list_products_price_points_include.rb +6 -0
- data/lib/advanced_billing/models/list_subscription_components_include.rb +13 -0
- data/lib/advanced_billing/models/list_subscription_components_sort.rb +13 -0
- data/lib/advanced_billing/models/metafield.rb +8 -11
- data/lib/advanced_billing/models/metafield_input.rb +18 -5
- data/lib/advanced_billing/models/metafield_scope.rb +9 -4
- data/lib/advanced_billing/models/metered_component.rb +2 -2
- data/lib/advanced_billing/models/nested_subscription_group.rb +10 -0
- data/lib/advanced_billing/models/on_off_component.rb +2 -2
- data/lib/advanced_billing/models/pay_pal_vault.rb +15 -0
- data/lib/advanced_billing/models/payment_profile_attributes.rb +3 -3
- data/lib/advanced_billing/models/payment_type.rb +15 -0
- data/lib/advanced_billing/models/prepaid_configuration.rb +10 -0
- data/lib/advanced_billing/models/prepaid_usage_component.rb +2 -2
- data/lib/advanced_billing/models/prepayment_method.rb +18 -0
- data/lib/advanced_billing/models/price_point_type.rb +14 -0
- data/lib/advanced_billing/models/pricing_scheme.rb +15 -0
- data/lib/advanced_billing/models/product.rb +18 -8
- data/lib/advanced_billing/models/product_family.rb +10 -0
- data/lib/advanced_billing/models/product_price_point.rb +8 -3
- data/lib/advanced_billing/models/proforma_invoice_discount_source_type.rb +13 -0
- data/lib/advanced_billing/models/proforma_invoice_role.rb +15 -0
- data/lib/advanced_billing/models/proforma_invoice_status.rb +14 -0
- data/lib/advanced_billing/models/proforma_invoice_tax_source_type.rb +13 -0
- data/lib/advanced_billing/models/public_signup_page.rb +10 -0
- data/lib/advanced_billing/models/quantity_based_component.rb +2 -2
- data/lib/advanced_billing/models/reactivation_charge.rb +14 -0
- data/lib/advanced_billing/models/recurring_scheme.rb +14 -0
- data/lib/advanced_billing/models/resource_type.rb +13 -0
- data/lib/advanced_billing/models/restriction_type.rb +13 -0
- data/lib/advanced_billing/models/resume_options.rb +1 -1
- data/lib/advanced_billing/models/resumption_charge.rb +14 -0
- data/lib/advanced_billing/models/service_credit_type.rb +13 -0
- data/lib/advanced_billing/models/snap_day.rb +7 -2
- data/lib/advanced_billing/models/sorting_direction.rb +13 -0
- data/lib/advanced_billing/models/subscription.rb +16 -3
- data/lib/advanced_billing/models/subscription_custom_price.rb +23 -7
- data/lib/advanced_billing/models/subscription_date_field.rb +20 -0
- data/lib/advanced_billing/models/subscription_group_include.rb +6 -0
- data/lib/advanced_billing/models/subscription_group_prepayment_method.rb +17 -0
- data/lib/advanced_billing/models/subscription_groups_list_include.rb +6 -0
- data/lib/advanced_billing/models/subscription_include.rb +13 -0
- data/lib/advanced_billing/models/subscription_included_coupon.rb +10 -0
- data/lib/advanced_billing/models/subscription_list_date_field.rb +6 -0
- data/lib/advanced_billing/models/subscription_list_include.rb +6 -0
- data/lib/advanced_billing/models/subscription_purge_type.rb +13 -0
- data/lib/advanced_billing/models/subscription_sort.rb +17 -0
- data/lib/advanced_billing/models/subscription_state.rb +26 -0
- data/lib/advanced_billing/models/subscription_state_filter.rb +23 -0
- data/lib/advanced_billing/models/tax_configuration_kind.rb +15 -0
- data/lib/advanced_billing/models/tax_destination_address.rb +15 -0
- data/lib/advanced_billing/models/trial_type.rb +41 -0
- data/lib/advanced_billing/models/update_component.rb +2 -2
- data/lib/advanced_billing/models/update_metafield.rb +4 -6
- data/lib/advanced_billing/models/update_payment_profile.rb +3 -3
- data/lib/advanced_billing/models/update_subscription.rb +1 -0
- data/lib/advanced_billing/models/webhook_order.rb +13 -0
- data/lib/advanced_billing/models/webhook_status.rb +15 -0
- data/lib/advanced_billing/models/webhook_subscription.rb +46 -0
- data/lib/advanced_billing/utilities/union_type_lookup.rb +18 -5
- data/lib/advanced_billing.rb +1 -0
- metadata +8 -6
|
@@ -528,48 +528,46 @@ module AdvancedBilling
|
|
|
528
528
|
.execute
|
|
529
529
|
end
|
|
530
530
|
|
|
531
|
-
#
|
|
531
|
+
# Records an instance of metered or prepaid usage for a subscription.
|
|
532
|
+
# You can report metered or prepaid usage to Advanced Billing as often as
|
|
533
|
+
# you wish. You can report usage as it happens or periodically, such as each
|
|
534
|
+
# night or once per billing period.
|
|
532
535
|
# Full documentation on how to create Components in the Advanced Billing UI
|
|
533
536
|
# can be located
|
|
534
537
|
# [here](https://maxio.zendesk.com/hc/en-us/articles/24261149711501-Create-E
|
|
535
538
|
# dit-and-Archive-Components). Additionally, for information on how to
|
|
536
|
-
# record component usage against a subscription,
|
|
539
|
+
# record component usage against a subscription, see the following
|
|
537
540
|
# resources:
|
|
538
|
-
#
|
|
541
|
+
# It is not possible to record metered usage for more than one component at
|
|
542
|
+
# a time Usage should be reported as one API call per component on a single
|
|
543
|
+
# subscription. For example, to record that a subscriber has sent both an
|
|
544
|
+
# SMS Message and an Email, send an API call for each.
|
|
545
|
+
# See the following product documention articles for more information:
|
|
546
|
+
# - [Create and Manage
|
|
547
|
+
# Components](https://maxio.zendesk.com/hc/en-us/articles/24261149711501-Cre
|
|
548
|
+
# ate-Edit-and-Archive-Components). A
|
|
549
|
+
# - [Recording Metered Component
|
|
539
550
|
# Usage](https://maxio.zendesk.com/hc/en-us/articles/24251890500109-Reportin
|
|
540
551
|
# g-Component-Allocations#reporting-metered-component-usage)
|
|
541
|
-
#
|
|
552
|
+
# - [Reporting Prepaid Component
|
|
542
553
|
# Status](https://maxio.zendesk.com/hc/en-us/articles/24251890500109-Reporti
|
|
543
554
|
# ng-Component-Allocations#reporting-prepaid-component-status)
|
|
544
|
-
#
|
|
545
|
-
#
|
|
546
|
-
#
|
|
547
|
-
#
|
|
548
|
-
# thousands of times an hour), it is best to accumulate usage into batches
|
|
549
|
-
# on your side, and then report those batches less frequently, such as
|
|
550
|
-
# daily. This will ensure you remain below any API throttling limits. If
|
|
551
|
-
# your use case requires higher rates of usage reporting, we recommend
|
|
552
|
-
# utilizing Events Based Components.
|
|
553
|
-
# ## Create Usage for Subscription
|
|
554
|
-
# This endpoint allows you to record an instance of metered or prepaid usage
|
|
555
|
-
# for a subscription. The `quantity` from usage for each component is
|
|
556
|
-
# accumulated to the `unit_balance` on the [Component Line
|
|
557
|
-
# Item](./b3A6MTQxMDgzNzQ-read-subscription-component) for the subscription.
|
|
555
|
+
# The `quantity` from usage for each component is accumulated to the
|
|
556
|
+
# `unit_balance` on the [Component Line
|
|
557
|
+
# Item]($e/Subscription%20Components/readSubscriptionComponent) for the
|
|
558
|
+
# subscription.
|
|
558
559
|
# ## Price Point ID usage
|
|
559
|
-
# If you are using price points, for metered and prepaid usage components
|
|
560
|
+
# If you are using price points, for metered and prepaid usage components
|
|
560
561
|
# Advanced Billing gives you the option to specify a price point in your
|
|
561
562
|
# request.
|
|
562
563
|
# You do not need to specify a price point ID. If a price point is not
|
|
563
564
|
# included, the default price point for the component will be used when the
|
|
564
565
|
# usage is recorded.
|
|
565
|
-
# If an invalid `price_point_id` is submitted, the endpoint will return an
|
|
566
|
-
# error.
|
|
567
566
|
# ## Deducting Usage
|
|
568
|
-
#
|
|
569
|
-
#
|
|
570
|
-
# quantity.
|
|
567
|
+
# If you need to reverse a previous usage report or otherwise deduct from
|
|
568
|
+
# the current usage balance, you can provide a negative quantity.
|
|
571
569
|
# Example:
|
|
572
|
-
# Previously recorded:
|
|
570
|
+
# Previously recorded quantity was 5000:
|
|
573
571
|
# ```json
|
|
574
572
|
# {
|
|
575
573
|
# "usage": {
|
|
@@ -578,8 +576,7 @@ module AdvancedBilling
|
|
|
578
576
|
# }
|
|
579
577
|
# }
|
|
580
578
|
# ```
|
|
581
|
-
#
|
|
582
|
-
# `0`, POST the following payload:
|
|
579
|
+
# To reduce the quantity to `0`, POST the following payload:
|
|
583
580
|
# ```json
|
|
584
581
|
# {
|
|
585
582
|
# "usage": {
|
|
@@ -591,12 +588,6 @@ module AdvancedBilling
|
|
|
591
588
|
# The `unit_balance` has a floor of `0`; negative unit balances are never
|
|
592
589
|
# allowed. For example, if the usage balance is 100 and you deduct 200
|
|
593
590
|
# units, the unit balance would then be `0`, not `-100`.
|
|
594
|
-
# ## FAQ
|
|
595
|
-
# Q. Is it possible to record metered usage for more than one component at a
|
|
596
|
-
# time?
|
|
597
|
-
# A. No. Usage should be reported as one API call per component on a single
|
|
598
|
-
# subscription. For example, to record that a subscriber has sent both an
|
|
599
|
-
# SMS Message and an Email, send an API call for each.
|
|
600
591
|
# @param [Integer | String] subscription_id_or_reference Required parameter:
|
|
601
592
|
# Either the Advanced Billing subscription ID (integer) or the subscription
|
|
602
593
|
# reference (string). Important: In cases where a numeric string value
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
module AdvancedBilling
|
|
7
7
|
# SubscriptionGroupStatusController
|
|
8
8
|
class SubscriptionGroupStatusController < BaseController
|
|
9
|
-
#
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
# automatic billing. The group members
|
|
13
|
-
#
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
#
|
|
9
|
+
# Cancels all subscriptions within the specified group immediately. The
|
|
10
|
+
# group is identified by the `uid` that is passed in the URL. To
|
|
11
|
+
# successfully cancel the group, the primary subscription must be on
|
|
12
|
+
# automatic billing. The group members must be on automatic billing or
|
|
13
|
+
# prepaid.
|
|
14
|
+
# To cancel a subscription group while also charging for any unbilled usage
|
|
15
|
+
# on metered or prepaid components, the `charge_unbilled_usage=true`
|
|
16
|
+
# parameter must be included in the request.
|
|
17
17
|
# @param [String] uid Required parameter: The uid of the subscription
|
|
18
18
|
# group
|
|
19
19
|
# @param [CancelGroupedSubscriptionsRequest] body Optional parameter: TODO:
|
|
@@ -43,7 +43,7 @@ module AdvancedBilling
|
|
|
43
43
|
|
|
44
44
|
# This endpoint will schedule all subscriptions within the specified group
|
|
45
45
|
# to be canceled at the end of their billing period. The group is identified
|
|
46
|
-
# by
|
|
46
|
+
# by its uid passed in the URL.
|
|
47
47
|
# All subscriptions in the group must be on automatic billing in order to
|
|
48
48
|
# successfully cancel them, and the group must not be in a "past_due" state.
|
|
49
49
|
# @param [String] uid Required parameter: The uid of the subscription
|
|
@@ -17,6 +17,11 @@ module AdvancedBilling
|
|
|
17
17
|
# Only one of the `subscriptions` can have `"primary": true` attribute set.
|
|
18
18
|
# When passing product to a subscription you can use either `product_id` or
|
|
19
19
|
# `product_handle` or `offer_id`. You can also use `custom_price` instead.
|
|
20
|
+
# The subscription request examples below will be split into two sections.
|
|
21
|
+
# The first section, "Subscription Customization", will focus on passing
|
|
22
|
+
# different information with a subscription, such as components, calendar
|
|
23
|
+
# billing, and custom fields. These examples will presume you are using a
|
|
24
|
+
# secure chargify_token generated by Chargify.js.
|
|
20
25
|
# @param [SubscriptionGroupSignupRequest] body Optional parameter: TODO:
|
|
21
26
|
# type description here
|
|
22
27
|
# @return [SubscriptionGroupSignupResponse] Response from the API call.
|
|
@@ -229,9 +234,9 @@ module AdvancedBilling
|
|
|
229
234
|
# subscription group, a new group will be created and the subscription will
|
|
230
235
|
# become part of the group with the specified target customer set as the
|
|
231
236
|
# responsible payer for the group's subscriptions.
|
|
232
|
-
# **
|
|
233
|
-
#
|
|
234
|
-
#
|
|
237
|
+
# **Note:** In order to add an existing subscription to a subscription
|
|
238
|
+
# group, it must belong to either the same customer record as the target, or
|
|
239
|
+
# be within the same customer hierarchy.
|
|
235
240
|
# Rather than specifying a customer, the `target` parameter could instead
|
|
236
241
|
# simply have a value of
|
|
237
242
|
# * `"self"` which indicates the subscription will be paid for not by some
|
|
@@ -240,8 +245,8 @@ module AdvancedBilling
|
|
|
240
245
|
# subscribing customer's parent within a customer hierarchy, or
|
|
241
246
|
# * `"eldest"` which indicates the subscription will be paid for by the
|
|
242
247
|
# root-level customer in the subscribing customer's hierarchy.
|
|
243
|
-
# To create a new subscription into a subscription group,
|
|
244
|
-
#
|
|
248
|
+
# To create a new subscription into a subscription group, reference the
|
|
249
|
+
# following:
|
|
245
250
|
# [Create Subscription in a Subscription
|
|
246
251
|
# Group](https://developers.chargify.com/docs/api-docs/d571659cf0f24-create-
|
|
247
252
|
# subscription#subscription-in-a-subscription-group)
|
|
@@ -35,7 +35,7 @@ module AdvancedBilling
|
|
|
35
35
|
# amount will be collected using the default credit card payment profile and
|
|
36
36
|
# applied to the prepayment account balance. This is especially useful for
|
|
37
37
|
# manual replenishment of prepaid subscriptions.
|
|
38
|
-
#
|
|
38
|
+
# Note that passing `amount_in_cents` is now allowed.
|
|
39
39
|
# @param [Integer] subscription_id Required parameter: The Chargify id of
|
|
40
40
|
# the subscription
|
|
41
41
|
# @param [CreatePrepaymentRequest] body Optional parameter: TODO: type
|
|
@@ -26,13 +26,12 @@ module AdvancedBilling
|
|
|
26
26
|
# [here](https://maxio.zendesk.com/hc/en-us/articles/24181589372429-Data-Mig
|
|
27
27
|
# ration-to-Advanced-Billing).
|
|
28
28
|
# ## Failed Migrations
|
|
29
|
-
# One of the most common ways that a migration can fail is
|
|
30
|
-
# is made to migrate a subscription to
|
|
31
|
-
# of this issue!
|
|
29
|
+
# Importaint note: One of the most common ways that a migration can fail is
|
|
30
|
+
# when the attempt is made to migrate a subscription to its current product.
|
|
32
31
|
# ## Migration 3D Secure - Stripe
|
|
33
|
-
#
|
|
34
|
-
#
|
|
35
|
-
#
|
|
32
|
+
# When a payment requires 3D Secure Authentication to adhear to Strong
|
|
33
|
+
# Customer Authentication (SCA) when the subscription is migrated to a new
|
|
34
|
+
# product, the request enters a [post-authentication
|
|
36
35
|
# flow](https://maxio.zendesk.com/hc/en-us/articles/24176278996493-Testing-I
|
|
37
36
|
# mplementing-3D-Secure#psd2-flows-pre-authentication-and-post-authenticatio
|
|
38
37
|
# n). The server returns `422 Unprocessable Entity` in this case with the
|
|
@@ -82,7 +81,7 @@ module AdvancedBilling
|
|
|
82
81
|
# urpage.com`
|
|
83
82
|
# ### Example Redirect Flow
|
|
84
83
|
# You may wish to redirect customers to different pages depending on whether
|
|
85
|
-
#
|
|
84
|
+
# SCA was performed successfully. Here's an example flow to use as a
|
|
86
85
|
# reference:
|
|
87
86
|
# 1. Create a migration via API; it requires 3DS
|
|
88
87
|
# 2. You receive a `gateway_payment_id` in the `action_link` along other
|
|
@@ -104,7 +104,7 @@ module AdvancedBilling
|
|
|
104
104
|
# This will place the subscription in the on_hold state and it will not
|
|
105
105
|
# renew.
|
|
106
106
|
# ## Limitations
|
|
107
|
-
# You may not place a subscription on hold if the `
|
|
107
|
+
# You may not place a subscription on hold if the `next_billing_at` date is
|
|
108
108
|
# within 24 hours.
|
|
109
109
|
# @param [Integer] subscription_id Required parameter: The Chargify id of
|
|
110
110
|
# the subscription
|
|
@@ -176,10 +176,9 @@ module AdvancedBilling
|
|
|
176
176
|
# reactivate subscriptions through the application, see
|
|
177
177
|
# [reactivation](https://maxio.zendesk.com/hc/en-us/articles/24252109503629-
|
|
178
178
|
# Reactivating-and-Resuming).
|
|
179
|
-
# **
|
|
180
|
-
#
|
|
181
|
-
#
|
|
182
|
-
# subscription to an active state.**
|
|
179
|
+
# **Note: The term "resume" is used also during another process in Advanced
|
|
180
|
+
# Billing. This occurs when an on-hold subscription is "resumed". This
|
|
181
|
+
# returns the subscription to an active state.**
|
|
183
182
|
# + The response returns the subscription object in the `active` or
|
|
184
183
|
# `trialing` state.
|
|
185
184
|
# + The `canceled_at` and `cancellation_message` fields do not have values.
|
|
@@ -434,8 +433,8 @@ module AdvancedBilling
|
|
|
434
433
|
# subscription’s next assessment. You can retrieve it to see a snapshot of
|
|
435
434
|
# how much your customer will be charged on their next renewal.
|
|
436
435
|
# The "Next Billing" amount and "Next Billing" date are already represented
|
|
437
|
-
# in the UI on each Subscriber's Summary. For more information,
|
|
438
|
-
#
|
|
436
|
+
# in the UI on each Subscriber's Summary. For more information, see our
|
|
437
|
+
# documentation
|
|
439
438
|
# [here](https://maxio.zendesk.com/hc/en-us/articles/24252493695757-Subscrib
|
|
440
439
|
# er-Interface-Overview).
|
|
441
440
|
# ## Optional Component Fields
|