maxio-advanced-billing-sdk 6.0.0 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +41 -41
- data/lib/advanced_billing/controllers/base_controller.rb +1 -1
- data/lib/advanced_billing/exceptions/api_exception.rb +11 -0
- data/lib/advanced_billing/exceptions/component_allocation_error_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/component_price_point_error_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/customer_error_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/error_array_map_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/error_list_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/error_string_map_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/event_based_billing_list_segments_errors_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/event_based_billing_segment_errors_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/event_based_billing_segment_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/product_price_point_error_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/proforma_bad_request_error_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/refund_prepayment_base_errors_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/single_error_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/single_string_error_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/subscription_add_coupon_error_exception.rb +14 -0
- data/lib/advanced_billing/exceptions/subscription_component_allocation_error_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/subscription_group_create_error_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/subscription_group_signup_error_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/subscription_group_update_error_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/subscription_remove_coupon_errors_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/subscription_response_error_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/subscriptions_mrr_error_response_exception.rb +12 -0
- data/lib/advanced_billing/exceptions/too_many_management_link_requests_error_exception.rb +12 -0
- data/lib/advanced_billing/models/account_balance.rb +17 -0
- data/lib/advanced_billing/models/account_balances.rb +17 -0
- data/lib/advanced_billing/models/ach_agreement.rb +16 -0
- data/lib/advanced_billing/models/activate_event_based_component.rb +15 -0
- data/lib/advanced_billing/models/activate_subscription_request.rb +14 -0
- data/lib/advanced_billing/models/add_coupons_request.rb +13 -0
- data/lib/advanced_billing/models/add_subscription_to_a_group.rb +13 -0
- data/lib/advanced_billing/models/address_change.rb +14 -0
- data/lib/advanced_billing/models/agreement_acceptance.rb +20 -0
- data/lib/advanced_billing/models/allocate_components.rb +22 -0
- data/lib/advanced_billing/models/allocation.rb +37 -0
- data/lib/advanced_billing/models/allocation_expiration_date.rb +14 -0
- data/lib/advanced_billing/models/allocation_preview.rb +26 -0
- data/lib/advanced_billing/models/allocation_preview_item.rb +31 -0
- data/lib/advanced_billing/models/allocation_preview_line_item.rb +21 -0
- data/lib/advanced_billing/models/allocation_preview_response.rb +14 -0
- data/lib/advanced_billing/models/allocation_response.rb +14 -0
- data/lib/advanced_billing/models/allocation_settings.rb +15 -0
- data/lib/advanced_billing/models/apple_pay_payment_profile.rb +27 -0
- data/lib/advanced_billing/models/applied_credit_note_data.rb +14 -0
- data/lib/advanced_billing/models/apply_credit_note_event.rb +16 -0
- data/lib/advanced_billing/models/apply_credit_note_event_data.rb +21 -0
- data/lib/advanced_billing/models/apply_debit_note_event.rb +16 -0
- data/lib/advanced_billing/models/apply_debit_note_event_data.rb +18 -0
- data/lib/advanced_billing/models/apply_payment_event.rb +16 -0
- data/lib/advanced_billing/models/apply_payment_event_data.rb +23 -0
- data/lib/advanced_billing/models/attribute_error.rb +14 -0
- data/lib/advanced_billing/models/auto_resume.rb +14 -0
- data/lib/advanced_billing/models/backport_invoice_event.rb +16 -0
- data/lib/advanced_billing/models/bank_account_attributes.rb +25 -0
- data/lib/advanced_billing/models/bank_account_payment_profile.rb +35 -0
- data/lib/advanced_billing/models/bank_account_response.rb +14 -0
- data/lib/advanced_billing/models/bank_account_verification.rb +14 -0
- data/lib/advanced_billing/models/bank_account_verification_request.rb +14 -0
- data/lib/advanced_billing/models/base_model.rb +12 -0
- data/lib/advanced_billing/models/base_refund_error.rb +13 -0
- data/lib/advanced_billing/models/base_string_error.rb +13 -0
- data/lib/advanced_billing/models/batch_job.rb +16 -0
- data/lib/advanced_billing/models/batch_job_response.rb +14 -0
- data/lib/advanced_billing/models/billing_manifest.rb +23 -0
- data/lib/advanced_billing/models/billing_manifest_item.rb +27 -0
- data/lib/advanced_billing/models/billing_schedule.rb +14 -0
- data/lib/advanced_billing/models/breakouts.rb +18 -0
- data/lib/advanced_billing/models/bulk_components_price_point_assignment.rb +14 -0
- data/lib/advanced_billing/models/bulk_create_product_price_points_request.rb +14 -0
- data/lib/advanced_billing/models/bulk_create_product_price_points_response.rb +14 -0
- data/lib/advanced_billing/models/bulk_create_segments.rb +14 -0
- data/lib/advanced_billing/models/bulk_update_segments.rb +14 -0
- data/lib/advanced_billing/models/bulk_update_segments_item.rb +14 -0
- data/lib/advanced_billing/models/calendar_billing.rb +15 -0
- data/lib/advanced_billing/models/cancel_grouped_subscriptions_request.rb +14 -0
- data/lib/advanced_billing/models/cancellation_options.rb +14 -0
- data/lib/advanced_billing/models/cancellation_request.rb +14 -0
- data/lib/advanced_billing/models/change_chargeback_status_event.rb +16 -0
- data/lib/advanced_billing/models/change_chargeback_status_event_data.rb +14 -0
- data/lib/advanced_billing/models/change_invoice_collection_method_event.rb +16 -0
- data/lib/advanced_billing/models/change_invoice_collection_method_event_data.rb +15 -0
- data/lib/advanced_billing/models/change_invoice_status_event.rb +16 -0
- data/lib/advanced_billing/models/change_invoice_status_event_data.rb +17 -0
- data/lib/advanced_billing/models/chargify_ebb.rb +18 -0
- data/lib/advanced_billing/models/component.rb +45 -0
- data/lib/advanced_billing/models/component_allocation_change.rb +20 -0
- data/lib/advanced_billing/models/component_allocation_error_item.rb +15 -0
- data/lib/advanced_billing/models/component_cost_data.rb +19 -0
- data/lib/advanced_billing/models/component_cost_data_rate_tier.rb +17 -0
- data/lib/advanced_billing/models/component_currency_price.rb +17 -0
- data/lib/advanced_billing/models/component_currency_prices_response.rb +14 -0
- data/lib/advanced_billing/models/component_custom_price.rb +17 -0
- data/lib/advanced_billing/models/component_price.rb +19 -0
- data/lib/advanced_billing/models/component_price_point.rb +35 -0
- data/lib/advanced_billing/models/component_price_point_assignment.rb +14 -0
- data/lib/advanced_billing/models/component_price_point_error_item.rb +15 -0
- data/lib/advanced_billing/models/component_price_point_item.rb +17 -0
- data/lib/advanced_billing/models/component_price_point_response.rb +14 -0
- data/lib/advanced_billing/models/component_price_points_response.rb +14 -0
- data/lib/advanced_billing/models/component_response.rb +14 -0
- data/lib/advanced_billing/models/consolidated_invoice.rb +14 -0
- data/lib/advanced_billing/models/count_response.rb +13 -0
- data/lib/advanced_billing/models/coupon.rb +46 -0
- data/lib/advanced_billing/models/coupon_currency.rb +15 -0
- data/lib/advanced_billing/models/coupon_currency_request.rb +14 -0
- data/lib/advanced_billing/models/coupon_currency_response.rb +14 -0
- data/lib/advanced_billing/models/coupon_payload.rb +29 -0
- data/lib/advanced_billing/models/coupon_request.rb +16 -0
- data/lib/advanced_billing/models/coupon_response.rb +13 -0
- data/lib/advanced_billing/models/coupon_restriction.rb +15 -0
- data/lib/advanced_billing/models/coupon_subcodes.rb +13 -0
- data/lib/advanced_billing/models/coupon_subcodes_response.rb +15 -0
- data/lib/advanced_billing/models/coupon_usage.rb +17 -0
- data/lib/advanced_billing/models/create_allocation.rb +24 -0
- data/lib/advanced_billing/models/create_allocation_request.rb +14 -0
- data/lib/advanced_billing/models/create_component_price_point.rb +19 -0
- data/lib/advanced_billing/models/create_component_price_point_request.rb +14 -0
- data/lib/advanced_billing/models/create_component_price_points_request.rb +14 -0
- data/lib/advanced_billing/models/create_credit_note_event.rb +16 -0
- data/lib/advanced_billing/models/create_currency_price.rb +14 -0
- data/lib/advanced_billing/models/create_currency_prices_request.rb +14 -0
- data/lib/advanced_billing/models/create_customer.rb +26 -0
- data/lib/advanced_billing/models/create_customer_request.rb +14 -0
- data/lib/advanced_billing/models/create_debit_note_event.rb +16 -0
- data/lib/advanced_billing/models/create_ebb_component.rb +14 -0
- data/lib/advanced_billing/models/create_invoice.rb +21 -0
- data/lib/advanced_billing/models/create_invoice_address.rb +17 -0
- data/lib/advanced_billing/models/create_invoice_coupon.rb +18 -0
- data/lib/advanced_billing/models/create_invoice_item.rb +23 -0
- data/lib/advanced_billing/models/create_invoice_payment.rb +17 -0
- data/lib/advanced_billing/models/create_invoice_payment_application.rb +14 -0
- data/lib/advanced_billing/models/create_invoice_payment_request.rb +14 -0
- data/lib/advanced_billing/models/create_invoice_request.rb +13 -0
- data/lib/advanced_billing/models/create_metadata.rb +14 -0
- data/lib/advanced_billing/models/create_metadata_request.rb +14 -0
- data/lib/advanced_billing/models/create_metafield.rb +15 -0
- data/lib/advanced_billing/models/create_metafields_request.rb +14 -0
- data/lib/advanced_billing/models/create_metered_component.rb +14 -0
- data/lib/advanced_billing/models/create_multi_invoice_payment.rb +17 -0
- data/lib/advanced_billing/models/create_multi_invoice_payment_request.rb +13 -0
- data/lib/advanced_billing/models/create_offer.rb +18 -0
- data/lib/advanced_billing/models/create_offer_component.rb +16 -0
- data/lib/advanced_billing/models/create_offer_request.rb +13 -0
- data/lib/advanced_billing/models/create_on_off_component.rb +14 -0
- data/lib/advanced_billing/models/create_or_update_endpoint.rb +14 -0
- data/lib/advanced_billing/models/create_or_update_endpoint_request.rb +14 -0
- data/lib/advanced_billing/models/create_or_update_product.rb +29 -0
- data/lib/advanced_billing/models/create_or_update_product_request.rb +13 -0
- data/lib/advanced_billing/models/create_or_update_segment_price.rb +16 -0
- data/lib/advanced_billing/models/create_payment.rb +15 -0
- data/lib/advanced_billing/models/create_payment_profile.rb +43 -0
- data/lib/advanced_billing/models/create_payment_profile_request.rb +14 -0
- data/lib/advanced_billing/models/create_prepaid_component.rb +14 -0
- data/lib/advanced_billing/models/create_prepaid_usage_component_price_point.rb +24 -0
- data/lib/advanced_billing/models/create_prepayment.rb +16 -0
- data/lib/advanced_billing/models/create_prepayment_request.rb +14 -0
- data/lib/advanced_billing/models/create_prepayment_response.rb +14 -0
- data/lib/advanced_billing/models/create_product_currency_price.rb +14 -0
- data/lib/advanced_billing/models/create_product_currency_prices_request.rb +14 -0
- data/lib/advanced_billing/models/create_product_family.rb +14 -0
- data/lib/advanced_billing/models/create_product_family_request.rb +14 -0
- data/lib/advanced_billing/models/create_product_price_point.rb +28 -0
- data/lib/advanced_billing/models/create_product_price_point_request.rb +14 -0
- data/lib/advanced_billing/models/create_quantity_based_component.rb +14 -0
- data/lib/advanced_billing/models/create_reason_code.rb +14 -0
- data/lib/advanced_billing/models/create_reason_code_request.rb +14 -0
- data/lib/advanced_billing/models/create_segment.rb +20 -0
- data/lib/advanced_billing/models/create_segment_request.rb +13 -0
- data/lib/advanced_billing/models/create_subscription.rb +72 -0
- data/lib/advanced_billing/models/create_subscription_component.rb +19 -0
- data/lib/advanced_billing/models/create_subscription_group.rb +14 -0
- data/lib/advanced_billing/models/create_subscription_group_request.rb +14 -0
- data/lib/advanced_billing/models/create_subscription_request.rb +14 -0
- data/lib/advanced_billing/models/create_usage.rb +16 -0
- data/lib/advanced_billing/models/create_usage_request.rb +13 -0
- data/lib/advanced_billing/models/created_prepayment.rb +19 -0
- data/lib/advanced_billing/models/credit_account_balance_changed.rb +20 -0
- data/lib/advanced_billing/models/credit_card_attributes.rb +16 -0
- data/lib/advanced_billing/models/credit_card_payment_profile.rb +32 -0
- data/lib/advanced_billing/models/credit_note.rb +35 -0
- data/lib/advanced_billing/models/credit_note_application.rb +16 -0
- data/lib/advanced_billing/models/credit_note_line_item.rb +30 -0
- data/lib/advanced_billing/models/credit_scheme_request.rb +14 -0
- data/lib/advanced_billing/models/currency_price.rb +19 -0
- data/lib/advanced_billing/models/currency_prices_response.rb +14 -0
- data/lib/advanced_billing/models/custom_field_value_change.rb +19 -0
- data/lib/advanced_billing/models/customer.rb +40 -0
- data/lib/advanced_billing/models/customer_attributes.rb +27 -0
- data/lib/advanced_billing/models/customer_change.rb +16 -0
- data/lib/advanced_billing/models/customer_changes_preview_response.rb +13 -0
- data/lib/advanced_billing/models/customer_custom_fields_change.rb +14 -0
- data/lib/advanced_billing/models/customer_error.rb +14 -0
- data/lib/advanced_billing/models/customer_payer_change.rb +14 -0
- data/lib/advanced_billing/models/customer_response.rb +14 -0
- data/lib/advanced_billing/models/debit_note.rb +30 -0
- data/lib/advanced_billing/models/deduct_service_credit.rb +14 -0
- data/lib/advanced_billing/models/deduct_service_credit_request.rb +14 -0
- data/lib/advanced_billing/models/delayed_cancellation_response.rb +13 -0
- data/lib/advanced_billing/models/delete_subscription_group_response.rb +14 -0
- data/lib/advanced_billing/models/dunner_data.rb +18 -0
- data/lib/advanced_billing/models/dunning_step_data.rb +19 -0
- data/lib/advanced_billing/models/dunning_step_reached.rb +14 -0
- data/lib/advanced_billing/models/ebb_component.rb +24 -0
- data/lib/advanced_billing/models/ebb_event.rb +14 -0
- data/lib/advanced_billing/models/enable_webhooks_request.rb +14 -0
- data/lib/advanced_billing/models/enable_webhooks_response.rb +14 -0
- data/lib/advanced_billing/models/endpoint.rb +16 -0
- data/lib/advanced_billing/models/endpoint_response.rb +14 -0
- data/lib/advanced_billing/models/errors.rb +14 -0
- data/lib/advanced_billing/models/event.rb +18 -0
- data/lib/advanced_billing/models/event_based_billing_segment_error.rb +14 -0
- data/lib/advanced_billing/models/event_response.rb +13 -0
- data/lib/advanced_billing/models/failed_payment_event.rb +16 -0
- data/lib/advanced_billing/models/failed_payment_event_data.rb +17 -0
- data/lib/advanced_billing/models/full_subscription_group_response.rb +25 -0
- data/lib/advanced_billing/models/get_one_time_token_payment_profile.rb +32 -0
- data/lib/advanced_billing/models/get_one_time_token_request.rb +14 -0
- data/lib/advanced_billing/models/group_billing.rb +14 -0
- data/lib/advanced_billing/models/group_settings.rb +14 -0
- data/lib/advanced_billing/models/group_target.rb +14 -0
- data/lib/advanced_billing/models/historic_usage.rb +16 -0
- data/lib/advanced_billing/models/invoice.rb +62 -0
- data/lib/advanced_billing/models/invoice_address.rb +15 -0
- data/lib/advanced_billing/models/invoice_avatax_details.rb +16 -0
- data/lib/advanced_billing/models/invoice_balance_item.rb +14 -0
- data/lib/advanced_billing/models/invoice_credit.rb +19 -0
- data/lib/advanced_billing/models/invoice_custom_field.rb +16 -0
- data/lib/advanced_billing/models/invoice_customer.rb +18 -0
- data/lib/advanced_billing/models/invoice_debit.rb +19 -0
- data/lib/advanced_billing/models/invoice_discount.rb +23 -0
- data/lib/advanced_billing/models/invoice_discount_breakout.rb +15 -0
- data/lib/advanced_billing/models/invoice_display_settings.rb +16 -0
- data/lib/advanced_billing/models/invoice_issued.rb +24 -0
- data/lib/advanced_billing/models/invoice_line_item.rb +34 -0
- data/lib/advanced_billing/models/invoice_line_item_component_cost_data.rb +13 -0
- data/lib/advanced_billing/models/invoice_line_item_event_data.rb +30 -0
- data/lib/advanced_billing/models/invoice_line_item_pricing_detail.rb +14 -0
- data/lib/advanced_billing/models/invoice_payer.rb +17 -0
- data/lib/advanced_billing/models/invoice_payer_change.rb +15 -0
- data/lib/advanced_billing/models/invoice_payment.rb +23 -0
- data/lib/advanced_billing/models/invoice_payment_application.rb +15 -0
- data/lib/advanced_billing/models/invoice_payment_method.rb +19 -0
- data/lib/advanced_billing/models/invoice_pre_payment.rb +16 -0
- data/lib/advanced_billing/models/invoice_previous_balance.rb +14 -0
- data/lib/advanced_billing/models/invoice_refund.rb +21 -0
- data/lib/advanced_billing/models/invoice_response.rb +13 -0
- data/lib/advanced_billing/models/invoice_seller.rb +15 -0
- data/lib/advanced_billing/models/invoice_tax.rb +24 -0
- data/lib/advanced_billing/models/invoice_tax_breakout.rb +16 -0
- data/lib/advanced_billing/models/invoice_tax_component_breakout.rb +26 -0
- data/lib/advanced_billing/models/issue_advance_invoice_request.rb +13 -0
- data/lib/advanced_billing/models/issue_invoice_event.rb +16 -0
- data/lib/advanced_billing/models/issue_invoice_event_data.rb +17 -0
- data/lib/advanced_billing/models/issue_invoice_request.rb +14 -0
- data/lib/advanced_billing/models/issue_service_credit.rb +14 -0
- data/lib/advanced_billing/models/issue_service_credit_request.rb +14 -0
- data/lib/advanced_billing/models/item_price_point_changed.rb +18 -0
- data/lib/advanced_billing/models/item_price_point_data.rb +14 -0
- data/lib/advanced_billing/models/list_components_filter.rb +14 -0
- data/lib/advanced_billing/models/list_components_price_points_response.rb +14 -0
- data/lib/advanced_billing/models/list_coupons_filter.rb +19 -0
- data/lib/advanced_billing/models/list_credit_notes_response.rb +14 -0
- data/lib/advanced_billing/models/list_invoice_events_response.rb +15 -0
- data/lib/advanced_billing/models/list_invoices_response.rb +14 -0
- data/lib/advanced_billing/models/list_metafields_response.rb +17 -0
- data/lib/advanced_billing/models/list_mrr_filter.rb +14 -0
- data/lib/advanced_billing/models/list_mrr_response.rb +12 -0
- data/lib/advanced_billing/models/list_mrr_response_result.rb +18 -0
- data/lib/advanced_billing/models/list_offers_response.rb +13 -0
- data/lib/advanced_billing/models/list_prepayments_filter.rb +14 -0
- data/lib/advanced_billing/models/list_price_points_filter.rb +18 -0
- data/lib/advanced_billing/models/list_product_price_points_response.rb +14 -0
- data/lib/advanced_billing/models/list_products_filter.rb +16 -0
- data/lib/advanced_billing/models/list_proforma_invoices_meta.rb +16 -0
- data/lib/advanced_billing/models/list_proforma_invoices_response.rb +14 -0
- data/lib/advanced_billing/models/list_public_keys_meta.rb +16 -0
- data/lib/advanced_billing/models/list_public_keys_response.rb +14 -0
- data/lib/advanced_billing/models/list_sale_rep_item.rb +16 -0
- data/lib/advanced_billing/models/list_segments_filter.rb +19 -0
- data/lib/advanced_billing/models/list_segments_response.rb +14 -0
- data/lib/advanced_billing/models/list_subcription_group_prepayment_item.rb +21 -0
- data/lib/advanced_billing/models/list_subscription_components_filter.rb +14 -0
- data/lib/advanced_billing/models/list_subscription_components_for_site_filter.rb +16 -0
- data/lib/advanced_billing/models/list_subscription_components_response.rb +14 -0
- data/lib/advanced_billing/models/list_subscription_group_prepayment.rb +14 -0
- data/lib/advanced_billing/models/list_subscription_group_prepayment_response.rb +14 -0
- data/lib/advanced_billing/models/list_subscription_groups_item.rb +23 -0
- data/lib/advanced_billing/models/list_subscription_groups_meta.rb +14 -0
- data/lib/advanced_billing/models/list_subscription_groups_response.rb +14 -0
- data/lib/advanced_billing/models/metadata.rb +17 -0
- data/lib/advanced_billing/models/metafield.rb +16 -0
- data/lib/advanced_billing/models/metafield_scope.rb +17 -0
- data/lib/advanced_billing/models/metered_component.rb +27 -0
- data/lib/advanced_billing/models/metered_usage.rb +18 -0
- data/lib/advanced_billing/models/movement.rb +21 -0
- data/lib/advanced_billing/models/movement_line_item.rb +19 -0
- data/lib/advanced_billing/models/mrr.rb +18 -0
- data/lib/advanced_billing/models/mrr_movement.rb +16 -0
- data/lib/advanced_billing/models/mrr_response.rb +12 -0
- data/lib/advanced_billing/models/multi_invoice_payment.rb +16 -0
- data/lib/advanced_billing/models/multi_invoice_payment_response.rb +13 -0
- data/lib/advanced_billing/models/nested_subscription_group.rb +16 -0
- data/lib/advanced_billing/models/net_terms.rb +21 -0
- data/lib/advanced_billing/models/offer.rb +30 -0
- data/lib/advanced_billing/models/offer_discount.rb +15 -0
- data/lib/advanced_billing/models/offer_item.rb +22 -0
- data/lib/advanced_billing/models/offer_response.rb +13 -0
- data/lib/advanced_billing/models/offer_signup_page.rb +17 -0
- data/lib/advanced_billing/models/ok_response.rb +12 -0
- data/lib/advanced_billing/models/on_off_component.rb +26 -0
- data/lib/advanced_billing/models/organization_address.rb +17 -0
- data/lib/advanced_billing/models/origin_invoice.rb +14 -0
- data/lib/advanced_billing/models/overage_pricing.rb +14 -0
- data/lib/advanced_billing/models/override_subscription.rb +19 -0
- data/lib/advanced_billing/models/override_subscription_request.rb +14 -0
- data/lib/advanced_billing/models/paginated_metadata.rb +17 -0
- data/lib/advanced_billing/models/paid_invoice.rb +15 -0
- data/lib/advanced_billing/models/pause_request.rb +13 -0
- data/lib/advanced_billing/models/payer_attributes.rb +24 -0
- data/lib/advanced_billing/models/payer_error.rb +14 -0
- data/lib/advanced_billing/models/payment_collection_method_changed.rb +14 -0
- data/lib/advanced_billing/models/payment_for_allocation.rb +15 -0
- data/lib/advanced_billing/models/payment_method_apple_pay.rb +13 -0
- data/lib/advanced_billing/models/payment_method_bank_account.rb +16 -0
- data/lib/advanced_billing/models/payment_method_credit_card.rb +17 -0
- data/lib/advanced_billing/models/payment_method_external.rb +15 -0
- data/lib/advanced_billing/models/payment_method_paypal.rb +14 -0
- data/lib/advanced_billing/models/payment_profile_attributes.rb +35 -0
- data/lib/advanced_billing/models/payment_profile_response.rb +14 -0
- data/lib/advanced_billing/models/payment_related_events.rb +14 -0
- data/lib/advanced_billing/models/paypal_payment_profile.rb +28 -0
- data/lib/advanced_billing/models/pending_cancellation_change.rb +14 -0
- data/lib/advanced_billing/models/portal_management_link.rb +18 -0
- data/lib/advanced_billing/models/prepaid_configuration.rb +20 -0
- data/lib/advanced_billing/models/prepaid_configuration_response.rb +14 -0
- data/lib/advanced_billing/models/prepaid_product_price_point_filter.rb +14 -0
- data/lib/advanced_billing/models/prepaid_subscription_balance_changed.rb +19 -0
- data/lib/advanced_billing/models/prepaid_usage.rb +25 -0
- data/lib/advanced_billing/models/prepaid_usage_allocation_detail.rb +15 -0
- data/lib/advanced_billing/models/prepaid_usage_component.rb +35 -0
- data/lib/advanced_billing/models/prepayment.rb +21 -0
- data/lib/advanced_billing/models/prepayment_account_balance_changed.rb +18 -0
- data/lib/advanced_billing/models/prepayment_response.rb +14 -0
- data/lib/advanced_billing/models/prepayments_response.rb +14 -0
- data/lib/advanced_billing/models/preview_allocations_request.rb +17 -0
- data/lib/advanced_billing/models/price.rb +16 -0
- data/lib/advanced_billing/models/product.rb +55 -0
- data/lib/advanced_billing/models/product_family.rb +17 -0
- data/lib/advanced_billing/models/product_family_response.rb +14 -0
- data/lib/advanced_billing/models/product_price_point.rb +37 -0
- data/lib/advanced_billing/models/product_price_point_errors.rb +17 -0
- data/lib/advanced_billing/models/product_price_point_response.rb +14 -0
- data/lib/advanced_billing/models/product_response.rb +13 -0
- data/lib/advanced_billing/models/proforma_error.rb +14 -0
- data/lib/advanced_billing/models/proforma_invoice.rb +42 -0
- data/lib/advanced_billing/models/proforma_invoice_credit.rb +15 -0
- data/lib/advanced_billing/models/proforma_invoice_discount.rb +19 -0
- data/lib/advanced_billing/models/proforma_invoice_issued.rb +21 -0
- data/lib/advanced_billing/models/proforma_invoice_payment.rb +16 -0
- data/lib/advanced_billing/models/proforma_invoice_tax.rb +18 -0
- data/lib/advanced_billing/models/proration.rb +14 -0
- data/lib/advanced_billing/models/public_key.rb +16 -0
- data/lib/advanced_billing/models/public_signup_page.rb +15 -0
- data/lib/advanced_billing/models/quantity_based_component.rb +30 -0
- data/lib/advanced_billing/models/reactivate_subscription_group_request.rb +14 -0
- data/lib/advanced_billing/models/reactivate_subscription_group_response.rb +21 -0
- data/lib/advanced_billing/models/reactivate_subscription_request.rb +19 -0
- data/lib/advanced_billing/models/reactivation_billing.rb +14 -0
- data/lib/advanced_billing/models/reason_code.rb +17 -0
- data/lib/advanced_billing/models/reason_code_response.rb +14 -0
- data/lib/advanced_billing/models/record_payment_request.rb +13 -0
- data/lib/advanced_billing/models/record_payment_response.rb +14 -0
- data/lib/advanced_billing/models/referral_code.rb +15 -0
- data/lib/advanced_billing/models/referral_validation_response.rb +14 -0
- data/lib/advanced_billing/models/refund_consolidated_invoice.rb +17 -0
- data/lib/advanced_billing/models/refund_invoice.rb +17 -0
- data/lib/advanced_billing/models/refund_invoice_event.rb +16 -0
- data/lib/advanced_billing/models/refund_invoice_event_data.rb +21 -0
- data/lib/advanced_billing/models/refund_invoice_request.rb +13 -0
- data/lib/advanced_billing/models/refund_prepayment.rb +15 -0
- data/lib/advanced_billing/models/refund_prepayment_base_refund_error.rb +13 -0
- data/lib/advanced_billing/models/refund_prepayment_request.rb +13 -0
- data/lib/advanced_billing/models/refund_success.rb +16 -0
- data/lib/advanced_billing/models/remove_payment_event.rb +16 -0
- data/lib/advanced_billing/models/remove_payment_event_data.rb +19 -0
- data/lib/advanced_billing/models/renewal_preview.rb +23 -0
- data/lib/advanced_billing/models/renewal_preview_component.rb +15 -0
- data/lib/advanced_billing/models/renewal_preview_line_item.rb +27 -0
- data/lib/advanced_billing/models/renewal_preview_request.rb +14 -0
- data/lib/advanced_billing/models/renewal_preview_response.rb +14 -0
- data/lib/advanced_billing/models/replay_webhooks_request.rb +12 -0
- data/lib/advanced_billing/models/replay_webhooks_response.rb +13 -0
- data/lib/advanced_billing/models/resent_invitation.rb +19 -0
- data/lib/advanced_billing/models/resume_options.rb +14 -0
- data/lib/advanced_billing/models/revoked_invitation.rb +16 -0
- data/lib/advanced_billing/models/sale_rep.rb +16 -0
- data/lib/advanced_billing/models/sale_rep_item_mrr.rb +14 -0
- data/lib/advanced_billing/models/sale_rep_settings.rb +19 -0
- data/lib/advanced_billing/models/sale_rep_subscription.rb +19 -0
- data/lib/advanced_billing/models/segment.rb +26 -0
- data/lib/advanced_billing/models/segment_price.rb +19 -0
- data/lib/advanced_billing/models/segment_response.rb +13 -0
- data/lib/advanced_billing/models/send_invoice_request.rb +16 -0
- data/lib/advanced_billing/models/service_credit.rb +17 -0
- data/lib/advanced_billing/models/service_credit_response.rb +14 -0
- data/lib/advanced_billing/models/signup_proforma_preview.rb +16 -0
- data/lib/advanced_billing/models/signup_proforma_preview_response.rb +14 -0
- data/lib/advanced_billing/models/site.rb +49 -0
- data/lib/advanced_billing/models/site_response.rb +13 -0
- data/lib/advanced_billing/models/site_statistics.rb +28 -0
- data/lib/advanced_billing/models/site_summary.rb +16 -0
- data/lib/advanced_billing/models/subscription.rb +84 -0
- data/lib/advanced_billing/models/subscription_component.rb +43 -0
- data/lib/advanced_billing/models/subscription_component_allocation_error_item.rb +14 -0
- data/lib/advanced_billing/models/subscription_component_response.rb +14 -0
- data/lib/advanced_billing/models/subscription_component_subscription.rb +14 -0
- data/lib/advanced_billing/models/subscription_custom_price.rb +27 -0
- data/lib/advanced_billing/models/subscription_filter.rb +17 -0
- data/lib/advanced_billing/models/subscription_group.rb +18 -0
- data/lib/advanced_billing/models/subscription_group_balances.rb +16 -0
- data/lib/advanced_billing/models/subscription_group_bank_account.rb +28 -0
- data/lib/advanced_billing/models/subscription_group_component_custom_price.rb +15 -0
- data/lib/advanced_billing/models/subscription_group_credit_card.rb +30 -0
- data/lib/advanced_billing/models/subscription_group_customer.rb +16 -0
- data/lib/advanced_billing/models/subscription_group_item.rb +23 -0
- data/lib/advanced_billing/models/subscription_group_members_array_error.rb +13 -0
- data/lib/advanced_billing/models/subscription_group_payment_profile.rb +16 -0
- data/lib/advanced_billing/models/subscription_group_prepayment.rb +15 -0
- data/lib/advanced_billing/models/subscription_group_prepayment_request.rb +14 -0
- data/lib/advanced_billing/models/subscription_group_prepayment_response.rb +17 -0
- data/lib/advanced_billing/models/subscription_group_response.rb +14 -0
- data/lib/advanced_billing/models/subscription_group_signup.rb +22 -0
- data/lib/advanced_billing/models/subscription_group_signup_component.rb +17 -0
- data/lib/advanced_billing/models/subscription_group_signup_error.rb +18 -0
- data/lib/advanced_billing/models/subscription_group_signup_event_data.rb +14 -0
- data/lib/advanced_billing/models/subscription_group_signup_failure_data.rb +22 -0
- data/lib/advanced_billing/models/subscription_group_signup_item.rb +24 -0
- data/lib/advanced_billing/models/subscription_group_signup_request.rb +14 -0
- data/lib/advanced_billing/models/subscription_group_signup_response.rb +24 -0
- data/lib/advanced_billing/models/subscription_group_single_error.rb +14 -0
- data/lib/advanced_billing/models/subscription_group_subscription_error.rb +24 -0
- data/lib/advanced_billing/models/subscription_group_update_error.rb +13 -0
- data/lib/advanced_billing/models/subscription_included_coupon.rb +18 -0
- data/lib/advanced_billing/models/subscription_migration_preview.rb +18 -0
- data/lib/advanced_billing/models/subscription_migration_preview_options.rb +23 -0
- data/lib/advanced_billing/models/subscription_migration_preview_request.rb +14 -0
- data/lib/advanced_billing/models/subscription_migration_preview_response.rb +14 -0
- data/lib/advanced_billing/models/subscription_mrr.rb +16 -0
- data/lib/advanced_billing/models/subscription_mrr_breakout.rb +15 -0
- data/lib/advanced_billing/models/subscription_mrr_response.rb +14 -0
- data/lib/advanced_billing/models/subscription_note.rb +17 -0
- data/lib/advanced_billing/models/subscription_note_response.rb +13 -0
- data/lib/advanced_billing/models/subscription_preview.rb +16 -0
- data/lib/advanced_billing/models/subscription_preview_response.rb +14 -0
- data/lib/advanced_billing/models/subscription_product_change.rb +14 -0
- data/lib/advanced_billing/models/subscription_product_migration.rb +23 -0
- data/lib/advanced_billing/models/subscription_product_migration_request.rb +14 -0
- data/lib/advanced_billing/models/subscription_response.rb +14 -0
- data/lib/advanced_billing/models/subscription_state_change.rb +16 -0
- data/lib/advanced_billing/models/tax_configuration.rb +16 -0
- data/lib/advanced_billing/models/too_many_management_link_requests.rb +14 -0
- data/lib/advanced_billing/models/update_allocation_expiration_date.rb +14 -0
- data/lib/advanced_billing/models/update_component.rb +20 -0
- data/lib/advanced_billing/models/update_component_price_point.rb +19 -0
- data/lib/advanced_billing/models/update_component_price_point_request.rb +14 -0
- data/lib/advanced_billing/models/update_component_request.rb +14 -0
- data/lib/advanced_billing/models/update_coupon_currency.rb +14 -0
- data/lib/advanced_billing/models/update_currency_price.rb +14 -0
- data/lib/advanced_billing/models/update_currency_prices_request.rb +14 -0
- data/lib/advanced_billing/models/update_customer.rb +26 -0
- data/lib/advanced_billing/models/update_customer_request.rb +14 -0
- data/lib/advanced_billing/models/update_metadata.rb +14 -0
- data/lib/advanced_billing/models/update_metadata_request.rb +14 -0
- data/lib/advanced_billing/models/update_metafield.rb +16 -0
- data/lib/advanced_billing/models/update_metafields_request.rb +14 -0
- data/lib/advanced_billing/models/update_payment_profile.rb +23 -0
- data/lib/advanced_billing/models/update_payment_profile_request.rb +14 -0
- data/lib/advanced_billing/models/update_price.rb +16 -0
- data/lib/advanced_billing/models/update_product_price_point.rb +14 -0
- data/lib/advanced_billing/models/update_product_price_point_request.rb +14 -0
- data/lib/advanced_billing/models/update_reason_code.rb +14 -0
- data/lib/advanced_billing/models/update_reason_code_request.rb +14 -0
- data/lib/advanced_billing/models/update_segment.rb +14 -0
- data/lib/advanced_billing/models/update_segment_request.rb +13 -0
- data/lib/advanced_billing/models/update_subscription.rb +38 -0
- data/lib/advanced_billing/models/update_subscription_component.rb +14 -0
- data/lib/advanced_billing/models/update_subscription_group.rb +14 -0
- data/lib/advanced_billing/models/update_subscription_group_request.rb +14 -0
- data/lib/advanced_billing/models/update_subscription_note.rb +14 -0
- data/lib/advanced_billing/models/update_subscription_note_request.rb +13 -0
- data/lib/advanced_billing/models/update_subscription_request.rb +14 -0
- data/lib/advanced_billing/models/upsert_prepaid_configuration.rb +20 -0
- data/lib/advanced_billing/models/upsert_prepaid_configuration_request.rb +14 -0
- data/lib/advanced_billing/models/usage.rb +19 -0
- data/lib/advanced_billing/models/usage_response.rb +13 -0
- data/lib/advanced_billing/models/void_invoice.rb +13 -0
- data/lib/advanced_billing/models/void_invoice_event.rb +16 -0
- data/lib/advanced_billing/models/void_invoice_event_data.rb +18 -0
- data/lib/advanced_billing/models/void_invoice_request.rb +13 -0
- data/lib/advanced_billing/models/void_remainder_event.rb +16 -0
- data/lib/advanced_billing/models/void_remainder_event_data.rb +16 -0
- data/lib/advanced_billing/models/webhook.rb +22 -0
- data/lib/advanced_billing/models/webhook_response.rb +13 -0
- data/lib/advanced_billing/utilities/file_wrapper.rb +14 -2
- metadata +2 -2
@@ -69,5 +69,19 @@ module AdvancedBilling
|
|
69
69
|
use_site_exchange_rate: use_site_exchange_rate,
|
70
70
|
additional_properties: additional_properties)
|
71
71
|
end
|
72
|
+
|
73
|
+
# Provides a human-readable string representation of the object.
|
74
|
+
def to_s
|
75
|
+
class_name = self.class.name.split('::').last
|
76
|
+
"<#{class_name} ids: #{@ids}, use_site_exchange_rate: #{@use_site_exchange_rate},"\
|
77
|
+
" additional_properties: #{get_additional_properties}>"
|
78
|
+
end
|
79
|
+
|
80
|
+
# Provides a debugging-friendly string with detailed object information.
|
81
|
+
def inspect
|
82
|
+
class_name = self.class.name.split('::').last
|
83
|
+
"<#{class_name} ids: #{@ids.inspect}, use_site_exchange_rate:"\
|
84
|
+
" #{@use_site_exchange_rate.inspect}, additional_properties: #{get_additional_properties}>"
|
85
|
+
end
|
72
86
|
end
|
73
87
|
end
|
@@ -62,5 +62,19 @@ module AdvancedBilling
|
|
62
62
|
ListComponentsPricePointsResponse.new(price_points: price_points,
|
63
63
|
additional_properties: additional_properties)
|
64
64
|
end
|
65
|
+
|
66
|
+
# Provides a human-readable string representation of the object.
|
67
|
+
def to_s
|
68
|
+
class_name = self.class.name.split('::').last
|
69
|
+
"<#{class_name} price_points: #{@price_points}, additional_properties:"\
|
70
|
+
" #{get_additional_properties}>"
|
71
|
+
end
|
72
|
+
|
73
|
+
# Provides a debugging-friendly string with detailed object information.
|
74
|
+
def inspect
|
75
|
+
class_name = self.class.name.split('::').last
|
76
|
+
"<#{class_name} price_points: #{@price_points.inspect}, additional_properties:"\
|
77
|
+
" #{get_additional_properties}>"
|
78
|
+
end
|
65
79
|
end
|
66
80
|
end
|
@@ -159,5 +159,24 @@ module AdvancedBilling
|
|
159
159
|
def to_custom_end_datetime
|
160
160
|
DateTimeHelper.to_rfc3339(end_datetime)
|
161
161
|
end
|
162
|
+
|
163
|
+
# Provides a human-readable string representation of the object.
|
164
|
+
def to_s
|
165
|
+
class_name = self.class.name.split('::').last
|
166
|
+
"<#{class_name} date_field: #{@date_field}, start_date: #{@start_date}, end_date:"\
|
167
|
+
" #{@end_date}, start_datetime: #{@start_datetime}, end_datetime: #{@end_datetime}, ids:"\
|
168
|
+
" #{@ids}, codes: #{@codes}, use_site_exchange_rate: #{@use_site_exchange_rate},"\
|
169
|
+
" additional_properties: #{get_additional_properties}>"
|
170
|
+
end
|
171
|
+
|
172
|
+
# Provides a debugging-friendly string with detailed object information.
|
173
|
+
def inspect
|
174
|
+
class_name = self.class.name.split('::').last
|
175
|
+
"<#{class_name} date_field: #{@date_field.inspect}, start_date: #{@start_date.inspect},"\
|
176
|
+
" end_date: #{@end_date.inspect}, start_datetime: #{@start_datetime.inspect}, end_datetime:"\
|
177
|
+
" #{@end_datetime.inspect}, ids: #{@ids.inspect}, codes: #{@codes.inspect},"\
|
178
|
+
" use_site_exchange_rate: #{@use_site_exchange_rate.inspect}, additional_properties:"\
|
179
|
+
" #{get_additional_properties}>"
|
180
|
+
end
|
162
181
|
end
|
163
182
|
end
|
@@ -62,5 +62,19 @@ module AdvancedBilling
|
|
62
62
|
ListCreditNotesResponse.new(credit_notes: credit_notes,
|
63
63
|
additional_properties: additional_properties)
|
64
64
|
end
|
65
|
+
|
66
|
+
# Provides a human-readable string representation of the object.
|
67
|
+
def to_s
|
68
|
+
class_name = self.class.name.split('::').last
|
69
|
+
"<#{class_name} credit_notes: #{@credit_notes}, additional_properties:"\
|
70
|
+
" #{get_additional_properties}>"
|
71
|
+
end
|
72
|
+
|
73
|
+
# Provides a debugging-friendly string with detailed object information.
|
74
|
+
def inspect
|
75
|
+
class_name = self.class.name.split('::').last
|
76
|
+
"<#{class_name} credit_notes: #{@credit_notes.inspect}, additional_properties:"\
|
77
|
+
" #{get_additional_properties}>"
|
78
|
+
end
|
65
79
|
end
|
66
80
|
end
|
@@ -95,5 +95,20 @@ module AdvancedBilling
|
|
95
95
|
|
96
96
|
true
|
97
97
|
end
|
98
|
+
|
99
|
+
# Provides a human-readable string representation of the object.
|
100
|
+
def to_s
|
101
|
+
class_name = self.class.name.split('::').last
|
102
|
+
"<#{class_name} events: #{@events}, page: #{@page}, per_page: #{@per_page}, total_pages:"\
|
103
|
+
" #{@total_pages}, additional_properties: #{get_additional_properties}>"
|
104
|
+
end
|
105
|
+
|
106
|
+
# Provides a debugging-friendly string with detailed object information.
|
107
|
+
def inspect
|
108
|
+
class_name = self.class.name.split('::').last
|
109
|
+
"<#{class_name} events: #{@events.inspect}, page: #{@page.inspect}, per_page:"\
|
110
|
+
" #{@per_page.inspect}, total_pages: #{@total_pages.inspect}, additional_properties:"\
|
111
|
+
" #{get_additional_properties}>"
|
112
|
+
end
|
98
113
|
end
|
99
114
|
end
|
@@ -62,5 +62,19 @@ module AdvancedBilling
|
|
62
62
|
ListInvoicesResponse.new(invoices: invoices,
|
63
63
|
additional_properties: additional_properties)
|
64
64
|
end
|
65
|
+
|
66
|
+
# Provides a human-readable string representation of the object.
|
67
|
+
def to_s
|
68
|
+
class_name = self.class.name.split('::').last
|
69
|
+
"<#{class_name} invoices: #{@invoices}, additional_properties:"\
|
70
|
+
" #{get_additional_properties}>"
|
71
|
+
end
|
72
|
+
|
73
|
+
# Provides a debugging-friendly string with detailed object information.
|
74
|
+
def inspect
|
75
|
+
class_name = self.class.name.split('::').last
|
76
|
+
"<#{class_name} invoices: #{@invoices.inspect}, additional_properties:"\
|
77
|
+
" #{get_additional_properties}>"
|
78
|
+
end
|
65
79
|
end
|
66
80
|
end
|
@@ -101,5 +101,22 @@ module AdvancedBilling
|
|
101
101
|
metafields: metafields,
|
102
102
|
additional_properties: additional_properties)
|
103
103
|
end
|
104
|
+
|
105
|
+
# Provides a human-readable string representation of the object.
|
106
|
+
def to_s
|
107
|
+
class_name = self.class.name.split('::').last
|
108
|
+
"<#{class_name} total_count: #{@total_count}, current_page: #{@current_page}, total_pages:"\
|
109
|
+
" #{@total_pages}, per_page: #{@per_page}, metafields: #{@metafields},"\
|
110
|
+
" additional_properties: #{get_additional_properties}>"
|
111
|
+
end
|
112
|
+
|
113
|
+
# Provides a debugging-friendly string with detailed object information.
|
114
|
+
def inspect
|
115
|
+
class_name = self.class.name.split('::').last
|
116
|
+
"<#{class_name} total_count: #{@total_count.inspect}, current_page:"\
|
117
|
+
" #{@current_page.inspect}, total_pages: #{@total_pages.inspect}, per_page:"\
|
118
|
+
" #{@per_page.inspect}, metafields: #{@metafields.inspect}, additional_properties:"\
|
119
|
+
" #{get_additional_properties}>"
|
120
|
+
end
|
104
121
|
end
|
105
122
|
end
|
@@ -57,5 +57,19 @@ module AdvancedBilling
|
|
57
57
|
ListMrrFilter.new(subscription_ids: subscription_ids,
|
58
58
|
additional_properties: additional_properties)
|
59
59
|
end
|
60
|
+
|
61
|
+
# Provides a human-readable string representation of the object.
|
62
|
+
def to_s
|
63
|
+
class_name = self.class.name.split('::').last
|
64
|
+
"<#{class_name} subscription_ids: #{@subscription_ids}, additional_properties:"\
|
65
|
+
" #{get_additional_properties}>"
|
66
|
+
end
|
67
|
+
|
68
|
+
# Provides a debugging-friendly string with detailed object information.
|
69
|
+
def inspect
|
70
|
+
class_name = self.class.name.split('::').last
|
71
|
+
"<#{class_name} subscription_ids: #{@subscription_ids.inspect}, additional_properties:"\
|
72
|
+
" #{get_additional_properties}>"
|
73
|
+
end
|
60
74
|
end
|
61
75
|
end
|
@@ -53,5 +53,17 @@ module AdvancedBilling
|
|
53
53
|
ListMRRResponse.new(mrr: mrr,
|
54
54
|
additional_properties: additional_properties)
|
55
55
|
end
|
56
|
+
|
57
|
+
# Provides a human-readable string representation of the object.
|
58
|
+
def to_s
|
59
|
+
class_name = self.class.name.split('::').last
|
60
|
+
"<#{class_name} mrr: #{@mrr}, additional_properties: #{get_additional_properties}>"
|
61
|
+
end
|
62
|
+
|
63
|
+
# Provides a debugging-friendly string with detailed object information.
|
64
|
+
def inspect
|
65
|
+
class_name = self.class.name.split('::').last
|
66
|
+
"<#{class_name} mrr: #{@mrr.inspect}, additional_properties: #{get_additional_properties}>"
|
67
|
+
end
|
56
68
|
end
|
57
69
|
end
|
@@ -121,5 +121,23 @@ module AdvancedBilling
|
|
121
121
|
movements: movements,
|
122
122
|
additional_properties: additional_properties)
|
123
123
|
end
|
124
|
+
|
125
|
+
# Provides a human-readable string representation of the object.
|
126
|
+
def to_s
|
127
|
+
class_name = self.class.name.split('::').last
|
128
|
+
"<#{class_name} page: #{@page}, per_page: #{@per_page}, total_pages: #{@total_pages},"\
|
129
|
+
" total_entries: #{@total_entries}, currency: #{@currency}, currency_symbol:"\
|
130
|
+
" #{@currency_symbol}, movements: #{@movements}, additional_properties:"\
|
131
|
+
" #{get_additional_properties}>"
|
132
|
+
end
|
133
|
+
|
134
|
+
# Provides a debugging-friendly string with detailed object information.
|
135
|
+
def inspect
|
136
|
+
class_name = self.class.name.split('::').last
|
137
|
+
"<#{class_name} page: #{@page.inspect}, per_page: #{@per_page.inspect}, total_pages:"\
|
138
|
+
" #{@total_pages.inspect}, total_entries: #{@total_entries.inspect}, currency:"\
|
139
|
+
" #{@currency.inspect}, currency_symbol: #{@currency_symbol.inspect}, movements:"\
|
140
|
+
" #{@movements.inspect}, additional_properties: #{get_additional_properties}>"
|
141
|
+
end
|
124
142
|
end
|
125
143
|
end
|
@@ -64,5 +64,18 @@ module AdvancedBilling
|
|
64
64
|
ListOffersResponse.new(offers: offers,
|
65
65
|
additional_properties: additional_properties)
|
66
66
|
end
|
67
|
+
|
68
|
+
# Provides a human-readable string representation of the object.
|
69
|
+
def to_s
|
70
|
+
class_name = self.class.name.split('::').last
|
71
|
+
"<#{class_name} offers: #{@offers}, additional_properties: #{get_additional_properties}>"
|
72
|
+
end
|
73
|
+
|
74
|
+
# Provides a debugging-friendly string with detailed object information.
|
75
|
+
def inspect
|
76
|
+
class_name = self.class.name.split('::').last
|
77
|
+
"<#{class_name} offers: #{@offers.inspect}, additional_properties:"\
|
78
|
+
" #{get_additional_properties}>"
|
79
|
+
end
|
67
80
|
end
|
68
81
|
end
|
@@ -82,5 +82,19 @@ module AdvancedBilling
|
|
82
82
|
end_date: end_date,
|
83
83
|
additional_properties: additional_properties)
|
84
84
|
end
|
85
|
+
|
86
|
+
# Provides a human-readable string representation of the object.
|
87
|
+
def to_s
|
88
|
+
class_name = self.class.name.split('::').last
|
89
|
+
"<#{class_name} date_field: #{@date_field}, start_date: #{@start_date}, end_date:"\
|
90
|
+
" #{@end_date}, additional_properties: #{get_additional_properties}>"
|
91
|
+
end
|
92
|
+
|
93
|
+
# Provides a debugging-friendly string with detailed object information.
|
94
|
+
def inspect
|
95
|
+
class_name = self.class.name.split('::').last
|
96
|
+
"<#{class_name} date_field: #{@date_field.inspect}, start_date: #{@start_date.inspect},"\
|
97
|
+
" end_date: #{@end_date.inspect}, additional_properties: #{get_additional_properties}>"
|
98
|
+
end
|
85
99
|
end
|
86
100
|
end
|
@@ -153,5 +153,23 @@ module AdvancedBilling
|
|
153
153
|
def to_custom_end_datetime
|
154
154
|
DateTimeHelper.to_rfc3339(end_datetime)
|
155
155
|
end
|
156
|
+
|
157
|
+
# Provides a human-readable string representation of the object.
|
158
|
+
def to_s
|
159
|
+
class_name = self.class.name.split('::').last
|
160
|
+
"<#{class_name} date_field: #{@date_field}, start_date: #{@start_date}, end_date:"\
|
161
|
+
" #{@end_date}, start_datetime: #{@start_datetime}, end_datetime: #{@end_datetime}, type:"\
|
162
|
+
" #{@type}, ids: #{@ids}, archived_at: #{@archived_at}, additional_properties:"\
|
163
|
+
" #{get_additional_properties}>"
|
164
|
+
end
|
165
|
+
|
166
|
+
# Provides a debugging-friendly string with detailed object information.
|
167
|
+
def inspect
|
168
|
+
class_name = self.class.name.split('::').last
|
169
|
+
"<#{class_name} date_field: #{@date_field.inspect}, start_date: #{@start_date.inspect},"\
|
170
|
+
" end_date: #{@end_date.inspect}, start_datetime: #{@start_datetime.inspect}, end_datetime:"\
|
171
|
+
" #{@end_datetime.inspect}, type: #{@type.inspect}, ids: #{@ids.inspect}, archived_at:"\
|
172
|
+
" #{@archived_at.inspect}, additional_properties: #{get_additional_properties}>"
|
173
|
+
end
|
156
174
|
end
|
157
175
|
end
|
@@ -62,5 +62,19 @@ module AdvancedBilling
|
|
62
62
|
ListProductPricePointsResponse.new(price_points: price_points,
|
63
63
|
additional_properties: additional_properties)
|
64
64
|
end
|
65
|
+
|
66
|
+
# Provides a human-readable string representation of the object.
|
67
|
+
def to_s
|
68
|
+
class_name = self.class.name.split('::').last
|
69
|
+
"<#{class_name} price_points: #{@price_points}, additional_properties:"\
|
70
|
+
" #{get_additional_properties}>"
|
71
|
+
end
|
72
|
+
|
73
|
+
# Provides a debugging-friendly string with detailed object information.
|
74
|
+
def inspect
|
75
|
+
class_name = self.class.name.split('::').last
|
76
|
+
"<#{class_name} price_points: #{@price_points.inspect}, additional_properties:"\
|
77
|
+
" #{get_additional_properties}>"
|
78
|
+
end
|
65
79
|
end
|
66
80
|
end
|
@@ -86,5 +86,21 @@ module AdvancedBilling
|
|
86
86
|
use_site_exchange_rate: use_site_exchange_rate,
|
87
87
|
additional_properties: additional_properties)
|
88
88
|
end
|
89
|
+
|
90
|
+
# Provides a human-readable string representation of the object.
|
91
|
+
def to_s
|
92
|
+
class_name = self.class.name.split('::').last
|
93
|
+
"<#{class_name} ids: #{@ids}, prepaid_product_price_point: #{@prepaid_product_price_point},"\
|
94
|
+
" use_site_exchange_rate: #{@use_site_exchange_rate}, additional_properties:"\
|
95
|
+
" #{get_additional_properties}>"
|
96
|
+
end
|
97
|
+
|
98
|
+
# Provides a debugging-friendly string with detailed object information.
|
99
|
+
def inspect
|
100
|
+
class_name = self.class.name.split('::').last
|
101
|
+
"<#{class_name} ids: #{@ids.inspect}, prepaid_product_price_point:"\
|
102
|
+
" #{@prepaid_product_price_point.inspect}, use_site_exchange_rate:"\
|
103
|
+
" #{@use_site_exchange_rate.inspect}, additional_properties: #{get_additional_properties}>"
|
104
|
+
end
|
89
105
|
end
|
90
106
|
end
|
@@ -83,5 +83,21 @@ module AdvancedBilling
|
|
83
83
|
status_code: status_code,
|
84
84
|
additional_properties: additional_properties)
|
85
85
|
end
|
86
|
+
|
87
|
+
# Provides a human-readable string representation of the object.
|
88
|
+
def to_s
|
89
|
+
class_name = self.class.name.split('::').last
|
90
|
+
"<#{class_name} total_count: #{@total_count}, current_page: #{@current_page}, total_pages:"\
|
91
|
+
" #{@total_pages}, status_code: #{@status_code}, additional_properties:"\
|
92
|
+
" #{get_additional_properties}>"
|
93
|
+
end
|
94
|
+
|
95
|
+
# Provides a debugging-friendly string with detailed object information.
|
96
|
+
def inspect
|
97
|
+
class_name = self.class.name.split('::').last
|
98
|
+
"<#{class_name} total_count: #{@total_count.inspect}, current_page:"\
|
99
|
+
" #{@current_page.inspect}, total_pages: #{@total_pages.inspect}, status_code:"\
|
100
|
+
" #{@status_code.inspect}, additional_properties: #{get_additional_properties}>"
|
101
|
+
end
|
86
102
|
end
|
87
103
|
end
|
@@ -74,5 +74,19 @@ module AdvancedBilling
|
|
74
74
|
meta: meta,
|
75
75
|
additional_properties: additional_properties)
|
76
76
|
end
|
77
|
+
|
78
|
+
# Provides a human-readable string representation of the object.
|
79
|
+
def to_s
|
80
|
+
class_name = self.class.name.split('::').last
|
81
|
+
"<#{class_name} proforma_invoices: #{@proforma_invoices}, meta: #{@meta},"\
|
82
|
+
" additional_properties: #{get_additional_properties}>"
|
83
|
+
end
|
84
|
+
|
85
|
+
# Provides a debugging-friendly string with detailed object information.
|
86
|
+
def inspect
|
87
|
+
class_name = self.class.name.split('::').last
|
88
|
+
"<#{class_name} proforma_invoices: #{@proforma_invoices.inspect}, meta: #{@meta.inspect},"\
|
89
|
+
" additional_properties: #{get_additional_properties}>"
|
90
|
+
end
|
77
91
|
end
|
78
92
|
end
|
@@ -83,5 +83,21 @@ module AdvancedBilling
|
|
83
83
|
per_page: per_page,
|
84
84
|
additional_properties: additional_properties)
|
85
85
|
end
|
86
|
+
|
87
|
+
# Provides a human-readable string representation of the object.
|
88
|
+
def to_s
|
89
|
+
class_name = self.class.name.split('::').last
|
90
|
+
"<#{class_name} total_count: #{@total_count}, current_page: #{@current_page}, total_pages:"\
|
91
|
+
" #{@total_pages}, per_page: #{@per_page}, additional_properties:"\
|
92
|
+
" #{get_additional_properties}>"
|
93
|
+
end
|
94
|
+
|
95
|
+
# Provides a debugging-friendly string with detailed object information.
|
96
|
+
def inspect
|
97
|
+
class_name = self.class.name.split('::').last
|
98
|
+
"<#{class_name} total_count: #{@total_count.inspect}, current_page:"\
|
99
|
+
" #{@current_page.inspect}, total_pages: #{@total_pages.inspect}, per_page:"\
|
100
|
+
" #{@per_page.inspect}, additional_properties: #{get_additional_properties}>"
|
101
|
+
end
|
86
102
|
end
|
87
103
|
end
|
@@ -74,5 +74,19 @@ module AdvancedBilling
|
|
74
74
|
meta: meta,
|
75
75
|
additional_properties: additional_properties)
|
76
76
|
end
|
77
|
+
|
78
|
+
# Provides a human-readable string representation of the object.
|
79
|
+
def to_s
|
80
|
+
class_name = self.class.name.split('::').last
|
81
|
+
"<#{class_name} chargify_js_keys: #{@chargify_js_keys}, meta: #{@meta},"\
|
82
|
+
" additional_properties: #{get_additional_properties}>"
|
83
|
+
end
|
84
|
+
|
85
|
+
# Provides a debugging-friendly string with detailed object information.
|
86
|
+
def inspect
|
87
|
+
class_name = self.class.name.split('::').last
|
88
|
+
"<#{class_name} chargify_js_keys: #{@chargify_js_keys.inspect}, meta: #{@meta.inspect},"\
|
89
|
+
" additional_properties: #{get_additional_properties}>"
|
90
|
+
end
|
77
91
|
end
|
78
92
|
end
|
@@ -95,5 +95,21 @@ module AdvancedBilling
|
|
95
95
|
test_mode: test_mode,
|
96
96
|
additional_properties: additional_properties)
|
97
97
|
end
|
98
|
+
|
99
|
+
# Provides a human-readable string representation of the object.
|
100
|
+
def to_s
|
101
|
+
class_name = self.class.name.split('::').last
|
102
|
+
"<#{class_name} id: #{@id}, full_name: #{@full_name}, subscriptions_count:"\
|
103
|
+
" #{@subscriptions_count}, mrr_data: #{@mrr_data}, test_mode: #{@test_mode},"\
|
104
|
+
" additional_properties: #{get_additional_properties}>"
|
105
|
+
end
|
106
|
+
|
107
|
+
# Provides a debugging-friendly string with detailed object information.
|
108
|
+
def inspect
|
109
|
+
class_name = self.class.name.split('::').last
|
110
|
+
"<#{class_name} id: #{@id.inspect}, full_name: #{@full_name.inspect}, subscriptions_count:"\
|
111
|
+
" #{@subscriptions_count.inspect}, mrr_data: #{@mrr_data.inspect}, test_mode:"\
|
112
|
+
" #{@test_mode.inspect}, additional_properties: #{get_additional_properties}>"
|
113
|
+
end
|
98
114
|
end
|
99
115
|
end
|
@@ -98,5 +98,24 @@ module AdvancedBilling
|
|
98
98
|
segment_property_4_value: segment_property_4_value,
|
99
99
|
additional_properties: additional_properties)
|
100
100
|
end
|
101
|
+
|
102
|
+
# Provides a human-readable string representation of the object.
|
103
|
+
def to_s
|
104
|
+
class_name = self.class.name.split('::').last
|
105
|
+
"<#{class_name} segment_property_1_value: #{@segment_property_1_value},"\
|
106
|
+
" segment_property_2_value: #{@segment_property_2_value}, segment_property_3_value:"\
|
107
|
+
" #{@segment_property_3_value}, segment_property_4_value: #{@segment_property_4_value},"\
|
108
|
+
" additional_properties: #{get_additional_properties}>"
|
109
|
+
end
|
110
|
+
|
111
|
+
# Provides a debugging-friendly string with detailed object information.
|
112
|
+
def inspect
|
113
|
+
class_name = self.class.name.split('::').last
|
114
|
+
"<#{class_name} segment_property_1_value: #{@segment_property_1_value.inspect},"\
|
115
|
+
" segment_property_2_value: #{@segment_property_2_value.inspect}, segment_property_3_value:"\
|
116
|
+
" #{@segment_property_3_value.inspect}, segment_property_4_value:"\
|
117
|
+
" #{@segment_property_4_value.inspect}, additional_properties:"\
|
118
|
+
" #{get_additional_properties}>"
|
119
|
+
end
|
101
120
|
end
|
102
121
|
end
|
@@ -64,5 +64,19 @@ module AdvancedBilling
|
|
64
64
|
ListSegmentsResponse.new(segments: segments,
|
65
65
|
additional_properties: additional_properties)
|
66
66
|
end
|
67
|
+
|
68
|
+
# Provides a human-readable string representation of the object.
|
69
|
+
def to_s
|
70
|
+
class_name = self.class.name.split('::').last
|
71
|
+
"<#{class_name} segments: #{@segments}, additional_properties:"\
|
72
|
+
" #{get_additional_properties}>"
|
73
|
+
end
|
74
|
+
|
75
|
+
# Provides a debugging-friendly string with detailed object information.
|
76
|
+
def inspect
|
77
|
+
class_name = self.class.name.split('::').last
|
78
|
+
"<#{class_name} segments: #{@segments.inspect}, additional_properties:"\
|
79
|
+
" #{get_additional_properties}>"
|
80
|
+
end
|
67
81
|
end
|
68
82
|
end
|
@@ -146,5 +146,26 @@ module AdvancedBilling
|
|
146
146
|
def to_custom_created_at
|
147
147
|
DateTimeHelper.to_rfc3339(created_at)
|
148
148
|
end
|
149
|
+
|
150
|
+
# Provides a human-readable string representation of the object.
|
151
|
+
def to_s
|
152
|
+
class_name = self.class.name.split('::').last
|
153
|
+
"<#{class_name} id: #{@id}, subscription_group_uid: #{@subscription_group_uid},"\
|
154
|
+
" amount_in_cents: #{@amount_in_cents}, remaining_amount_in_cents:"\
|
155
|
+
" #{@remaining_amount_in_cents}, details: #{@details}, external: #{@external}, memo:"\
|
156
|
+
" #{@memo}, payment_type: #{@payment_type}, created_at: #{@created_at},"\
|
157
|
+
" additional_properties: #{get_additional_properties}>"
|
158
|
+
end
|
159
|
+
|
160
|
+
# Provides a debugging-friendly string with detailed object information.
|
161
|
+
def inspect
|
162
|
+
class_name = self.class.name.split('::').last
|
163
|
+
"<#{class_name} id: #{@id.inspect}, subscription_group_uid:"\
|
164
|
+
" #{@subscription_group_uid.inspect}, amount_in_cents: #{@amount_in_cents.inspect},"\
|
165
|
+
" remaining_amount_in_cents: #{@remaining_amount_in_cents.inspect}, details:"\
|
166
|
+
" #{@details.inspect}, external: #{@external.inspect}, memo: #{@memo.inspect}, payment_type:"\
|
167
|
+
" #{@payment_type.inspect}, created_at: #{@created_at.inspect}, additional_properties:"\
|
168
|
+
" #{get_additional_properties}>"
|
169
|
+
end
|
149
170
|
end
|
150
171
|
end
|
@@ -69,5 +69,19 @@ module AdvancedBilling
|
|
69
69
|
use_site_exchange_rate: use_site_exchange_rate,
|
70
70
|
additional_properties: additional_properties)
|
71
71
|
end
|
72
|
+
|
73
|
+
# Provides a human-readable string representation of the object.
|
74
|
+
def to_s
|
75
|
+
class_name = self.class.name.split('::').last
|
76
|
+
"<#{class_name} currencies: #{@currencies}, use_site_exchange_rate:"\
|
77
|
+
" #{@use_site_exchange_rate}, additional_properties: #{get_additional_properties}>"
|
78
|
+
end
|
79
|
+
|
80
|
+
# Provides a debugging-friendly string with detailed object information.
|
81
|
+
def inspect
|
82
|
+
class_name = self.class.name.split('::').last
|
83
|
+
"<#{class_name} currencies: #{@currencies.inspect}, use_site_exchange_rate:"\
|
84
|
+
" #{@use_site_exchange_rate.inspect}, additional_properties: #{get_additional_properties}>"
|
85
|
+
end
|
72
86
|
end
|
73
87
|
end
|
@@ -78,5 +78,21 @@ module AdvancedBilling
|
|
78
78
|
subscription: subscription,
|
79
79
|
additional_properties: additional_properties)
|
80
80
|
end
|
81
|
+
|
82
|
+
# Provides a human-readable string representation of the object.
|
83
|
+
def to_s
|
84
|
+
class_name = self.class.name.split('::').last
|
85
|
+
"<#{class_name} currencies: #{@currencies}, use_site_exchange_rate:"\
|
86
|
+
" #{@use_site_exchange_rate}, subscription: #{@subscription}, additional_properties:"\
|
87
|
+
" #{get_additional_properties}>"
|
88
|
+
end
|
89
|
+
|
90
|
+
# Provides a debugging-friendly string with detailed object information.
|
91
|
+
def inspect
|
92
|
+
class_name = self.class.name.split('::').last
|
93
|
+
"<#{class_name} currencies: #{@currencies.inspect}, use_site_exchange_rate:"\
|
94
|
+
" #{@use_site_exchange_rate.inspect}, subscription: #{@subscription.inspect},"\
|
95
|
+
" additional_properties: #{get_additional_properties}>"
|
96
|
+
end
|
81
97
|
end
|
82
98
|
end
|
@@ -62,5 +62,19 @@ module AdvancedBilling
|
|
62
62
|
ListSubscriptionComponentsResponse.new(subscriptions_components: subscriptions_components,
|
63
63
|
additional_properties: additional_properties)
|
64
64
|
end
|
65
|
+
|
66
|
+
# Provides a human-readable string representation of the object.
|
67
|
+
def to_s
|
68
|
+
class_name = self.class.name.split('::').last
|
69
|
+
"<#{class_name} subscriptions_components: #{@subscriptions_components},"\
|
70
|
+
" additional_properties: #{get_additional_properties}>"
|
71
|
+
end
|
72
|
+
|
73
|
+
# Provides a debugging-friendly string with detailed object information.
|
74
|
+
def inspect
|
75
|
+
class_name = self.class.name.split('::').last
|
76
|
+
"<#{class_name} subscriptions_components: #{@subscriptions_components.inspect},"\
|
77
|
+
" additional_properties: #{get_additional_properties}>"
|
78
|
+
end
|
65
79
|
end
|
66
80
|
end
|
@@ -54,5 +54,19 @@ module AdvancedBilling
|
|
54
54
|
ListSubscriptionGroupPrepayment.new(prepayment: prepayment,
|
55
55
|
additional_properties: additional_properties)
|
56
56
|
end
|
57
|
+
|
58
|
+
# Provides a human-readable string representation of the object.
|
59
|
+
def to_s
|
60
|
+
class_name = self.class.name.split('::').last
|
61
|
+
"<#{class_name} prepayment: #{@prepayment}, additional_properties:"\
|
62
|
+
" #{get_additional_properties}>"
|
63
|
+
end
|
64
|
+
|
65
|
+
# Provides a debugging-friendly string with detailed object information.
|
66
|
+
def inspect
|
67
|
+
class_name = self.class.name.split('::').last
|
68
|
+
"<#{class_name} prepayment: #{@prepayment.inspect}, additional_properties:"\
|
69
|
+
" #{get_additional_properties}>"
|
70
|
+
end
|
57
71
|
end
|
58
72
|
end
|
@@ -62,5 +62,19 @@ module AdvancedBilling
|
|
62
62
|
ListSubscriptionGroupPrepaymentResponse.new(prepayments: prepayments,
|
63
63
|
additional_properties: additional_properties)
|
64
64
|
end
|
65
|
+
|
66
|
+
# Provides a human-readable string representation of the object.
|
67
|
+
def to_s
|
68
|
+
class_name = self.class.name.split('::').last
|
69
|
+
"<#{class_name} prepayments: #{@prepayments}, additional_properties:"\
|
70
|
+
" #{get_additional_properties}>"
|
71
|
+
end
|
72
|
+
|
73
|
+
# Provides a debugging-friendly string with detailed object information.
|
74
|
+
def inspect
|
75
|
+
class_name = self.class.name.split('::').last
|
76
|
+
"<#{class_name} prepayments: #{@prepayments.inspect}, additional_properties:"\
|
77
|
+
" #{get_additional_properties}>"
|
78
|
+
end
|
65
79
|
end
|
66
80
|
end
|
@@ -164,5 +164,28 @@ module AdvancedBilling
|
|
164
164
|
def to_custom_next_assessment_at
|
165
165
|
DateTimeHelper.to_rfc3339(next_assessment_at)
|
166
166
|
end
|
167
|
+
|
168
|
+
# Provides a human-readable string representation of the object.
|
169
|
+
def to_s
|
170
|
+
class_name = self.class.name.split('::').last
|
171
|
+
"<#{class_name} uid: #{@uid}, scheme: #{@scheme}, customer_id: #{@customer_id},"\
|
172
|
+
" payment_profile_id: #{@payment_profile_id}, subscription_ids: #{@subscription_ids},"\
|
173
|
+
" primary_subscription_id: #{@primary_subscription_id}, next_assessment_at:"\
|
174
|
+
" #{@next_assessment_at}, state: #{@state}, cancel_at_end_of_period:"\
|
175
|
+
" #{@cancel_at_end_of_period}, account_balances: #{@account_balances}, group_type:"\
|
176
|
+
" #{@group_type}, additional_properties: #{get_additional_properties}>"
|
177
|
+
end
|
178
|
+
|
179
|
+
# Provides a debugging-friendly string with detailed object information.
|
180
|
+
def inspect
|
181
|
+
class_name = self.class.name.split('::').last
|
182
|
+
"<#{class_name} uid: #{@uid.inspect}, scheme: #{@scheme.inspect}, customer_id:"\
|
183
|
+
" #{@customer_id.inspect}, payment_profile_id: #{@payment_profile_id.inspect},"\
|
184
|
+
" subscription_ids: #{@subscription_ids.inspect}, primary_subscription_id:"\
|
185
|
+
" #{@primary_subscription_id.inspect}, next_assessment_at: #{@next_assessment_at.inspect},"\
|
186
|
+
" state: #{@state.inspect}, cancel_at_end_of_period: #{@cancel_at_end_of_period.inspect},"\
|
187
|
+
" account_balances: #{@account_balances.inspect}, group_type: #{@group_type.inspect},"\
|
188
|
+
" additional_properties: #{get_additional_properties}>"
|
189
|
+
end
|
167
190
|
end
|
168
191
|
end
|