maxio-advanced-billing-sdk 6.1.0 → 7.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 +69 -64
- data/lib/advanced_billing/api_helper.rb +2 -2
- data/lib/advanced_billing/client.rb +2 -2
- data/lib/advanced_billing/configuration.rb +4 -5
- data/lib/advanced_billing/controllers/advance_invoice_controller.rb +12 -10
- data/lib/advanced_billing/controllers/api_exports_controller.rb +20 -20
- data/lib/advanced_billing/controllers/base_controller.rb +4 -10
- data/lib/advanced_billing/controllers/billing_portal_controller.rb +10 -10
- data/lib/advanced_billing/controllers/component_price_points_controller.rb +34 -32
- data/lib/advanced_billing/controllers/components_controller.rb +40 -33
- data/lib/advanced_billing/controllers/coupons_controller.rb +43 -38
- data/lib/advanced_billing/controllers/custom_fields_controller.rb +29 -25
- data/lib/advanced_billing/controllers/customers_controller.rb +20 -18
- data/lib/advanced_billing/controllers/events_based_billing_segments_controller.rb +22 -18
- data/lib/advanced_billing/controllers/events_controller.rb +8 -8
- data/lib/advanced_billing/controllers/insights_controller.rb +11 -11
- data/lib/advanced_billing/controllers/invoices_controller.rb +59 -92
- data/lib/advanced_billing/controllers/offers_controller.rb +14 -13
- data/lib/advanced_billing/controllers/payment_profiles_controller.rb +32 -29
- data/lib/advanced_billing/controllers/product_families_controller.rb +15 -14
- data/lib/advanced_billing/controllers/product_price_points_controller.rb +33 -32
- data/lib/advanced_billing/controllers/products_controller.rb +18 -16
- data/lib/advanced_billing/controllers/proforma_invoices_controller.rb +26 -23
- data/lib/advanced_billing/controllers/reason_codes_controller.rb +18 -16
- data/lib/advanced_billing/controllers/referral_codes_controller.rb +4 -4
- data/lib/advanced_billing/controllers/sales_commissions_controller.rb +8 -8
- data/lib/advanced_billing/controllers/sites_controller.rb +8 -8
- data/lib/advanced_billing/controllers/subscription_components_controller.rb +55 -48
- data/lib/advanced_billing/controllers/subscription_group_invoice_account_controller.rb +16 -14
- data/lib/advanced_billing/controllers/subscription_group_status_controller.rb +14 -14
- data/lib/advanced_billing/controllers/subscription_groups_controller.rb +28 -27
- data/lib/advanced_billing/controllers/subscription_invoice_account_controller.rb +68 -18
- data/lib/advanced_billing/controllers/subscription_notes_controller.rb +16 -14
- data/lib/advanced_billing/controllers/subscription_products_controller.rb +8 -8
- data/lib/advanced_billing/controllers/subscription_status_controller.rb +34 -28
- data/lib/advanced_billing/controllers/subscriptions_controller.rb +45 -71
- data/lib/advanced_billing/controllers/webhooks_controller.rb +22 -18
- data/lib/advanced_billing/exceptions/api_exception.rb +2 -2
- data/lib/advanced_billing/exceptions/component_allocation_error_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/component_price_point_error_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/customer_error_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/error_array_map_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/error_list_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/error_string_map_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/event_based_billing_list_segments_errors_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/event_based_billing_segment_errors_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/event_based_billing_segment_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/product_price_point_error_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/proforma_bad_request_error_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/refund_prepayment_base_errors_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/single_error_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/single_string_error_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/subscription_add_coupon_error_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/subscription_component_allocation_error_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/subscription_group_create_error_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/subscription_group_signup_error_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/subscription_group_update_error_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/subscription_remove_coupon_errors_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/subscription_response_error_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/subscriptions_mrr_error_response_exception.rb +7 -5
- data/lib/advanced_billing/exceptions/too_many_management_link_requests_error_exception.rb +7 -5
- data/lib/advanced_billing/http/auth/basic_auth.rb +2 -2
- data/lib/advanced_billing/http/http_call_back.rb +2 -2
- data/lib/advanced_billing/http/http_method_enum.rb +2 -2
- data/lib/advanced_billing/http/http_request.rb +2 -2
- data/lib/advanced_billing/http/http_response.rb +2 -2
- data/lib/advanced_billing/models/account_balance.rb +2 -2
- data/lib/advanced_billing/models/account_balances.rb +2 -2
- data/lib/advanced_billing/models/ach_agreement.rb +2 -2
- data/lib/advanced_billing/models/activate_event_based_component.rb +2 -2
- data/lib/advanced_billing/models/activate_subscription_request.rb +2 -2
- data/lib/advanced_billing/models/add_coupons_request.rb +2 -2
- data/lib/advanced_billing/models/add_subscription_to_a_group.rb +2 -2
- data/lib/advanced_billing/models/address_change.rb +2 -2
- data/lib/advanced_billing/models/agreement_acceptance.rb +2 -2
- data/lib/advanced_billing/models/all_vaults.rb +2 -2
- data/lib/advanced_billing/models/allocate_components.rb +2 -2
- data/lib/advanced_billing/models/allocation.rb +2 -2
- data/lib/advanced_billing/models/allocation_expiration_date.rb +2 -2
- data/lib/advanced_billing/models/allocation_preview.rb +2 -2
- data/lib/advanced_billing/models/allocation_preview_direction.rb +2 -2
- data/lib/advanced_billing/models/allocation_preview_item.rb +2 -2
- data/lib/advanced_billing/models/allocation_preview_line_item.rb +2 -2
- data/lib/advanced_billing/models/allocation_preview_line_item_kind.rb +2 -2
- data/lib/advanced_billing/models/allocation_preview_response.rb +2 -2
- data/lib/advanced_billing/models/allocation_response.rb +2 -2
- data/lib/advanced_billing/models/allocation_settings.rb +2 -2
- data/lib/advanced_billing/models/apple_pay_payment_profile.rb +43 -5
- data/lib/advanced_billing/models/apple_pay_vault.rb +2 -2
- data/lib/advanced_billing/models/applied_credit_note_data.rb +2 -2
- data/lib/advanced_billing/models/apply_credit_note_event.rb +2 -2
- data/lib/advanced_billing/models/apply_credit_note_event_data.rb +2 -2
- data/lib/advanced_billing/models/apply_debit_note_event.rb +2 -2
- data/lib/advanced_billing/models/apply_debit_note_event_data.rb +2 -2
- data/lib/advanced_billing/models/apply_payment_event.rb +2 -2
- data/lib/advanced_billing/models/apply_payment_event_data.rb +2 -2
- data/lib/advanced_billing/models/attribute_error.rb +2 -2
- data/lib/advanced_billing/models/auto_invite.rb +2 -2
- data/lib/advanced_billing/models/auto_resume.rb +2 -2
- data/lib/advanced_billing/models/backport_invoice_event.rb +2 -2
- data/lib/advanced_billing/models/bank_account_attributes.rb +2 -2
- data/lib/advanced_billing/models/bank_account_holder_type.rb +2 -2
- data/lib/advanced_billing/models/bank_account_payment_profile.rb +42 -5
- data/lib/advanced_billing/models/bank_account_response.rb +2 -2
- data/lib/advanced_billing/models/bank_account_type.rb +2 -2
- data/lib/advanced_billing/models/bank_account_vault.rb +2 -2
- data/lib/advanced_billing/models/bank_account_verification.rb +2 -2
- data/lib/advanced_billing/models/bank_account_verification_request.rb +2 -2
- data/lib/advanced_billing/models/base_model.rb +2 -2
- data/lib/advanced_billing/models/base_refund_error.rb +2 -2
- data/lib/advanced_billing/models/base_string_error.rb +2 -2
- data/lib/advanced_billing/models/basic_date_field.rb +2 -2
- data/lib/advanced_billing/models/batch_job.rb +2 -2
- data/lib/advanced_billing/models/batch_job_response.rb +2 -2
- data/lib/advanced_billing/models/billing_manifest.rb +2 -2
- data/lib/advanced_billing/models/billing_manifest_item.rb +2 -2
- data/lib/advanced_billing/models/billing_manifest_line_item_kind.rb +2 -2
- data/lib/advanced_billing/models/billing_schedule.rb +2 -2
- data/lib/advanced_billing/models/breakouts.rb +2 -2
- data/lib/advanced_billing/models/bulk_components_price_point_assignment.rb +2 -2
- data/lib/advanced_billing/models/bulk_create_product_price_points_request.rb +2 -2
- data/lib/advanced_billing/models/bulk_create_product_price_points_response.rb +2 -2
- data/lib/advanced_billing/models/bulk_create_segments.rb +2 -2
- data/lib/advanced_billing/models/bulk_update_segments.rb +2 -2
- data/lib/advanced_billing/models/bulk_update_segments_item.rb +2 -2
- data/lib/advanced_billing/models/calendar_billing.rb +2 -2
- data/lib/advanced_billing/models/cancel_grouped_subscriptions_request.rb +2 -2
- data/lib/advanced_billing/models/cancellation_method.rb +2 -2
- data/lib/advanced_billing/models/cancellation_options.rb +2 -2
- data/lib/advanced_billing/models/cancellation_request.rb +2 -2
- data/lib/advanced_billing/models/card_type.rb +2 -2
- data/lib/advanced_billing/models/change_chargeback_status_event.rb +2 -2
- data/lib/advanced_billing/models/change_chargeback_status_event_data.rb +2 -2
- data/lib/advanced_billing/models/change_invoice_collection_method_event.rb +2 -2
- data/lib/advanced_billing/models/change_invoice_collection_method_event_data.rb +2 -2
- data/lib/advanced_billing/models/change_invoice_status_event.rb +2 -2
- data/lib/advanced_billing/models/change_invoice_status_event_data.rb +2 -2
- data/lib/advanced_billing/models/chargeback_status.rb +2 -2
- data/lib/advanced_billing/models/chargify_ebb.rb +2 -2
- data/lib/advanced_billing/models/cleanup_scope.rb +2 -2
- data/lib/advanced_billing/models/collection_method.rb +2 -2
- data/lib/advanced_billing/models/component.rb +25 -12
- data/lib/advanced_billing/models/component_allocation_change.rb +2 -2
- data/lib/advanced_billing/models/component_allocation_error_item.rb +2 -2
- data/lib/advanced_billing/models/component_cost_data.rb +2 -2
- data/lib/advanced_billing/models/component_cost_data_rate_tier.rb +2 -2
- data/lib/advanced_billing/models/component_currency_price.rb +2 -2
- data/lib/advanced_billing/models/component_currency_prices_response.rb +2 -2
- data/lib/advanced_billing/models/component_custom_price.rb +2 -2
- data/lib/advanced_billing/models/component_kind.rb +2 -2
- data/lib/advanced_billing/models/component_price.rb +2 -2
- data/lib/advanced_billing/models/component_price_point.rb +2 -2
- data/lib/advanced_billing/models/component_price_point_assignment.rb +2 -2
- data/lib/advanced_billing/models/component_price_point_error_item.rb +2 -2
- data/lib/advanced_billing/models/component_price_point_item.rb +2 -2
- data/lib/advanced_billing/models/component_price_point_response.rb +2 -2
- data/lib/advanced_billing/models/component_price_points_response.rb +2 -2
- data/lib/advanced_billing/models/component_response.rb +2 -2
- data/lib/advanced_billing/models/compounding_strategy.rb +2 -2
- data/lib/advanced_billing/models/consolidated_invoice.rb +2 -2
- data/lib/advanced_billing/models/count_response.rb +2 -2
- data/lib/advanced_billing/models/coupon.rb +2 -2
- data/lib/advanced_billing/models/coupon_currency.rb +2 -2
- data/lib/advanced_billing/models/coupon_currency_request.rb +2 -2
- data/lib/advanced_billing/models/coupon_currency_response.rb +2 -2
- data/lib/advanced_billing/models/coupon_payload.rb +2 -2
- data/lib/advanced_billing/models/coupon_request.rb +8 -6
- data/lib/advanced_billing/models/coupon_response.rb +2 -2
- data/lib/advanced_billing/models/coupon_restriction.rb +2 -2
- data/lib/advanced_billing/models/coupon_subcodes.rb +2 -2
- data/lib/advanced_billing/models/coupon_subcodes_response.rb +2 -2
- data/lib/advanced_billing/models/coupon_usage.rb +2 -2
- data/lib/advanced_billing/models/create_allocation.rb +2 -2
- data/lib/advanced_billing/models/create_allocation_request.rb +2 -2
- data/lib/advanced_billing/models/create_component_price_point.rb +2 -2
- data/lib/advanced_billing/models/create_component_price_point_request.rb +2 -2
- data/lib/advanced_billing/models/create_component_price_points_request.rb +2 -2
- data/lib/advanced_billing/models/create_credit_note_event.rb +2 -2
- data/lib/advanced_billing/models/create_currency_price.rb +2 -2
- data/lib/advanced_billing/models/create_currency_prices_request.rb +2 -2
- data/lib/advanced_billing/models/create_customer.rb +2 -2
- data/lib/advanced_billing/models/create_customer_request.rb +2 -2
- data/lib/advanced_billing/models/create_debit_note_event.rb +2 -2
- data/lib/advanced_billing/models/create_ebb_component.rb +2 -2
- data/lib/advanced_billing/models/create_invoice.rb +2 -2
- data/lib/advanced_billing/models/create_invoice_address.rb +2 -2
- data/lib/advanced_billing/models/create_invoice_coupon.rb +2 -2
- data/lib/advanced_billing/models/create_invoice_item.rb +2 -2
- data/lib/advanced_billing/models/create_invoice_payment.rb +2 -2
- data/lib/advanced_billing/models/create_invoice_payment_application.rb +2 -2
- data/lib/advanced_billing/models/create_invoice_payment_request.rb +2 -2
- data/lib/advanced_billing/models/create_invoice_request.rb +2 -2
- data/lib/advanced_billing/models/create_invoice_status.rb +2 -2
- data/lib/advanced_billing/models/create_metadata.rb +2 -2
- data/lib/advanced_billing/models/create_metadata_request.rb +2 -2
- data/lib/advanced_billing/models/create_metafield.rb +2 -2
- data/lib/advanced_billing/models/create_metafields_request.rb +2 -2
- data/lib/advanced_billing/models/create_metered_component.rb +2 -2
- data/lib/advanced_billing/models/create_multi_invoice_payment.rb +2 -2
- data/lib/advanced_billing/models/create_multi_invoice_payment_request.rb +2 -2
- data/lib/advanced_billing/models/create_offer.rb +2 -2
- data/lib/advanced_billing/models/create_offer_component.rb +2 -2
- data/lib/advanced_billing/models/create_offer_request.rb +2 -2
- data/lib/advanced_billing/models/create_on_off_component.rb +2 -2
- data/lib/advanced_billing/models/create_or_update_endpoint.rb +2 -2
- data/lib/advanced_billing/models/create_or_update_endpoint_request.rb +2 -2
- data/lib/advanced_billing/models/create_or_update_product.rb +2 -2
- data/lib/advanced_billing/models/create_or_update_product_request.rb +2 -2
- data/lib/advanced_billing/models/create_or_update_segment_price.rb +2 -2
- data/lib/advanced_billing/models/create_payment.rb +2 -2
- data/lib/advanced_billing/models/create_payment_profile.rb +2 -2
- data/lib/advanced_billing/models/create_payment_profile_request.rb +2 -2
- data/lib/advanced_billing/models/create_prepaid_component.rb +2 -2
- data/lib/advanced_billing/models/create_prepaid_usage_component_price_point.rb +2 -2
- data/lib/advanced_billing/models/create_prepayment.rb +2 -2
- data/lib/advanced_billing/models/create_prepayment_method.rb +2 -2
- data/lib/advanced_billing/models/create_prepayment_request.rb +2 -2
- data/lib/advanced_billing/models/create_prepayment_response.rb +2 -2
- data/lib/advanced_billing/models/create_product_currency_price.rb +2 -2
- data/lib/advanced_billing/models/create_product_currency_prices_request.rb +2 -2
- data/lib/advanced_billing/models/create_product_family.rb +2 -2
- data/lib/advanced_billing/models/create_product_family_request.rb +2 -2
- data/lib/advanced_billing/models/create_product_price_point.rb +2 -2
- data/lib/advanced_billing/models/create_product_price_point_request.rb +2 -2
- data/lib/advanced_billing/models/create_quantity_based_component.rb +2 -2
- data/lib/advanced_billing/models/create_reason_code.rb +2 -2
- data/lib/advanced_billing/models/create_reason_code_request.rb +2 -2
- data/lib/advanced_billing/models/create_segment.rb +2 -2
- data/lib/advanced_billing/models/create_segment_request.rb +2 -2
- data/lib/advanced_billing/models/create_signup_proforma_preview_include.rb +2 -2
- data/lib/advanced_billing/models/create_subscription.rb +43 -25
- data/lib/advanced_billing/models/create_subscription_component.rb +2 -2
- data/lib/advanced_billing/models/create_subscription_group.rb +2 -2
- data/lib/advanced_billing/models/create_subscription_group_request.rb +2 -2
- data/lib/advanced_billing/models/create_subscription_request.rb +2 -2
- data/lib/advanced_billing/models/create_usage.rb +2 -2
- data/lib/advanced_billing/models/create_usage_request.rb +2 -2
- data/lib/advanced_billing/models/created_prepayment.rb +2 -2
- data/lib/advanced_billing/models/credit_account_balance_changed.rb +2 -2
- data/lib/advanced_billing/models/credit_card_attributes.rb +2 -2
- data/lib/advanced_billing/models/credit_card_payment_profile.rb +43 -5
- data/lib/advanced_billing/models/credit_card_vault.rb +2 -2
- data/lib/advanced_billing/models/credit_note.rb +2 -2
- data/lib/advanced_billing/models/credit_note_application.rb +2 -2
- data/lib/advanced_billing/models/credit_note_line_item.rb +2 -2
- data/lib/advanced_billing/models/credit_note_status.rb +2 -2
- data/lib/advanced_billing/models/credit_scheme.rb +2 -2
- data/lib/advanced_billing/models/credit_scheme_request.rb +2 -2
- data/lib/advanced_billing/models/credit_type.rb +2 -2
- data/lib/advanced_billing/models/currency_price.rb +2 -2
- data/lib/advanced_billing/models/currency_price_role.rb +2 -2
- data/lib/advanced_billing/models/currency_prices_response.rb +2 -2
- data/lib/advanced_billing/models/custom_field_owner.rb +2 -2
- data/lib/advanced_billing/models/custom_field_value_change.rb +2 -2
- data/lib/advanced_billing/models/customer.rb +2 -2
- data/lib/advanced_billing/models/customer_attributes.rb +2 -2
- data/lib/advanced_billing/models/customer_change.rb +2 -2
- data/lib/advanced_billing/models/customer_changes_preview_response.rb +2 -2
- data/lib/advanced_billing/models/customer_custom_fields_change.rb +2 -2
- data/lib/advanced_billing/models/customer_error.rb +2 -2
- data/lib/advanced_billing/models/customer_payer_change.rb +2 -2
- data/lib/advanced_billing/models/customer_response.rb +2 -2
- data/lib/advanced_billing/models/debit_note.rb +2 -2
- data/lib/advanced_billing/models/debit_note_role.rb +2 -2
- data/lib/advanced_billing/models/debit_note_status.rb +2 -2
- data/lib/advanced_billing/models/deduct_service_credit.rb +2 -2
- data/lib/advanced_billing/models/deduct_service_credit_request.rb +2 -2
- data/lib/advanced_billing/models/delayed_cancellation_response.rb +2 -2
- data/lib/advanced_billing/models/delete_subscription_group_response.rb +2 -2
- data/lib/advanced_billing/models/direction.rb +2 -2
- data/lib/advanced_billing/models/discount_type.rb +2 -2
- data/lib/advanced_billing/models/dunner_data.rb +2 -2
- data/lib/advanced_billing/models/dunning_step_data.rb +2 -2
- data/lib/advanced_billing/models/dunning_step_reached.rb +2 -2
- data/lib/advanced_billing/models/ebb_component.rb +2 -2
- data/lib/advanced_billing/models/ebb_event.rb +2 -2
- data/lib/advanced_billing/models/enable_webhooks_request.rb +2 -2
- data/lib/advanced_billing/models/enable_webhooks_response.rb +2 -2
- data/lib/advanced_billing/models/endpoint.rb +2 -2
- data/lib/advanced_billing/models/endpoint_response.rb +2 -2
- data/lib/advanced_billing/models/errors.rb +2 -2
- data/lib/advanced_billing/models/event.rb +2 -2
- data/lib/advanced_billing/models/event_based_billing_segment_error.rb +2 -2
- data/lib/advanced_billing/models/event_key.rb +2 -2
- data/lib/advanced_billing/models/event_response.rb +2 -2
- data/lib/advanced_billing/models/expiration_interval_unit.rb +2 -2
- data/lib/advanced_billing/models/failed_payment_action.rb +2 -2
- data/lib/advanced_billing/models/failed_payment_event.rb +2 -2
- data/lib/advanced_billing/models/failed_payment_event_data.rb +2 -2
- data/lib/advanced_billing/models/first_charge_type.rb +2 -2
- data/lib/advanced_billing/models/full_subscription_group_response.rb +2 -2
- data/lib/advanced_billing/models/get_one_time_token_payment_profile.rb +2 -2
- data/lib/advanced_billing/models/get_one_time_token_request.rb +2 -2
- data/lib/advanced_billing/models/group_billing.rb +2 -2
- data/lib/advanced_billing/models/group_settings.rb +2 -2
- data/lib/advanced_billing/models/group_target.rb +2 -2
- data/lib/advanced_billing/models/group_target_type.rb +2 -2
- data/lib/advanced_billing/models/group_type.rb +2 -2
- data/lib/advanced_billing/models/historic_usage.rb +2 -2
- data/lib/advanced_billing/models/include_not_null.rb +2 -2
- data/lib/advanced_billing/models/include_null_or_not_null.rb +2 -2
- data/lib/advanced_billing/models/include_option.rb +2 -2
- data/lib/advanced_billing/models/interval_unit.rb +2 -2
- data/lib/advanced_billing/models/invoice.rb +2 -2
- data/lib/advanced_billing/models/invoice_address.rb +2 -2
- data/lib/advanced_billing/models/invoice_avatax_details.rb +2 -2
- data/lib/advanced_billing/models/invoice_balance_item.rb +2 -2
- data/lib/advanced_billing/models/invoice_consolidation_level.rb +2 -2
- data/lib/advanced_billing/models/invoice_credit.rb +2 -2
- data/lib/advanced_billing/models/invoice_custom_field.rb +2 -2
- data/lib/advanced_billing/models/invoice_customer.rb +2 -2
- data/lib/advanced_billing/models/invoice_date_field.rb +2 -2
- data/lib/advanced_billing/models/invoice_debit.rb +2 -2
- data/lib/advanced_billing/models/invoice_discount.rb +2 -2
- data/lib/advanced_billing/models/invoice_discount_breakout.rb +2 -2
- data/lib/advanced_billing/models/invoice_discount_source_type.rb +2 -2
- data/lib/advanced_billing/models/invoice_discount_type.rb +2 -2
- data/lib/advanced_billing/models/invoice_display_settings.rb +2 -2
- data/lib/advanced_billing/models/invoice_event_payment_method.rb +2 -2
- data/lib/advanced_billing/models/invoice_event_type.rb +2 -2
- data/lib/advanced_billing/models/invoice_issued.rb +2 -2
- data/lib/advanced_billing/models/invoice_line_item.rb +2 -2
- data/lib/advanced_billing/models/invoice_line_item_component_cost_data.rb +2 -2
- data/lib/advanced_billing/models/invoice_line_item_event_data.rb +2 -2
- data/lib/advanced_billing/models/invoice_line_item_pricing_detail.rb +2 -2
- data/lib/advanced_billing/models/invoice_payer.rb +2 -2
- data/lib/advanced_billing/models/invoice_payer_change.rb +2 -2
- data/lib/advanced_billing/models/invoice_payment.rb +2 -2
- data/lib/advanced_billing/models/invoice_payment_application.rb +2 -2
- data/lib/advanced_billing/models/invoice_payment_method.rb +2 -2
- data/lib/advanced_billing/models/invoice_payment_method_type.rb +2 -2
- data/lib/advanced_billing/models/invoice_payment_type.rb +2 -2
- data/lib/advanced_billing/models/invoice_pre_payment.rb +2 -2
- data/lib/advanced_billing/models/invoice_previous_balance.rb +2 -2
- data/lib/advanced_billing/models/invoice_refund.rb +2 -2
- data/lib/advanced_billing/models/invoice_response.rb +2 -2
- data/lib/advanced_billing/models/invoice_role.rb +2 -2
- data/lib/advanced_billing/models/invoice_seller.rb +2 -2
- data/lib/advanced_billing/models/invoice_sort_field.rb +2 -2
- data/lib/advanced_billing/models/invoice_status.rb +2 -2
- data/lib/advanced_billing/models/invoice_tax.rb +2 -2
- data/lib/advanced_billing/models/invoice_tax_breakout.rb +2 -2
- data/lib/advanced_billing/models/invoice_tax_component_breakout.rb +2 -2
- data/lib/advanced_billing/models/issue_advance_invoice_request.rb +2 -2
- data/lib/advanced_billing/models/issue_invoice_event.rb +2 -2
- data/lib/advanced_billing/models/issue_invoice_event_data.rb +2 -2
- data/lib/advanced_billing/models/issue_invoice_request.rb +2 -2
- data/lib/advanced_billing/models/issue_service_credit.rb +2 -2
- data/lib/advanced_billing/models/issue_service_credit_request.rb +2 -2
- data/lib/advanced_billing/models/item_category.rb +2 -2
- data/lib/advanced_billing/models/item_price_point_changed.rb +2 -2
- data/lib/advanced_billing/models/item_price_point_data.rb +2 -2
- data/lib/advanced_billing/models/line_item_kind.rb +2 -2
- data/lib/advanced_billing/models/line_item_transaction_type.rb +2 -2
- data/lib/advanced_billing/models/list_components_filter.rb +2 -2
- data/lib/advanced_billing/models/list_components_price_points_include.rb +2 -2
- data/lib/advanced_billing/models/list_components_price_points_response.rb +2 -2
- data/lib/advanced_billing/models/list_coupons_filter.rb +2 -2
- data/lib/advanced_billing/models/list_credit_notes_response.rb +2 -2
- data/lib/advanced_billing/models/list_events_date_field.rb +2 -2
- data/lib/advanced_billing/models/list_invoice_events_response.rb +2 -2
- data/lib/advanced_billing/models/list_invoices_response.rb +2 -2
- data/lib/advanced_billing/models/list_metafields_response.rb +2 -2
- data/lib/advanced_billing/models/list_mrr_filter.rb +2 -2
- data/lib/advanced_billing/models/list_mrr_response.rb +2 -2
- data/lib/advanced_billing/models/list_mrr_response_result.rb +2 -2
- data/lib/advanced_billing/models/list_offers_response.rb +2 -2
- data/lib/advanced_billing/models/list_prepayment_date_field.rb +2 -2
- data/lib/advanced_billing/models/list_prepayments_filter.rb +2 -2
- data/lib/advanced_billing/models/list_price_points_filter.rb +2 -2
- data/lib/advanced_billing/models/list_product_price_points_response.rb +2 -2
- data/lib/advanced_billing/models/list_products_filter.rb +2 -2
- data/lib/advanced_billing/models/list_products_include.rb +2 -2
- data/lib/advanced_billing/models/list_products_price_points_include.rb +2 -2
- data/lib/advanced_billing/models/list_proforma_invoices_meta.rb +2 -2
- data/lib/advanced_billing/models/list_proforma_invoices_response.rb +2 -2
- data/lib/advanced_billing/models/list_public_keys_meta.rb +2 -2
- data/lib/advanced_billing/models/list_public_keys_response.rb +2 -2
- data/lib/advanced_billing/models/list_sale_rep_item.rb +2 -2
- data/lib/advanced_billing/models/list_segments_filter.rb +2 -2
- data/lib/advanced_billing/models/list_segments_response.rb +2 -2
- data/lib/advanced_billing/models/list_service_credits_response.rb +82 -0
- data/lib/advanced_billing/models/list_subcription_group_prepayment_item.rb +2 -2
- data/lib/advanced_billing/models/list_subscription_components_filter.rb +2 -2
- data/lib/advanced_billing/models/list_subscription_components_for_site_filter.rb +2 -2
- data/lib/advanced_billing/models/list_subscription_components_include.rb +2 -2
- data/lib/advanced_billing/models/list_subscription_components_response.rb +2 -2
- data/lib/advanced_billing/models/list_subscription_components_sort.rb +2 -2
- data/lib/advanced_billing/models/list_subscription_group_prepayment.rb +2 -2
- data/lib/advanced_billing/models/list_subscription_group_prepayment_response.rb +2 -2
- data/lib/advanced_billing/models/list_subscription_groups_item.rb +2 -2
- data/lib/advanced_billing/models/list_subscription_groups_meta.rb +2 -2
- data/lib/advanced_billing/models/list_subscription_groups_response.rb +2 -2
- data/lib/advanced_billing/models/metadata.rb +2 -2
- data/lib/advanced_billing/models/metafield.rb +2 -2
- data/lib/advanced_billing/models/metafield_input.rb +2 -2
- data/lib/advanced_billing/models/metafield_scope.rb +2 -2
- data/lib/advanced_billing/models/metered_component.rb +2 -2
- data/lib/advanced_billing/models/metered_usage.rb +2 -2
- data/lib/advanced_billing/models/movement.rb +2 -2
- data/lib/advanced_billing/models/movement_line_item.rb +2 -2
- data/lib/advanced_billing/models/mrr.rb +2 -2
- data/lib/advanced_billing/models/mrr_movement.rb +2 -2
- data/lib/advanced_billing/models/mrr_response.rb +2 -2
- data/lib/advanced_billing/models/multi_invoice_payment.rb +2 -2
- data/lib/advanced_billing/models/multi_invoice_payment_response.rb +2 -2
- data/lib/advanced_billing/models/nested_subscription_group.rb +2 -2
- data/lib/advanced_billing/models/net_terms.rb +2 -2
- data/lib/advanced_billing/models/offer.rb +2 -2
- data/lib/advanced_billing/models/offer_discount.rb +2 -2
- data/lib/advanced_billing/models/offer_item.rb +2 -2
- data/lib/advanced_billing/models/offer_response.rb +2 -2
- data/lib/advanced_billing/models/offer_signup_page.rb +2 -2
- data/lib/advanced_billing/models/ok_response.rb +2 -2
- data/lib/advanced_billing/models/on_off_component.rb +2 -2
- data/lib/advanced_billing/models/organization_address.rb +2 -2
- data/lib/advanced_billing/models/origin_invoice.rb +2 -2
- data/lib/advanced_billing/models/overage_pricing.rb +2 -2
- data/lib/advanced_billing/models/override_subscription.rb +5 -3
- data/lib/advanced_billing/models/override_subscription_request.rb +2 -2
- data/lib/advanced_billing/models/paginated_metadata.rb +2 -2
- data/lib/advanced_billing/models/paid_invoice.rb +2 -2
- data/lib/advanced_billing/models/pause_request.rb +2 -2
- data/lib/advanced_billing/models/pay_pal_vault.rb +2 -2
- data/lib/advanced_billing/models/payer_attributes.rb +2 -2
- data/lib/advanced_billing/models/payer_error.rb +2 -2
- data/lib/advanced_billing/models/payment_collection_method_changed.rb +2 -2
- data/lib/advanced_billing/models/payment_for_allocation.rb +2 -2
- data/lib/advanced_billing/models/payment_method_apple_pay.rb +2 -2
- data/lib/advanced_billing/models/payment_method_bank_account.rb +2 -2
- data/lib/advanced_billing/models/payment_method_credit_card.rb +2 -2
- data/lib/advanced_billing/models/payment_method_external.rb +2 -2
- data/lib/advanced_billing/models/payment_method_paypal.rb +2 -2
- data/lib/advanced_billing/models/payment_profile_attributes.rb +2 -2
- data/lib/advanced_billing/models/payment_profile_response.rb +2 -2
- data/lib/advanced_billing/models/payment_related_events.rb +2 -2
- data/lib/advanced_billing/models/payment_type.rb +2 -2
- data/lib/advanced_billing/models/paypal_payment_profile.rb +43 -6
- data/lib/advanced_billing/models/pending_cancellation_change.rb +2 -2
- data/lib/advanced_billing/models/portal_management_link.rb +2 -2
- data/lib/advanced_billing/models/prepaid_configuration.rb +2 -2
- data/lib/advanced_billing/models/prepaid_configuration_response.rb +2 -2
- data/lib/advanced_billing/models/prepaid_product_price_point_filter.rb +2 -2
- data/lib/advanced_billing/models/prepaid_subscription_balance_changed.rb +2 -2
- data/lib/advanced_billing/models/prepaid_usage.rb +2 -2
- data/lib/advanced_billing/models/prepaid_usage_allocation_detail.rb +2 -2
- data/lib/advanced_billing/models/prepaid_usage_component.rb +2 -2
- data/lib/advanced_billing/models/prepayment.rb +2 -2
- data/lib/advanced_billing/models/prepayment_account_balance_changed.rb +2 -2
- data/lib/advanced_billing/models/prepayment_method.rb +2 -2
- data/lib/advanced_billing/models/prepayment_response.rb +2 -2
- data/lib/advanced_billing/models/prepayments_response.rb +2 -2
- data/lib/advanced_billing/models/preview_allocations_request.rb +2 -2
- data/lib/advanced_billing/models/price.rb +2 -2
- data/lib/advanced_billing/models/price_point_type.rb +2 -2
- data/lib/advanced_billing/models/pricing_scheme.rb +2 -2
- data/lib/advanced_billing/models/product.rb +2 -2
- data/lib/advanced_billing/models/product_family.rb +2 -2
- data/lib/advanced_billing/models/product_family_response.rb +2 -2
- data/lib/advanced_billing/models/product_price_point.rb +2 -2
- data/lib/advanced_billing/models/product_price_point_errors.rb +2 -2
- data/lib/advanced_billing/models/product_price_point_response.rb +2 -2
- data/lib/advanced_billing/models/product_response.rb +2 -2
- data/lib/advanced_billing/models/proforma_error.rb +2 -2
- data/lib/advanced_billing/models/proforma_invoice.rb +2 -2
- data/lib/advanced_billing/models/proforma_invoice_credit.rb +2 -2
- data/lib/advanced_billing/models/proforma_invoice_discount.rb +2 -2
- data/lib/advanced_billing/models/proforma_invoice_discount_source_type.rb +2 -2
- data/lib/advanced_billing/models/proforma_invoice_issued.rb +2 -2
- data/lib/advanced_billing/models/proforma_invoice_payment.rb +2 -2
- data/lib/advanced_billing/models/proforma_invoice_role.rb +2 -2
- data/lib/advanced_billing/models/proforma_invoice_status.rb +2 -2
- data/lib/advanced_billing/models/proforma_invoice_tax.rb +2 -2
- data/lib/advanced_billing/models/proforma_invoice_tax_source_type.rb +2 -2
- data/lib/advanced_billing/models/proration.rb +2 -2
- data/lib/advanced_billing/models/public_key.rb +2 -2
- data/lib/advanced_billing/models/public_signup_page.rb +2 -2
- data/lib/advanced_billing/models/quantity_based_component.rb +2 -2
- data/lib/advanced_billing/models/reactivate_subscription_group_request.rb +2 -2
- data/lib/advanced_billing/models/reactivate_subscription_group_response.rb +2 -2
- data/lib/advanced_billing/models/reactivate_subscription_request.rb +2 -2
- data/lib/advanced_billing/models/reactivation_billing.rb +2 -2
- data/lib/advanced_billing/models/reactivation_charge.rb +2 -2
- data/lib/advanced_billing/models/reason_code.rb +2 -2
- data/lib/advanced_billing/models/reason_code_response.rb +2 -2
- data/lib/advanced_billing/models/record_payment_request.rb +2 -2
- data/lib/advanced_billing/models/record_payment_response.rb +2 -2
- data/lib/advanced_billing/models/recurring_scheme.rb +2 -2
- data/lib/advanced_billing/models/referral_code.rb +2 -2
- data/lib/advanced_billing/models/referral_validation_response.rb +2 -2
- data/lib/advanced_billing/models/refund_consolidated_invoice.rb +2 -2
- data/lib/advanced_billing/models/refund_invoice.rb +2 -2
- data/lib/advanced_billing/models/refund_invoice_event.rb +2 -2
- data/lib/advanced_billing/models/refund_invoice_event_data.rb +2 -2
- data/lib/advanced_billing/models/refund_invoice_request.rb +2 -2
- data/lib/advanced_billing/models/refund_prepayment.rb +2 -2
- data/lib/advanced_billing/models/refund_prepayment_base_refund_error.rb +2 -2
- data/lib/advanced_billing/models/refund_prepayment_request.rb +2 -2
- data/lib/advanced_billing/models/refund_success.rb +2 -2
- data/lib/advanced_billing/models/remove_payment_event.rb +2 -2
- data/lib/advanced_billing/models/remove_payment_event_data.rb +2 -2
- data/lib/advanced_billing/models/renewal_preview.rb +2 -2
- data/lib/advanced_billing/models/renewal_preview_component.rb +2 -2
- data/lib/advanced_billing/models/renewal_preview_line_item.rb +2 -2
- data/lib/advanced_billing/models/renewal_preview_request.rb +2 -2
- data/lib/advanced_billing/models/renewal_preview_response.rb +2 -2
- data/lib/advanced_billing/models/replay_webhooks_request.rb +2 -2
- data/lib/advanced_billing/models/replay_webhooks_response.rb +2 -2
- data/lib/advanced_billing/models/resent_invitation.rb +2 -2
- data/lib/advanced_billing/models/resource_type.rb +2 -2
- data/lib/advanced_billing/models/restriction_type.rb +2 -2
- data/lib/advanced_billing/models/resume_options.rb +2 -2
- data/lib/advanced_billing/models/resumption_charge.rb +2 -2
- data/lib/advanced_billing/models/revoked_invitation.rb +2 -2
- data/lib/advanced_billing/models/sale_rep.rb +2 -2
- data/lib/advanced_billing/models/sale_rep_item_mrr.rb +2 -2
- data/lib/advanced_billing/models/sale_rep_settings.rb +2 -2
- data/lib/advanced_billing/models/sale_rep_subscription.rb +2 -2
- data/lib/advanced_billing/models/segment.rb +2 -2
- data/lib/advanced_billing/models/segment_price.rb +2 -2
- data/lib/advanced_billing/models/segment_response.rb +2 -2
- data/lib/advanced_billing/models/send_invoice_request.rb +2 -2
- data/lib/advanced_billing/models/service_credit.rb +2 -2
- data/lib/advanced_billing/models/service_credit1.rb +161 -0
- data/lib/advanced_billing/models/service_credit_response.rb +2 -2
- data/lib/advanced_billing/models/service_credit_type.rb +2 -2
- data/lib/advanced_billing/models/signup_proforma_preview.rb +2 -2
- data/lib/advanced_billing/models/signup_proforma_preview_response.rb +2 -2
- data/lib/advanced_billing/models/site.rb +2 -2
- data/lib/advanced_billing/models/site_response.rb +2 -2
- data/lib/advanced_billing/models/site_statistics.rb +2 -2
- data/lib/advanced_billing/models/site_summary.rb +2 -2
- data/lib/advanced_billing/models/snap_day.rb +2 -2
- data/lib/advanced_billing/models/sorting_direction.rb +2 -2
- data/lib/advanced_billing/models/subscription.rb +2 -2
- data/lib/advanced_billing/models/subscription_component.rb +2 -2
- data/lib/advanced_billing/models/subscription_component_allocation_error_item.rb +2 -2
- data/lib/advanced_billing/models/subscription_component_response.rb +2 -2
- data/lib/advanced_billing/models/subscription_component_subscription.rb +2 -2
- data/lib/advanced_billing/models/subscription_custom_price.rb +2 -2
- data/lib/advanced_billing/models/subscription_date_field.rb +2 -2
- data/lib/advanced_billing/models/subscription_filter.rb +2 -2
- data/lib/advanced_billing/models/subscription_group.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_balances.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_bank_account.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_component_custom_price.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_credit_card.rb +63 -61
- data/lib/advanced_billing/models/subscription_group_customer.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_include.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_item.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_members_array_error.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_payment_profile.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_prepayment.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_prepayment_method.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_prepayment_request.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_prepayment_response.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_response.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_signup.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_signup_component.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_signup_error.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_signup_event_data.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_signup_failure_data.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_signup_item.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_signup_request.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_signup_response.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_single_error.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_subscription_error.rb +2 -2
- data/lib/advanced_billing/models/subscription_group_update_error.rb +2 -2
- data/lib/advanced_billing/models/subscription_groups_list_include.rb +2 -2
- data/lib/advanced_billing/models/subscription_include.rb +2 -2
- data/lib/advanced_billing/models/subscription_included_coupon.rb +2 -2
- data/lib/advanced_billing/models/subscription_list_date_field.rb +2 -2
- data/lib/advanced_billing/models/subscription_list_include.rb +2 -2
- data/lib/advanced_billing/models/subscription_migration_preview.rb +2 -2
- data/lib/advanced_billing/models/subscription_migration_preview_options.rb +2 -2
- data/lib/advanced_billing/models/subscription_migration_preview_request.rb +2 -2
- data/lib/advanced_billing/models/subscription_migration_preview_response.rb +2 -2
- data/lib/advanced_billing/models/subscription_mrr.rb +2 -2
- data/lib/advanced_billing/models/subscription_mrr_breakout.rb +2 -2
- data/lib/advanced_billing/models/subscription_mrr_response.rb +2 -2
- data/lib/advanced_billing/models/subscription_note.rb +2 -2
- data/lib/advanced_billing/models/subscription_note_response.rb +2 -2
- data/lib/advanced_billing/models/subscription_preview.rb +2 -2
- data/lib/advanced_billing/models/subscription_preview_response.rb +2 -2
- data/lib/advanced_billing/models/subscription_product_change.rb +2 -2
- data/lib/advanced_billing/models/subscription_product_migration.rb +2 -2
- data/lib/advanced_billing/models/subscription_product_migration_request.rb +2 -2
- data/lib/advanced_billing/models/subscription_purge_type.rb +2 -2
- data/lib/advanced_billing/models/subscription_response.rb +2 -2
- data/lib/advanced_billing/models/subscription_sort.rb +2 -2
- data/lib/advanced_billing/models/subscription_state.rb +2 -2
- data/lib/advanced_billing/models/subscription_state_change.rb +2 -2
- data/lib/advanced_billing/models/subscription_state_filter.rb +2 -2
- data/lib/advanced_billing/models/tax_configuration.rb +2 -2
- data/lib/advanced_billing/models/tax_configuration_kind.rb +2 -2
- data/lib/advanced_billing/models/tax_destination_address.rb +2 -2
- data/lib/advanced_billing/models/too_many_management_link_requests.rb +2 -2
- data/lib/advanced_billing/models/update_allocation_expiration_date.rb +2 -2
- data/lib/advanced_billing/models/update_component.rb +2 -2
- data/lib/advanced_billing/models/update_component_price_point.rb +2 -2
- data/lib/advanced_billing/models/update_component_price_point_request.rb +2 -2
- data/lib/advanced_billing/models/update_component_request.rb +2 -2
- data/lib/advanced_billing/models/update_coupon_currency.rb +2 -2
- data/lib/advanced_billing/models/update_currency_price.rb +2 -2
- data/lib/advanced_billing/models/update_currency_prices_request.rb +2 -2
- data/lib/advanced_billing/models/update_customer.rb +2 -2
- data/lib/advanced_billing/models/update_customer_request.rb +2 -2
- data/lib/advanced_billing/models/update_metadata.rb +2 -2
- data/lib/advanced_billing/models/update_metadata_request.rb +2 -2
- data/lib/advanced_billing/models/update_metafield.rb +2 -2
- data/lib/advanced_billing/models/update_metafields_request.rb +2 -2
- data/lib/advanced_billing/models/update_payment_profile.rb +2 -2
- data/lib/advanced_billing/models/update_payment_profile_request.rb +2 -2
- data/lib/advanced_billing/models/update_price.rb +2 -2
- data/lib/advanced_billing/models/update_product_price_point.rb +2 -2
- data/lib/advanced_billing/models/update_product_price_point_request.rb +2 -2
- data/lib/advanced_billing/models/update_reason_code.rb +2 -2
- data/lib/advanced_billing/models/update_reason_code_request.rb +2 -2
- data/lib/advanced_billing/models/update_segment.rb +2 -2
- data/lib/advanced_billing/models/update_segment_request.rb +2 -2
- data/lib/advanced_billing/models/update_subscription.rb +108 -27
- data/lib/advanced_billing/models/update_subscription_component.rb +2 -2
- data/lib/advanced_billing/models/update_subscription_group.rb +2 -2
- data/lib/advanced_billing/models/update_subscription_group_request.rb +2 -2
- data/lib/advanced_billing/models/update_subscription_note.rb +2 -2
- data/lib/advanced_billing/models/update_subscription_note_request.rb +2 -2
- data/lib/advanced_billing/models/update_subscription_request.rb +2 -2
- data/lib/advanced_billing/models/upsert_prepaid_configuration.rb +2 -2
- data/lib/advanced_billing/models/upsert_prepaid_configuration_request.rb +2 -2
- data/lib/advanced_billing/models/usage.rb +2 -2
- data/lib/advanced_billing/models/usage_response.rb +2 -2
- data/lib/advanced_billing/models/void_invoice.rb +2 -2
- data/lib/advanced_billing/models/void_invoice_event.rb +2 -2
- data/lib/advanced_billing/models/void_invoice_event_data.rb +2 -2
- data/lib/advanced_billing/models/void_invoice_request.rb +2 -2
- data/lib/advanced_billing/models/void_remainder_event.rb +2 -2
- data/lib/advanced_billing/models/void_remainder_event_data.rb +2 -2
- data/lib/advanced_billing/models/webhook.rb +2 -2
- data/lib/advanced_billing/models/webhook_order.rb +2 -2
- data/lib/advanced_billing/models/webhook_response.rb +2 -2
- data/lib/advanced_billing/models/webhook_status.rb +2 -2
- data/lib/advanced_billing/models/webhook_subscription.rb +2 -2
- data/lib/advanced_billing/utilities/date_time_helper.rb +2 -2
- data/lib/advanced_billing/utilities/file_wrapper.rb +2 -2
- data/lib/advanced_billing/utilities/union_type_lookup.rb +2 -2
- data/lib/advanced_billing.rb +5 -3
- metadata +6 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
# advanced_billing
|
2
2
|
#
|
3
|
-
# This file was automatically generated
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated for Maxio by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module AdvancedBilling
|
7
7
|
# CustomFieldsController
|
@@ -34,7 +34,7 @@ module AdvancedBilling
|
|
34
34
|
# another 100 for Customer.
|
35
35
|
# ### Metafields "On-the-Fly"
|
36
36
|
# It is possible to create Metafields “on the fly” when you create your
|
37
|
-
# Metadata – if a non-
|
37
|
+
# Metadata – if a non-existent name is passed when creating Metadata, a
|
38
38
|
# Metafield for that key will be automatically created. The Metafield API,
|
39
39
|
# however, gives you more control over your “keys”.
|
40
40
|
# ### Metafield Scope Warning
|
@@ -43,11 +43,12 @@ module AdvancedBilling
|
|
43
43
|
# update is sent it will overwrite the current configuration**.
|
44
44
|
# @param [ResourceType] resource_type Required parameter: the resource type
|
45
45
|
# to which the metafields belong
|
46
|
-
# @param [CreateMetafieldsRequest] body Optional parameter:
|
47
|
-
#
|
46
|
+
# @param [CreateMetafieldsRequest] body Optional parameter: TODO: type
|
47
|
+
# description here
|
48
|
+
# @return [Array[Metafield]] Response from the API call.
|
48
49
|
def create_metafields(resource_type,
|
49
50
|
body: nil)
|
50
|
-
|
51
|
+
@api_call
|
51
52
|
.request(new_request_builder(HttpMethodEnum::POST,
|
52
53
|
'/{resource_type}/metafields.json',
|
53
54
|
Server::PRODUCTION)
|
@@ -89,9 +90,9 @@ module AdvancedBilling
|
|
89
90
|
# Use in query `per_page=200`.
|
90
91
|
# @param [SortingDirection] direction Optional parameter: Controls the order
|
91
92
|
# in which results are returned. Use in query `direction=asc`.
|
92
|
-
# @return [ListMetafieldsResponse]
|
93
|
+
# @return [ListMetafieldsResponse] Response from the API call.
|
93
94
|
def list_metafields(options = {})
|
94
|
-
|
95
|
+
@api_call
|
95
96
|
.request(new_request_builder(HttpMethodEnum::GET,
|
96
97
|
'/{resource_type}/metafields.json',
|
97
98
|
Server::PRODUCTION)
|
@@ -114,11 +115,12 @@ module AdvancedBilling
|
|
114
115
|
# can be populated with metadata after the fact.
|
115
116
|
# @param [ResourceType] resource_type Required parameter: the resource type
|
116
117
|
# to which the metafields belong
|
117
|
-
# @param [UpdateMetafieldsRequest] body Optional parameter:
|
118
|
-
#
|
118
|
+
# @param [UpdateMetafieldsRequest] body Optional parameter: TODO: type
|
119
|
+
# description here
|
120
|
+
# @return [Array[Metafield]] Response from the API call.
|
119
121
|
def update_metafield(resource_type,
|
120
122
|
body: nil)
|
121
|
-
|
123
|
+
@api_call
|
122
124
|
.request(new_request_builder(HttpMethodEnum::PUT,
|
123
125
|
'/{resource_type}/metafields.json',
|
124
126
|
Server::PRODUCTION)
|
@@ -149,10 +151,10 @@ module AdvancedBilling
|
|
149
151
|
# to which the metafields belong
|
150
152
|
# @param [String] name Optional parameter: The name of the metafield to be
|
151
153
|
# deleted
|
152
|
-
# @return [void]
|
154
|
+
# @return [void] Response from the API call.
|
153
155
|
def delete_metafield(resource_type,
|
154
156
|
name: nil)
|
155
|
-
|
157
|
+
@api_call
|
156
158
|
.request(new_request_builder(HttpMethodEnum::DELETE,
|
157
159
|
'/{resource_type}/metafields.json',
|
158
160
|
Server::PRODUCTION)
|
@@ -201,12 +203,13 @@ module AdvancedBilling
|
|
201
203
|
# to which the metafields belong
|
202
204
|
# @param [Integer] resource_id Required parameter: The Advanced Billing id
|
203
205
|
# of the customer or the subscription for which the metadata applies
|
204
|
-
# @param [CreateMetadataRequest] body Optional parameter:
|
205
|
-
#
|
206
|
+
# @param [CreateMetadataRequest] body Optional parameter: TODO: type
|
207
|
+
# description here
|
208
|
+
# @return [Array[Metadata]] Response from the API call.
|
206
209
|
def create_metadata(resource_type,
|
207
210
|
resource_id,
|
208
211
|
body: nil)
|
209
|
-
|
212
|
+
@api_call
|
210
213
|
.request(new_request_builder(HttpMethodEnum::POST,
|
211
214
|
'/{resource_type}/{resource_id}/metadata.json',
|
212
215
|
Server::PRODUCTION)
|
@@ -252,9 +255,9 @@ module AdvancedBilling
|
|
252
255
|
# many records to fetch in each request. Default value is 20. The maximum
|
253
256
|
# allowed values is 200; any per_page value over 200 will be changed to 200.
|
254
257
|
# Use in query `per_page=200`.
|
255
|
-
# @return [PaginatedMetadata]
|
258
|
+
# @return [PaginatedMetadata] Response from the API call.
|
256
259
|
def list_metadata(options = {})
|
257
|
-
|
260
|
+
@api_call
|
258
261
|
.request(new_request_builder(HttpMethodEnum::GET,
|
259
262
|
'/{resource_type}/{resource_id}/metadata.json',
|
260
263
|
Server::PRODUCTION)
|
@@ -280,12 +283,13 @@ module AdvancedBilling
|
|
280
283
|
# to which the metafields belong
|
281
284
|
# @param [Integer] resource_id Required parameter: The Advanced Billing id
|
282
285
|
# of the customer or the subscription for which the metadata applies
|
283
|
-
# @param [UpdateMetadataRequest] body Optional parameter:
|
284
|
-
#
|
286
|
+
# @param [UpdateMetadataRequest] body Optional parameter: TODO: type
|
287
|
+
# description here
|
288
|
+
# @return [Array[Metadata]] Response from the API call.
|
285
289
|
def update_metadata(resource_type,
|
286
290
|
resource_id,
|
287
291
|
body: nil)
|
288
|
-
|
292
|
+
@api_call
|
289
293
|
.request(new_request_builder(HttpMethodEnum::PUT,
|
290
294
|
'/{resource_type}/{resource_id}/metadata.json',
|
291
295
|
Server::PRODUCTION)
|
@@ -338,12 +342,12 @@ module AdvancedBilling
|
|
338
342
|
# @param [Array[String]] names Optional parameter: Names of fields to be
|
339
343
|
# removed. Use in query:
|
340
344
|
# `names[]=field1&names[]=my-field&names[]=another-field`.
|
341
|
-
# @return [void]
|
345
|
+
# @return [void] Response from the API call.
|
342
346
|
def delete_metadata(resource_type,
|
343
347
|
resource_id,
|
344
348
|
name: nil,
|
345
349
|
names: nil)
|
346
|
-
|
350
|
+
@api_call
|
347
351
|
.request(new_request_builder(HttpMethodEnum::DELETE,
|
348
352
|
'/{resource_type}/{resource_id}/metadata.json',
|
349
353
|
Server::PRODUCTION)
|
@@ -417,9 +421,9 @@ module AdvancedBilling
|
|
417
421
|
# `resource_ids[]=122&resource_ids[]=123&resource_ids[]=124`.
|
418
422
|
# @param [SortingDirection] direction Optional parameter: Controls the order
|
419
423
|
# in which results are returned. Use in query `direction=asc`.
|
420
|
-
# @return [PaginatedMetadata]
|
424
|
+
# @return [PaginatedMetadata] Response from the API call.
|
421
425
|
def list_metadata_for_resource_type(options = {})
|
422
|
-
|
426
|
+
@api_call
|
423
427
|
.request(new_request_builder(HttpMethodEnum::GET,
|
424
428
|
'/{resource_type}/metadata.json',
|
425
429
|
Server::PRODUCTION)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# advanced_billing
|
2
2
|
#
|
3
|
-
# This file was automatically generated
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated for Maxio by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module AdvancedBilling
|
7
7
|
# CustomersController
|
@@ -41,10 +41,11 @@ module AdvancedBilling
|
|
41
41
|
# For more: [Customer
|
42
42
|
# Locale](https://maxio.zendesk.com/hc/en-us/articles/24286672013709-Custome
|
43
43
|
# r-Locale)
|
44
|
-
# @param [CreateCustomerRequest] body Optional parameter:
|
45
|
-
#
|
44
|
+
# @param [CreateCustomerRequest] body Optional parameter: TODO: type
|
45
|
+
# description here
|
46
|
+
# @return [CustomerResponse] Response from the API call.
|
46
47
|
def create_customer(body: nil)
|
47
|
-
|
48
|
+
@api_call
|
48
49
|
.request(new_request_builder(HttpMethodEnum::POST,
|
49
50
|
'/customers.json',
|
50
51
|
Server::PRODUCTION)
|
@@ -112,9 +113,9 @@ module AdvancedBilling
|
|
112
113
|
# be used. If provided, this parameter will be used instead of end_date.
|
113
114
|
# @param [String] q Optional parameter: A search query by which to filter
|
114
115
|
# customers (can be an email, an ID, a reference, organization)
|
115
|
-
# @return [Array[CustomerResponse]]
|
116
|
+
# @return [Array[CustomerResponse]] Response from the API call.
|
116
117
|
def list_customers(options = {})
|
117
|
-
|
118
|
+
@api_call
|
118
119
|
.request(new_request_builder(HttpMethodEnum::GET,
|
119
120
|
'/customers.json',
|
120
121
|
Server::PRODUCTION)
|
@@ -140,9 +141,9 @@ module AdvancedBilling
|
|
140
141
|
# Billing-generated Customer ID.
|
141
142
|
# @param [Integer] id Required parameter: The Advanced Billing id of the
|
142
143
|
# customer
|
143
|
-
# @return [CustomerResponse]
|
144
|
+
# @return [CustomerResponse] Response from the API call.
|
144
145
|
def read_customer(id)
|
145
|
-
|
146
|
+
@api_call
|
146
147
|
.request(new_request_builder(HttpMethodEnum::GET,
|
147
148
|
'/customers/{id}.json',
|
148
149
|
Server::PRODUCTION)
|
@@ -160,11 +161,12 @@ module AdvancedBilling
|
|
160
161
|
# This method allows to update the Customer.
|
161
162
|
# @param [Integer] id Required parameter: The Advanced Billing id of the
|
162
163
|
# customer
|
163
|
-
# @param [UpdateCustomerRequest] body Optional parameter:
|
164
|
-
#
|
164
|
+
# @param [UpdateCustomerRequest] body Optional parameter: TODO: type
|
165
|
+
# description here
|
166
|
+
# @return [CustomerResponse] Response from the API call.
|
165
167
|
def update_customer(id,
|
166
168
|
body: nil)
|
167
|
-
|
169
|
+
@api_call
|
168
170
|
.request(new_request_builder(HttpMethodEnum::PUT,
|
169
171
|
'/customers/{id}.json',
|
170
172
|
Server::PRODUCTION)
|
@@ -192,9 +194,9 @@ module AdvancedBilling
|
|
192
194
|
# This method allows you to delete the Customer.
|
193
195
|
# @param [Integer] id Required parameter: The Advanced Billing id of the
|
194
196
|
# customer
|
195
|
-
# @return [void]
|
197
|
+
# @return [void] Response from the API call.
|
196
198
|
def delete_customer(id)
|
197
|
-
|
199
|
+
@api_call
|
198
200
|
.request(new_request_builder(HttpMethodEnum::DELETE,
|
199
201
|
'/customers/{id}.json',
|
200
202
|
Server::PRODUCTION)
|
@@ -210,9 +212,9 @@ module AdvancedBilling
|
|
210
212
|
# Use this method to return the customer object if you have the unique
|
211
213
|
# **Reference ID (Your App)** value handy. It will return a single match.
|
212
214
|
# @param [String] reference Required parameter: Customer reference
|
213
|
-
# @return [CustomerResponse]
|
215
|
+
# @return [CustomerResponse] Response from the API call.
|
214
216
|
def read_customer_by_reference(reference)
|
215
|
-
|
217
|
+
@api_call
|
216
218
|
.request(new_request_builder(HttpMethodEnum::GET,
|
217
219
|
'/customers/lookup.json',
|
218
220
|
Server::PRODUCTION)
|
@@ -229,9 +231,9 @@ module AdvancedBilling
|
|
229
231
|
# This method lists all subscriptions that belong to a customer.
|
230
232
|
# @param [Integer] customer_id Required parameter: The Chargify id of the
|
231
233
|
# customer
|
232
|
-
# @return [Array[SubscriptionResponse]]
|
234
|
+
# @return [Array[SubscriptionResponse]] Response from the API call.
|
233
235
|
def list_customer_subscriptions(customer_id)
|
234
|
-
|
236
|
+
@api_call
|
235
237
|
.request(new_request_builder(HttpMethodEnum::GET,
|
236
238
|
'/customers/{customer_id}/subscriptions.json',
|
237
239
|
Server::PRODUCTION)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# advanced_billing
|
2
2
|
#
|
3
|
-
# This file was automatically generated
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated for Maxio by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module AdvancedBilling
|
7
7
|
# EventsBasedBillingSegmentsController
|
@@ -16,12 +16,13 @@ module AdvancedBilling
|
|
16
16
|
# Component
|
17
17
|
# @param [String] price_point_id Required parameter: ID or Handle for the
|
18
18
|
# Price Point belonging to the Component
|
19
|
-
# @param [CreateSegmentRequest] body Optional parameter:
|
20
|
-
#
|
19
|
+
# @param [CreateSegmentRequest] body Optional parameter: TODO: type
|
20
|
+
# description here
|
21
|
+
# @return [SegmentResponse] Response from the API call.
|
21
22
|
def create_segment(component_id,
|
22
23
|
price_point_id,
|
23
24
|
body: nil)
|
24
|
-
|
25
|
+
@api_call
|
25
26
|
.request(new_request_builder(HttpMethodEnum::POST,
|
26
27
|
'/components/{component_id}/price_points/{price_point_id}/segments.json',
|
27
28
|
Server::PRODUCTION)
|
@@ -73,9 +74,9 @@ module AdvancedBilling
|
|
73
74
|
# Use in query `per_page=200`.
|
74
75
|
# @param [ListSegmentsFilter] filter Optional parameter: Filter to use for
|
75
76
|
# List Segments for a Price Point operation
|
76
|
-
# @return [ListSegmentsResponse]
|
77
|
+
# @return [ListSegmentsResponse] Response from the API call.
|
77
78
|
def list_segments_for_price_point(options = {})
|
78
|
-
|
79
|
+
@api_call
|
79
80
|
.request(new_request_builder(HttpMethodEnum::GET,
|
80
81
|
'/components/{component_id}/price_points/{price_point_id}/segments.json',
|
81
82
|
Server::PRODUCTION)
|
@@ -113,13 +114,14 @@ module AdvancedBilling
|
|
113
114
|
# @param [String] price_point_id Required parameter: ID or Handle of the
|
114
115
|
# Price Point belonging to the Component
|
115
116
|
# @param [Float] id Required parameter: The ID of the Segment
|
116
|
-
# @param [UpdateSegmentRequest] body Optional parameter:
|
117
|
-
#
|
117
|
+
# @param [UpdateSegmentRequest] body Optional parameter: TODO: type
|
118
|
+
# description here
|
119
|
+
# @return [SegmentResponse] Response from the API call.
|
118
120
|
def update_segment(component_id,
|
119
121
|
price_point_id,
|
120
122
|
id,
|
121
123
|
body: nil)
|
122
|
-
|
124
|
+
@api_call
|
123
125
|
.request(new_request_builder(HttpMethodEnum::PUT,
|
124
126
|
'/components/{component_id}/price_points/{price_point_id}/segments/{id}.json',
|
125
127
|
Server::PRODUCTION)
|
@@ -158,11 +160,11 @@ module AdvancedBilling
|
|
158
160
|
# @param [String] price_point_id Required parameter: ID or Handle of the
|
159
161
|
# Price Point belonging to the Component
|
160
162
|
# @param [Float] id Required parameter: The ID of the Segment
|
161
|
-
# @return [void]
|
163
|
+
# @return [void] Response from the API call.
|
162
164
|
def delete_segment(component_id,
|
163
165
|
price_point_id,
|
164
166
|
id)
|
165
|
-
|
167
|
+
@api_call
|
166
168
|
.request(new_request_builder(HttpMethodEnum::DELETE,
|
167
169
|
'/components/{component_id}/price_points/{price_point_id}/segments/{id}.json',
|
168
170
|
Server::PRODUCTION)
|
@@ -200,12 +202,13 @@ module AdvancedBilling
|
|
200
202
|
# Component
|
201
203
|
# @param [String] price_point_id Required parameter: ID or Handle for the
|
202
204
|
# Price Point belonging to the Component
|
203
|
-
# @param [BulkCreateSegments] body Optional parameter:
|
204
|
-
#
|
205
|
+
# @param [BulkCreateSegments] body Optional parameter: TODO: type
|
206
|
+
# description here
|
207
|
+
# @return [ListSegmentsResponse] Response from the API call.
|
205
208
|
def bulk_create_segments(component_id,
|
206
209
|
price_point_id,
|
207
210
|
body: nil)
|
208
|
-
|
211
|
+
@api_call
|
209
212
|
.request(new_request_builder(HttpMethodEnum::POST,
|
210
213
|
'/components/{component_id}/price_points/{price_point_id}/segments/bulk.json',
|
211
214
|
Server::PRODUCTION)
|
@@ -245,12 +248,13 @@ module AdvancedBilling
|
|
245
248
|
# Component
|
246
249
|
# @param [String] price_point_id Required parameter: ID or Handle for the
|
247
250
|
# Price Point belonging to the Component
|
248
|
-
# @param [BulkUpdateSegments] body Optional parameter:
|
249
|
-
#
|
251
|
+
# @param [BulkUpdateSegments] body Optional parameter: TODO: type
|
252
|
+
# description here
|
253
|
+
# @return [ListSegmentsResponse] Response from the API call.
|
250
254
|
def bulk_update_segments(component_id,
|
251
255
|
price_point_id,
|
252
256
|
body: nil)
|
253
|
-
|
257
|
+
@api_call
|
254
258
|
.request(new_request_builder(HttpMethodEnum::PUT,
|
255
259
|
'/components/{component_id}/price_points/{price_point_id}/segments/bulk.json',
|
256
260
|
Server::PRODUCTION)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# advanced_billing
|
2
2
|
#
|
3
|
-
# This file was automatically generated
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated for Maxio by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module AdvancedBilling
|
7
7
|
# EventsController
|
@@ -114,9 +114,9 @@ module AdvancedBilling
|
|
114
114
|
# components with a timestamp at or before exact time provided in query. You
|
115
115
|
# can specify timezone in query - otherwise your site's time zone will be
|
116
116
|
# used. If provided, this parameter will be used instead of end_date.
|
117
|
-
# @return [Array[EventResponse]]
|
117
|
+
# @return [Array[EventResponse]] Response from the API call.
|
118
118
|
def list_events(options = {})
|
119
|
-
|
119
|
+
@api_call
|
120
120
|
.request(new_request_builder(HttpMethodEnum::GET,
|
121
121
|
'/events.json',
|
122
122
|
Server::PRODUCTION)
|
@@ -174,9 +174,9 @@ module AdvancedBilling
|
|
174
174
|
# @param [Array[EventKey]] filter Optional parameter: You can pass multiple
|
175
175
|
# event keys after comma. Use in query
|
176
176
|
# `filter=signup_success,payment_success`.
|
177
|
-
# @return [Array[EventResponse]]
|
177
|
+
# @return [Array[EventResponse]] Response from the API call.
|
178
178
|
def list_subscription_events(options = {})
|
179
|
-
|
179
|
+
@api_call
|
180
180
|
.request(new_request_builder(HttpMethodEnum::GET,
|
181
181
|
'/subscriptions/{subscription_id}/events.json',
|
182
182
|
Server::PRODUCTION)
|
@@ -220,9 +220,9 @@ module AdvancedBilling
|
|
220
220
|
# @param [Array[EventKey]] filter Optional parameter: You can pass multiple
|
221
221
|
# event keys after comma. Use in query
|
222
222
|
# `filter=signup_success,payment_success`.
|
223
|
-
# @return [CountResponse]
|
223
|
+
# @return [CountResponse] Response from the API call.
|
224
224
|
def read_events_count(options = {})
|
225
|
-
|
225
|
+
@api_call
|
226
226
|
.request(new_request_builder(HttpMethodEnum::GET,
|
227
227
|
'/events/count.json',
|
228
228
|
Server::PRODUCTION)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# advanced_billing
|
2
2
|
#
|
3
|
-
# This file was automatically generated
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated for Maxio by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module AdvancedBilling
|
7
7
|
# InsightsController
|
@@ -11,13 +11,13 @@ module AdvancedBilling
|
|
11
11
|
# ## Stats Documentation
|
12
12
|
# There currently is not a complimentary matching set of documentation that
|
13
13
|
# compliments this endpoint. However, each Site's dashboard will reflect the
|
14
|
-
# summary of information provided in the Stats
|
14
|
+
# summary of information provided in the Stats response.
|
15
15
|
# ```
|
16
16
|
# https://subdomain.chargify.com/dashboard
|
17
17
|
# ```
|
18
|
-
# @return [SiteSummary]
|
18
|
+
# @return [SiteSummary] Response from the API call.
|
19
19
|
def read_site_stats
|
20
|
-
|
20
|
+
@api_call
|
21
21
|
.request(new_request_builder(HttpMethodEnum::GET,
|
22
22
|
'/stats.json',
|
23
23
|
Server::PRODUCTION)
|
@@ -35,11 +35,11 @@ module AdvancedBilling
|
|
35
35
|
# ISO8601 format to request MRR for a historic time
|
36
36
|
# @param [Integer] subscription_id Optional parameter: submit the id of a
|
37
37
|
# subscription in order to limit results
|
38
|
-
# @return [MRRResponse]
|
38
|
+
# @return [MRRResponse] Response from the API call.
|
39
39
|
def read_mrr(at_time: nil,
|
40
40
|
subscription_id: nil)
|
41
41
|
warn 'Endpoint read_mrr in InsightsController is deprecated'
|
42
|
-
|
42
|
+
@api_call
|
43
43
|
.request(new_request_builder(HttpMethodEnum::GET,
|
44
44
|
'/mrr.json',
|
45
45
|
Server::PRODUCTION)
|
@@ -91,10 +91,10 @@ module AdvancedBilling
|
|
91
91
|
# Use in query `per_page=20`.
|
92
92
|
# @param [SortingDirection] direction Optional parameter: Controls the order
|
93
93
|
# in which results are returned. Use in query `direction=asc`.
|
94
|
-
# @return [ListMRRResponse]
|
94
|
+
# @return [ListMRRResponse] Response from the API call.
|
95
95
|
def list_mrr_movements(options = {})
|
96
96
|
warn 'Endpoint list_mrr_movements in InsightsController is deprecated'
|
97
|
-
|
97
|
+
@api_call
|
98
98
|
.request(new_request_builder(HttpMethodEnum::GET,
|
99
99
|
'/mrr_movements.json',
|
100
100
|
Server::PRODUCTION)
|
@@ -131,11 +131,11 @@ module AdvancedBilling
|
|
131
131
|
# @param [Direction] direction Optional parameter: Controls the order in
|
132
132
|
# which results are returned. Records are ordered by subscription_id in
|
133
133
|
# ascending order by default. Use in query `direction=desc`.
|
134
|
-
# @return [SubscriptionMRRResponse]
|
134
|
+
# @return [SubscriptionMRRResponse] Response from the API call.
|
135
135
|
def list_mrr_per_subscription(options = {})
|
136
136
|
warn 'Endpoint list_mrr_per_subscription in InsightsController is deprec'\
|
137
137
|
'ated'
|
138
|
-
|
138
|
+
@api_call
|
139
139
|
.request(new_request_builder(HttpMethodEnum::GET,
|
140
140
|
'/subscriptions_mrr.json',
|
141
141
|
Server::PRODUCTION)
|