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.
Files changed (165) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +94 -44
  3. data/bin/console +15 -0
  4. data/lib/advanced_billing/client.rb +11 -0
  5. data/lib/advanced_billing/configuration.rb +73 -0
  6. data/lib/advanced_billing/controllers/advance_invoice_controller.rb +2 -2
  7. data/lib/advanced_billing/controllers/base_controller.rb +1 -1
  8. data/lib/advanced_billing/controllers/billing_portal_controller.rb +2 -2
  9. data/lib/advanced_billing/controllers/component_price_points_controller.rb +2 -2
  10. data/lib/advanced_billing/controllers/components_controller.rb +5 -5
  11. data/lib/advanced_billing/controllers/coupons_controller.rb +5 -11
  12. data/lib/advanced_billing/controllers/custom_fields_controller.rb +102 -128
  13. data/lib/advanced_billing/controllers/customers_controller.rb +4 -4
  14. data/lib/advanced_billing/controllers/invoices_controller.rb +48 -11
  15. data/lib/advanced_billing/controllers/payment_profiles_controller.rb +70 -243
  16. data/lib/advanced_billing/controllers/product_families_controller.rb +7 -8
  17. data/lib/advanced_billing/controllers/product_price_points_controller.rb +15 -17
  18. data/lib/advanced_billing/controllers/products_controller.rb +7 -8
  19. data/lib/advanced_billing/controllers/proforma_invoices_controller.rb +1 -1
  20. data/lib/advanced_billing/controllers/sales_commissions_controller.rb +3 -3
  21. data/lib/advanced_billing/controllers/subscription_components_controller.rb +24 -33
  22. data/lib/advanced_billing/controllers/subscription_group_status_controller.rb +9 -9
  23. data/lib/advanced_billing/controllers/subscription_groups_controller.rb +10 -5
  24. data/lib/advanced_billing/controllers/subscription_invoice_account_controller.rb +1 -1
  25. data/lib/advanced_billing/controllers/subscription_products_controller.rb +6 -7
  26. data/lib/advanced_billing/controllers/subscription_status_controller.rb +6 -7
  27. data/lib/advanced_billing/controllers/subscriptions_controller.rb +86 -808
  28. data/lib/advanced_billing/http/auth/basic_auth.rb +12 -0
  29. data/lib/advanced_billing/http/proxy_settings.rb +9 -0
  30. data/lib/advanced_billing/models/activate_event_based_component.rb +1 -2
  31. data/lib/advanced_billing/models/all_vaults.rb +45 -0
  32. data/lib/advanced_billing/models/allocation_preview_direction.rb +13 -0
  33. data/lib/advanced_billing/models/allocation_preview_line_item_kind.rb +15 -0
  34. data/lib/advanced_billing/models/apple_pay_vault.rb +6 -0
  35. data/lib/advanced_billing/models/auto_invite.rb +19 -0
  36. data/lib/advanced_billing/models/bank_account_holder_type.rb +13 -0
  37. data/lib/advanced_billing/models/bank_account_type.rb +13 -0
  38. data/lib/advanced_billing/models/bank_account_vault.rb +19 -0
  39. data/lib/advanced_billing/models/basic_date_field.rb +13 -0
  40. data/lib/advanced_billing/models/billing_manifest_line_item_kind.rb +17 -0
  41. data/lib/advanced_billing/models/billing_schedule.rb +2 -2
  42. data/lib/advanced_billing/models/calendar_billing.rb +3 -1
  43. data/lib/advanced_billing/models/cancellation_method.rb +17 -0
  44. data/lib/advanced_billing/models/card_type.rb +47 -0
  45. data/lib/advanced_billing/models/chargeback_status.rb +15 -0
  46. data/lib/advanced_billing/models/chargify_ebb.rb +4 -4
  47. data/lib/advanced_billing/models/cleanup_scope.rb +13 -0
  48. data/lib/advanced_billing/models/collection_method.rb +15 -0
  49. data/lib/advanced_billing/models/component.rb +31 -31
  50. data/lib/advanced_billing/models/component_custom_price.rb +61 -3
  51. data/lib/advanced_billing/models/component_kind.rb +16 -0
  52. data/lib/advanced_billing/models/compounding_strategy.rb +13 -0
  53. data/lib/advanced_billing/models/create_allocation.rb +1 -2
  54. data/lib/advanced_billing/models/create_invoice_coupon.rb +16 -7
  55. data/lib/advanced_billing/models/create_invoice_item.rb +5 -5
  56. data/lib/advanced_billing/models/create_invoice_status.rb +13 -0
  57. data/lib/advanced_billing/models/create_metafield.rb +3 -5
  58. data/lib/advanced_billing/models/create_or_update_product.rb +12 -7
  59. data/lib/advanced_billing/models/create_payment_profile.rb +6 -6
  60. data/lib/advanced_billing/models/create_prepayment_method.rb +19 -0
  61. data/lib/advanced_billing/models/create_product_price_point.rb +8 -3
  62. data/lib/advanced_billing/models/create_signup_proforma_preview_include.rb +6 -0
  63. data/lib/advanced_billing/models/create_usage.rb +17 -7
  64. data/lib/advanced_billing/models/credit_card_vault.rb +44 -0
  65. data/lib/advanced_billing/models/credit_note_status.rb +13 -0
  66. data/lib/advanced_billing/models/credit_scheme.rb +14 -0
  67. data/lib/advanced_billing/models/credit_type.rb +14 -0
  68. data/lib/advanced_billing/models/currency_price_role.rb +14 -0
  69. data/lib/advanced_billing/models/custom_field_owner.rb +13 -0
  70. data/lib/advanced_billing/models/debit_note_role.rb +13 -0
  71. data/lib/advanced_billing/models/debit_note_status.rb +15 -0
  72. data/lib/advanced_billing/models/direction.rb +13 -0
  73. data/lib/advanced_billing/models/discount_type.rb +13 -0
  74. data/lib/advanced_billing/models/ebb_component.rb +2 -2
  75. data/lib/advanced_billing/models/event_key.rb +91 -0
  76. data/lib/advanced_billing/models/expiration_interval_unit.rb +14 -0
  77. data/lib/advanced_billing/models/failed_payment_action.rb +14 -0
  78. data/lib/advanced_billing/models/first_charge_type.rb +14 -0
  79. data/lib/advanced_billing/models/group_target_type.rb +16 -0
  80. data/lib/advanced_billing/models/group_type.rb +13 -0
  81. data/lib/advanced_billing/models/include_not_null.rb +6 -0
  82. data/lib/advanced_billing/models/include_null_or_not_null.rb +13 -0
  83. data/lib/advanced_billing/models/include_option.rb +13 -0
  84. data/lib/advanced_billing/models/interval_unit.rb +13 -0
  85. data/lib/advanced_billing/models/invoice_consolidation_level.rb +14 -0
  86. data/lib/advanced_billing/models/invoice_date_field.rb +16 -0
  87. data/lib/advanced_billing/models/invoice_discount_source_type.rb +14 -0
  88. data/lib/advanced_billing/models/invoice_discount_type.rb +14 -0
  89. data/lib/advanced_billing/models/invoice_event_payment_method.rb +16 -0
  90. data/lib/advanced_billing/models/invoice_event_type.rb +26 -0
  91. data/lib/advanced_billing/models/invoice_payment_method_type.rb +17 -0
  92. data/lib/advanced_billing/models/invoice_payment_type.rb +15 -0
  93. data/lib/advanced_billing/models/invoice_role.rb +21 -0
  94. data/lib/advanced_billing/models/invoice_sort_field.rb +19 -0
  95. data/lib/advanced_billing/models/invoice_status.rb +18 -0
  96. data/lib/advanced_billing/models/item_category.rb +16 -0
  97. data/lib/advanced_billing/models/line_item_kind.rb +21 -0
  98. data/lib/advanced_billing/models/line_item_transaction_type.rb +18 -0
  99. data/lib/advanced_billing/models/list_components_price_points_include.rb +6 -0
  100. data/lib/advanced_billing/models/list_coupons_filter.rb +22 -6
  101. data/lib/advanced_billing/models/list_events_date_field.rb +6 -0
  102. data/lib/advanced_billing/models/list_prepayment_date_field.rb +13 -0
  103. data/lib/advanced_billing/models/list_products_include.rb +6 -0
  104. data/lib/advanced_billing/models/list_products_price_points_include.rb +6 -0
  105. data/lib/advanced_billing/models/list_subscription_components_include.rb +13 -0
  106. data/lib/advanced_billing/models/list_subscription_components_sort.rb +13 -0
  107. data/lib/advanced_billing/models/metafield.rb +8 -11
  108. data/lib/advanced_billing/models/metafield_input.rb +18 -5
  109. data/lib/advanced_billing/models/metafield_scope.rb +9 -4
  110. data/lib/advanced_billing/models/metered_component.rb +2 -2
  111. data/lib/advanced_billing/models/nested_subscription_group.rb +10 -0
  112. data/lib/advanced_billing/models/on_off_component.rb +2 -2
  113. data/lib/advanced_billing/models/pay_pal_vault.rb +15 -0
  114. data/lib/advanced_billing/models/payment_profile_attributes.rb +3 -3
  115. data/lib/advanced_billing/models/payment_type.rb +15 -0
  116. data/lib/advanced_billing/models/prepaid_configuration.rb +10 -0
  117. data/lib/advanced_billing/models/prepaid_usage_component.rb +2 -2
  118. data/lib/advanced_billing/models/prepayment_method.rb +18 -0
  119. data/lib/advanced_billing/models/price_point_type.rb +14 -0
  120. data/lib/advanced_billing/models/pricing_scheme.rb +15 -0
  121. data/lib/advanced_billing/models/product.rb +18 -8
  122. data/lib/advanced_billing/models/product_family.rb +10 -0
  123. data/lib/advanced_billing/models/product_price_point.rb +8 -3
  124. data/lib/advanced_billing/models/proforma_invoice_discount_source_type.rb +13 -0
  125. data/lib/advanced_billing/models/proforma_invoice_role.rb +15 -0
  126. data/lib/advanced_billing/models/proforma_invoice_status.rb +14 -0
  127. data/lib/advanced_billing/models/proforma_invoice_tax_source_type.rb +13 -0
  128. data/lib/advanced_billing/models/public_signup_page.rb +10 -0
  129. data/lib/advanced_billing/models/quantity_based_component.rb +2 -2
  130. data/lib/advanced_billing/models/reactivation_charge.rb +14 -0
  131. data/lib/advanced_billing/models/recurring_scheme.rb +14 -0
  132. data/lib/advanced_billing/models/resource_type.rb +13 -0
  133. data/lib/advanced_billing/models/restriction_type.rb +13 -0
  134. data/lib/advanced_billing/models/resume_options.rb +1 -1
  135. data/lib/advanced_billing/models/resumption_charge.rb +14 -0
  136. data/lib/advanced_billing/models/service_credit_type.rb +13 -0
  137. data/lib/advanced_billing/models/snap_day.rb +7 -2
  138. data/lib/advanced_billing/models/sorting_direction.rb +13 -0
  139. data/lib/advanced_billing/models/subscription.rb +16 -3
  140. data/lib/advanced_billing/models/subscription_custom_price.rb +23 -7
  141. data/lib/advanced_billing/models/subscription_date_field.rb +20 -0
  142. data/lib/advanced_billing/models/subscription_group_include.rb +6 -0
  143. data/lib/advanced_billing/models/subscription_group_prepayment_method.rb +17 -0
  144. data/lib/advanced_billing/models/subscription_groups_list_include.rb +6 -0
  145. data/lib/advanced_billing/models/subscription_include.rb +13 -0
  146. data/lib/advanced_billing/models/subscription_included_coupon.rb +10 -0
  147. data/lib/advanced_billing/models/subscription_list_date_field.rb +6 -0
  148. data/lib/advanced_billing/models/subscription_list_include.rb +6 -0
  149. data/lib/advanced_billing/models/subscription_purge_type.rb +13 -0
  150. data/lib/advanced_billing/models/subscription_sort.rb +17 -0
  151. data/lib/advanced_billing/models/subscription_state.rb +26 -0
  152. data/lib/advanced_billing/models/subscription_state_filter.rb +23 -0
  153. data/lib/advanced_billing/models/tax_configuration_kind.rb +15 -0
  154. data/lib/advanced_billing/models/tax_destination_address.rb +15 -0
  155. data/lib/advanced_billing/models/trial_type.rb +41 -0
  156. data/lib/advanced_billing/models/update_component.rb +2 -2
  157. data/lib/advanced_billing/models/update_metafield.rb +4 -6
  158. data/lib/advanced_billing/models/update_payment_profile.rb +3 -3
  159. data/lib/advanced_billing/models/update_subscription.rb +1 -0
  160. data/lib/advanced_billing/models/webhook_order.rb +13 -0
  161. data/lib/advanced_billing/models/webhook_status.rb +15 -0
  162. data/lib/advanced_billing/models/webhook_subscription.rb +46 -0
  163. data/lib/advanced_billing/utilities/union_type_lookup.rb +18 -5
  164. data/lib/advanced_billing.rb +1 -0
  165. metadata +8 -6
@@ -528,48 +528,46 @@ module AdvancedBilling
528
528
  .execute
529
529
  end
530
530
 
531
- # ## Documentation
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, please see the following
539
+ # record component usage against a subscription, see the following
537
540
  # resources:
538
- # + [Recording Metered Component
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
- # + [Reporting Prepaid Component
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
- # You may choose to report metered or prepaid usage to Advanced Billing as
545
- # often as you wish. You may report usage as it happens. You may also report
546
- # usage periodically, such as each night or once per billing period. If
547
- # usage events occur in your system very frequently (on the order of
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
- # In the event that you need to reverse a previous usage report or otherwise
569
- # deduct from the current usage balance, you may provide a negative
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
- # At this point, `unit_balance` would be `5000`. To reduce the balance to
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
- # This endpoint will immediately cancel all subscriptions within the
10
- # specified group. The group is identified by it's `uid` passed in the URL.
11
- # To successfully cancel the group, the primary subscription must be on
12
- # automatic billing. The group members as well must be on automatic billing
13
- # or they must be prepaid.
14
- # In order to cancel a subscription group while also charging for any
15
- # unbilled usage on metered or prepaid components, the
16
- # `charge_unbilled_usage=true` parameter must be included in the request.
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 it's uid passed in the URL.
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
- # **Please Note:** In order to add an existing subscription to a
233
- # subscription group, it must belong to either the same customer record as
234
- # the target, or be within the same customer hierarchy.
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, please reference
244
- # the following:
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
- # Please note that you **can't** pass `amount_in_cents`.
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 when the attempt
30
- # is made to migrate a subscription to it's current product. Please be aware
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
- # It may happen that a payment needs 3D Secure Authentication when the
34
- # subscription is migrated to a new product; this is referred to in our help
35
- # docs as a [post-authentication
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
- # their SCA was performed successfully. Here's an example flow to use as a
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 `next_billing` date is
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
- # **Please note: The term
180
- # "resume" is used also during another process in Advanced Billing. This
181
- # occurs when an on-hold subscription is "resumed". This returns the
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, please see
438
- # our documentation
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