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
@@ -68,5 +68,19 @@ module AdvancedBilling
|
|
68
68
|
APIHelper.valid_type?(value['chargeback_status'],
|
69
69
|
->(val) { ChargebackStatus.validate(val) })
|
70
70
|
end
|
71
|
+
|
72
|
+
# Provides a human-readable string representation of the object.
|
73
|
+
def to_s
|
74
|
+
class_name = self.class.name.split('::').last
|
75
|
+
"<#{class_name} chargeback_status: #{@chargeback_status}, additional_properties:"\
|
76
|
+
" #{get_additional_properties}>"
|
77
|
+
end
|
78
|
+
|
79
|
+
# Provides a debugging-friendly string with detailed object information.
|
80
|
+
def inspect
|
81
|
+
class_name = self.class.name.split('::').last
|
82
|
+
"<#{class_name} chargeback_status: #{@chargeback_status.inspect}, additional_properties:"\
|
83
|
+
" #{get_additional_properties}>"
|
84
|
+
end
|
71
85
|
end
|
72
86
|
end
|
@@ -136,5 +136,21 @@ module AdvancedBilling
|
|
136
136
|
is_model_hash: true)
|
137
137
|
)
|
138
138
|
end
|
139
|
+
|
140
|
+
# Provides a human-readable string representation of the object.
|
141
|
+
def to_s
|
142
|
+
class_name = self.class.name.split('::').last
|
143
|
+
"<#{class_name} id: #{@id}, timestamp: #{@timestamp}, invoice: #{@invoice}, event_type:"\
|
144
|
+
" #{@event_type}, event_data: #{@event_data}, additional_properties:"\
|
145
|
+
" #{get_additional_properties}>"
|
146
|
+
end
|
147
|
+
|
148
|
+
# Provides a debugging-friendly string with detailed object information.
|
149
|
+
def inspect
|
150
|
+
class_name = self.class.name.split('::').last
|
151
|
+
"<#{class_name} id: #{@id.inspect}, timestamp: #{@timestamp.inspect}, invoice:"\
|
152
|
+
" #{@invoice.inspect}, event_type: #{@event_type.inspect}, event_data:"\
|
153
|
+
" #{@event_data.inspect}, additional_properties: #{get_additional_properties}>"
|
154
|
+
end
|
139
155
|
end
|
140
156
|
end
|
@@ -86,5 +86,20 @@ module AdvancedBilling
|
|
86
86
|
->(val) { val.instance_of? String })
|
87
87
|
)
|
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} from_collection_method: #{@from_collection_method}, to_collection_method:"\
|
94
|
+
" #{@to_collection_method}, additional_properties: #{get_additional_properties}>"
|
95
|
+
end
|
96
|
+
|
97
|
+
# Provides a debugging-friendly string with detailed object information.
|
98
|
+
def inspect
|
99
|
+
class_name = self.class.name.split('::').last
|
100
|
+
"<#{class_name} from_collection_method: #{@from_collection_method.inspect},"\
|
101
|
+
" to_collection_method: #{@to_collection_method.inspect}, additional_properties:"\
|
102
|
+
" #{get_additional_properties}>"
|
103
|
+
end
|
89
104
|
end
|
90
105
|
end
|
@@ -134,5 +134,21 @@ module AdvancedBilling
|
|
134
134
|
is_model_hash: true)
|
135
135
|
)
|
136
136
|
end
|
137
|
+
|
138
|
+
# Provides a human-readable string representation of the object.
|
139
|
+
def to_s
|
140
|
+
class_name = self.class.name.split('::').last
|
141
|
+
"<#{class_name} id: #{@id}, timestamp: #{@timestamp}, invoice: #{@invoice}, event_type:"\
|
142
|
+
" #{@event_type}, event_data: #{@event_data}, additional_properties:"\
|
143
|
+
" #{get_additional_properties}>"
|
144
|
+
end
|
145
|
+
|
146
|
+
# Provides a debugging-friendly string with detailed object information.
|
147
|
+
def inspect
|
148
|
+
class_name = self.class.name.split('::').last
|
149
|
+
"<#{class_name} id: #{@id.inspect}, timestamp: #{@timestamp.inspect}, invoice:"\
|
150
|
+
" #{@invoice.inspect}, event_type: #{@event_type.inspect}, event_data:"\
|
151
|
+
" #{@event_data.inspect}, additional_properties: #{get_additional_properties}>"
|
152
|
+
end
|
137
153
|
end
|
138
154
|
end
|
@@ -124,5 +124,22 @@ module AdvancedBilling
|
|
124
124
|
->(val) { InvoiceStatus.validate(val) })
|
125
125
|
)
|
126
126
|
end
|
127
|
+
|
128
|
+
# Provides a human-readable string representation of the object.
|
129
|
+
def to_s
|
130
|
+
class_name = self.class.name.split('::').last
|
131
|
+
"<#{class_name} gateway_trans_id: #{@gateway_trans_id}, amount: #{@amount}, from_status:"\
|
132
|
+
" #{@from_status}, to_status: #{@to_status}, consolidation_level: #{@consolidation_level},"\
|
133
|
+
" additional_properties: #{get_additional_properties}>"
|
134
|
+
end
|
135
|
+
|
136
|
+
# Provides a debugging-friendly string with detailed object information.
|
137
|
+
def inspect
|
138
|
+
class_name = self.class.name.split('::').last
|
139
|
+
"<#{class_name} gateway_trans_id: #{@gateway_trans_id.inspect}, amount: #{@amount.inspect},"\
|
140
|
+
" from_status: #{@from_status.inspect}, to_status: #{@to_status.inspect},"\
|
141
|
+
" consolidation_level: #{@consolidation_level.inspect}, additional_properties:"\
|
142
|
+
" #{get_additional_properties}>"
|
143
|
+
end
|
127
144
|
end
|
128
145
|
end
|
@@ -135,5 +135,23 @@ module AdvancedBilling
|
|
135
135
|
def to_custom_created_at
|
136
136
|
DateTimeHelper.to_rfc3339(created_at)
|
137
137
|
end
|
138
|
+
|
139
|
+
# Provides a human-readable string representation of the object.
|
140
|
+
def to_s
|
141
|
+
class_name = self.class.name.split('::').last
|
142
|
+
"<#{class_name} timestamp: #{@timestamp}, id: #{@id}, created_at: #{@created_at},"\
|
143
|
+
" uniqueness_token: #{@uniqueness_token}, subscription_id: #{@subscription_id},"\
|
144
|
+
" subscription_reference: #{@subscription_reference}, additional_properties:"\
|
145
|
+
" #{get_additional_properties}>"
|
146
|
+
end
|
147
|
+
|
148
|
+
# Provides a debugging-friendly string with detailed object information.
|
149
|
+
def inspect
|
150
|
+
class_name = self.class.name.split('::').last
|
151
|
+
"<#{class_name} timestamp: #{@timestamp.inspect}, id: #{@id.inspect}, created_at:"\
|
152
|
+
" #{@created_at.inspect}, uniqueness_token: #{@uniqueness_token.inspect}, subscription_id:"\
|
153
|
+
" #{@subscription_id.inspect}, subscription_reference: #{@subscription_reference.inspect},"\
|
154
|
+
" additional_properties: #{get_additional_properties}>"
|
155
|
+
end
|
138
156
|
end
|
139
157
|
end
|
@@ -479,5 +479,50 @@ module AdvancedBilling
|
|
479
479
|
def to_custom_archived_at
|
480
480
|
DateTimeHelper.to_rfc3339(archived_at)
|
481
481
|
end
|
482
|
+
|
483
|
+
# Provides a human-readable string representation of the object.
|
484
|
+
def to_s
|
485
|
+
class_name = self.class.name.split('::').last
|
486
|
+
"<#{class_name} id: #{@id}, name: #{@name}, handle: #{@handle}, pricing_scheme:"\
|
487
|
+
" #{@pricing_scheme}, unit_name: #{@unit_name}, unit_price: #{@unit_price},"\
|
488
|
+
" product_family_id: #{@product_family_id}, product_family_name: #{@product_family_name},"\
|
489
|
+
" price_per_unit_in_cents: #{@price_per_unit_in_cents}, kind: #{@kind}, archived:"\
|
490
|
+
" #{@archived}, taxable: #{@taxable}, description: #{@description}, default_price_point_id:"\
|
491
|
+
" #{@default_price_point_id}, overage_prices: #{@overage_prices}, prices: #{@prices},"\
|
492
|
+
" price_point_count: #{@price_point_count}, price_points_url: #{@price_points_url},"\
|
493
|
+
" default_price_point_name: #{@default_price_point_name}, tax_code: #{@tax_code}, recurring:"\
|
494
|
+
" #{@recurring}, upgrade_charge: #{@upgrade_charge}, downgrade_credit: #{@downgrade_credit},"\
|
495
|
+
" created_at: #{@created_at}, updated_at: #{@updated_at}, archived_at: #{@archived_at},"\
|
496
|
+
" hide_date_range_on_invoice: #{@hide_date_range_on_invoice}, allow_fractional_quantities:"\
|
497
|
+
" #{@allow_fractional_quantities}, item_category: #{@item_category}, use_site_exchange_rate:"\
|
498
|
+
" #{@use_site_exchange_rate}, accounting_code: #{@accounting_code},"\
|
499
|
+
" event_based_billing_metric_id: #{@event_based_billing_metric_id}, interval: #{@interval},"\
|
500
|
+
" interval_unit: #{@interval_unit}, additional_properties: #{get_additional_properties}>"
|
501
|
+
end
|
502
|
+
|
503
|
+
# Provides a debugging-friendly string with detailed object information.
|
504
|
+
def inspect
|
505
|
+
class_name = self.class.name.split('::').last
|
506
|
+
"<#{class_name} id: #{@id.inspect}, name: #{@name.inspect}, handle: #{@handle.inspect},"\
|
507
|
+
" pricing_scheme: #{@pricing_scheme.inspect}, unit_name: #{@unit_name.inspect}, unit_price:"\
|
508
|
+
" #{@unit_price.inspect}, product_family_id: #{@product_family_id.inspect},"\
|
509
|
+
" product_family_name: #{@product_family_name.inspect}, price_per_unit_in_cents:"\
|
510
|
+
" #{@price_per_unit_in_cents.inspect}, kind: #{@kind.inspect}, archived:"\
|
511
|
+
" #{@archived.inspect}, taxable: #{@taxable.inspect}, description: #{@description.inspect},"\
|
512
|
+
" default_price_point_id: #{@default_price_point_id.inspect}, overage_prices:"\
|
513
|
+
" #{@overage_prices.inspect}, prices: #{@prices.inspect}, price_point_count:"\
|
514
|
+
" #{@price_point_count.inspect}, price_points_url: #{@price_points_url.inspect},"\
|
515
|
+
" default_price_point_name: #{@default_price_point_name.inspect}, tax_code:"\
|
516
|
+
" #{@tax_code.inspect}, recurring: #{@recurring.inspect}, upgrade_charge:"\
|
517
|
+
" #{@upgrade_charge.inspect}, downgrade_credit: #{@downgrade_credit.inspect}, created_at:"\
|
518
|
+
" #{@created_at.inspect}, updated_at: #{@updated_at.inspect}, archived_at:"\
|
519
|
+
" #{@archived_at.inspect}, hide_date_range_on_invoice:"\
|
520
|
+
" #{@hide_date_range_on_invoice.inspect}, allow_fractional_quantities:"\
|
521
|
+
" #{@allow_fractional_quantities.inspect}, item_category: #{@item_category.inspect},"\
|
522
|
+
" use_site_exchange_rate: #{@use_site_exchange_rate.inspect}, accounting_code:"\
|
523
|
+
" #{@accounting_code.inspect}, event_based_billing_metric_id:"\
|
524
|
+
" #{@event_based_billing_metric_id.inspect}, interval: #{@interval.inspect}, interval_unit:"\
|
525
|
+
" #{@interval_unit.inspect}, additional_properties: #{get_additional_properties}>"
|
526
|
+
end
|
482
527
|
end
|
483
528
|
end
|
@@ -148,5 +148,25 @@ module AdvancedBilling
|
|
148
148
|
->(val) { val.instance_of? Integer })
|
149
149
|
)
|
150
150
|
end
|
151
|
+
|
152
|
+
# Provides a human-readable string representation of the object.
|
153
|
+
def to_s
|
154
|
+
class_name = self.class.name.split('::').last
|
155
|
+
"<#{class_name} previous_allocation: #{@previous_allocation}, new_allocation:"\
|
156
|
+
" #{@new_allocation}, component_id: #{@component_id}, component_handle:"\
|
157
|
+
" #{@component_handle}, memo: #{@memo}, allocation_id: #{@allocation_id},"\
|
158
|
+
" allocated_quantity: #{@allocated_quantity}, additional_properties:"\
|
159
|
+
" #{get_additional_properties}>"
|
160
|
+
end
|
161
|
+
|
162
|
+
# Provides a debugging-friendly string with detailed object information.
|
163
|
+
def inspect
|
164
|
+
class_name = self.class.name.split('::').last
|
165
|
+
"<#{class_name} previous_allocation: #{@previous_allocation.inspect}, new_allocation:"\
|
166
|
+
" #{@new_allocation.inspect}, component_id: #{@component_id.inspect}, component_handle:"\
|
167
|
+
" #{@component_handle.inspect}, memo: #{@memo.inspect}, allocation_id:"\
|
168
|
+
" #{@allocation_id.inspect}, allocated_quantity: #{@allocated_quantity.inspect},"\
|
169
|
+
" additional_properties: #{get_additional_properties}>"
|
170
|
+
end
|
151
171
|
end
|
152
172
|
end
|
@@ -83,5 +83,20 @@ module AdvancedBilling
|
|
83
83
|
on: on,
|
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} component_id: #{@component_id}, message: #{@message}, kind: #{@kind}, on:"\
|
91
|
+
" #{@on}, additional_properties: #{get_additional_properties}>"
|
92
|
+
end
|
93
|
+
|
94
|
+
# Provides a debugging-friendly string with detailed object information.
|
95
|
+
def inspect
|
96
|
+
class_name = self.class.name.split('::').last
|
97
|
+
"<#{class_name} component_id: #{@component_id.inspect}, message: #{@message.inspect}, kind:"\
|
98
|
+
" #{@kind.inspect}, on: #{@on.inspect}, additional_properties:"\
|
99
|
+
" #{get_additional_properties}>"
|
100
|
+
end
|
86
101
|
end
|
87
102
|
end
|
@@ -139,5 +139,24 @@ module AdvancedBilling
|
|
139
139
|
|
140
140
|
true
|
141
141
|
end
|
142
|
+
|
143
|
+
# Provides a human-readable string representation of the object.
|
144
|
+
def to_s
|
145
|
+
class_name = self.class.name.split('::').last
|
146
|
+
"<#{class_name} component_code_id: #{@component_code_id}, price_point_id:"\
|
147
|
+
" #{@price_point_id}, product_id: #{@product_id}, quantity: #{@quantity}, amount:"\
|
148
|
+
" #{@amount}, pricing_scheme: #{@pricing_scheme}, tiers: #{@tiers}, additional_properties:"\
|
149
|
+
" #{get_additional_properties}>"
|
150
|
+
end
|
151
|
+
|
152
|
+
# Provides a debugging-friendly string with detailed object information.
|
153
|
+
def inspect
|
154
|
+
class_name = self.class.name.split('::').last
|
155
|
+
"<#{class_name} component_code_id: #{@component_code_id.inspect}, price_point_id:"\
|
156
|
+
" #{@price_point_id.inspect}, product_id: #{@product_id.inspect}, quantity:"\
|
157
|
+
" #{@quantity.inspect}, amount: #{@amount.inspect}, pricing_scheme:"\
|
158
|
+
" #{@pricing_scheme.inspect}, tiers: #{@tiers.inspect}, additional_properties:"\
|
159
|
+
" #{get_additional_properties}>"
|
160
|
+
end
|
142
161
|
end
|
143
162
|
end
|
@@ -107,5 +107,22 @@ module AdvancedBilling
|
|
107
107
|
|
108
108
|
true
|
109
109
|
end
|
110
|
+
|
111
|
+
# Provides a human-readable string representation of the object.
|
112
|
+
def to_s
|
113
|
+
class_name = self.class.name.split('::').last
|
114
|
+
"<#{class_name} starting_quantity: #{@starting_quantity}, ending_quantity:"\
|
115
|
+
" #{@ending_quantity}, quantity: #{@quantity}, unit_price: #{@unit_price}, amount:"\
|
116
|
+
" #{@amount}, additional_properties: #{get_additional_properties}>"
|
117
|
+
end
|
118
|
+
|
119
|
+
# Provides a debugging-friendly string with detailed object information.
|
120
|
+
def inspect
|
121
|
+
class_name = self.class.name.split('::').last
|
122
|
+
"<#{class_name} starting_quantity: #{@starting_quantity.inspect}, ending_quantity:"\
|
123
|
+
" #{@ending_quantity.inspect}, quantity: #{@quantity.inspect}, unit_price:"\
|
124
|
+
" #{@unit_price.inspect}, amount: #{@amount.inspect}, additional_properties:"\
|
125
|
+
" #{get_additional_properties}>"
|
126
|
+
end
|
110
127
|
end
|
111
128
|
end
|
@@ -104,5 +104,22 @@ module AdvancedBilling
|
|
104
104
|
price_point_id: price_point_id,
|
105
105
|
additional_properties: additional_properties)
|
106
106
|
end
|
107
|
+
|
108
|
+
# Provides a human-readable string representation of the object.
|
109
|
+
def to_s
|
110
|
+
class_name = self.class.name.split('::').last
|
111
|
+
"<#{class_name} id: #{@id}, currency: #{@currency}, price: #{@price}, formatted_price:"\
|
112
|
+
" #{@formatted_price}, price_id: #{@price_id}, price_point_id: #{@price_point_id},"\
|
113
|
+
" additional_properties: #{get_additional_properties}>"
|
114
|
+
end
|
115
|
+
|
116
|
+
# Provides a debugging-friendly string with detailed object information.
|
117
|
+
def inspect
|
118
|
+
class_name = self.class.name.split('::').last
|
119
|
+
"<#{class_name} id: #{@id.inspect}, currency: #{@currency.inspect}, price:"\
|
120
|
+
" #{@price.inspect}, formatted_price: #{@formatted_price.inspect}, price_id:"\
|
121
|
+
" #{@price_id.inspect}, price_point_id: #{@price_point_id.inspect}, additional_properties:"\
|
122
|
+
" #{get_additional_properties}>"
|
123
|
+
end
|
107
124
|
end
|
108
125
|
end
|
@@ -62,5 +62,19 @@ module AdvancedBilling
|
|
62
62
|
ComponentCurrencyPricesResponse.new(currency_prices: currency_prices,
|
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} currency_prices: #{@currency_prices}, 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} currency_prices: #{@currency_prices.inspect}, additional_properties:"\
|
77
|
+
" #{get_additional_properties}>"
|
78
|
+
end
|
65
79
|
end
|
66
80
|
end
|
@@ -128,5 +128,22 @@ module AdvancedBilling
|
|
128
128
|
is_model_hash: true,
|
129
129
|
is_inner_model_hash: true)
|
130
130
|
end
|
131
|
+
|
132
|
+
# Provides a human-readable string representation of the object.
|
133
|
+
def to_s
|
134
|
+
class_name = self.class.name.split('::').last
|
135
|
+
"<#{class_name} tax_included: #{@tax_included}, pricing_scheme: #{@pricing_scheme},"\
|
136
|
+
" interval: #{@interval}, interval_unit: #{@interval_unit}, prices: #{@prices},"\
|
137
|
+
" additional_properties: #{get_additional_properties}>"
|
138
|
+
end
|
139
|
+
|
140
|
+
# Provides a debugging-friendly string with detailed object information.
|
141
|
+
def inspect
|
142
|
+
class_name = self.class.name.split('::').last
|
143
|
+
"<#{class_name} tax_included: #{@tax_included.inspect}, pricing_scheme:"\
|
144
|
+
" #{@pricing_scheme.inspect}, interval: #{@interval.inspect}, interval_unit:"\
|
145
|
+
" #{@interval_unit.inspect}, prices: #{@prices.inspect}, additional_properties:"\
|
146
|
+
" #{get_additional_properties}>"
|
147
|
+
end
|
131
148
|
end
|
132
149
|
end
|
@@ -128,5 +128,24 @@ module AdvancedBilling
|
|
128
128
|
segment_id: segment_id,
|
129
129
|
additional_properties: additional_properties)
|
130
130
|
end
|
131
|
+
|
132
|
+
# Provides a human-readable string representation of the object.
|
133
|
+
def to_s
|
134
|
+
class_name = self.class.name.split('::').last
|
135
|
+
"<#{class_name} id: #{@id}, component_id: #{@component_id}, starting_quantity:"\
|
136
|
+
" #{@starting_quantity}, ending_quantity: #{@ending_quantity}, unit_price: #{@unit_price},"\
|
137
|
+
" price_point_id: #{@price_point_id}, formatted_unit_price: #{@formatted_unit_price},"\
|
138
|
+
" segment_id: #{@segment_id}, additional_properties: #{get_additional_properties}>"
|
139
|
+
end
|
140
|
+
|
141
|
+
# Provides a debugging-friendly string with detailed object information.
|
142
|
+
def inspect
|
143
|
+
class_name = self.class.name.split('::').last
|
144
|
+
"<#{class_name} id: #{@id.inspect}, component_id: #{@component_id.inspect},"\
|
145
|
+
" starting_quantity: #{@starting_quantity.inspect}, ending_quantity:"\
|
146
|
+
" #{@ending_quantity.inspect}, unit_price: #{@unit_price.inspect}, price_point_id:"\
|
147
|
+
" #{@price_point_id.inspect}, formatted_unit_price: #{@formatted_unit_price.inspect},"\
|
148
|
+
" segment_id: #{@segment_id.inspect}, additional_properties: #{get_additional_properties}>"
|
149
|
+
end
|
131
150
|
end
|
132
151
|
end
|
@@ -373,5 +373,40 @@ module AdvancedBilling
|
|
373
373
|
def to_custom_updated_at
|
374
374
|
DateTimeHelper.to_rfc3339(updated_at)
|
375
375
|
end
|
376
|
+
|
377
|
+
# Provides a human-readable string representation of the object.
|
378
|
+
def to_s
|
379
|
+
class_name = self.class.name.split('::').last
|
380
|
+
"<#{class_name} id: #{@id}, type: #{@type}, default: #{@default}, name: #{@name},"\
|
381
|
+
" pricing_scheme: #{@pricing_scheme}, component_id: #{@component_id}, handle: #{@handle},"\
|
382
|
+
" archived_at: #{@archived_at}, created_at: #{@created_at}, updated_at: #{@updated_at},"\
|
383
|
+
" prices: #{@prices}, use_site_exchange_rate: #{@use_site_exchange_rate}, subscription_id:"\
|
384
|
+
" #{@subscription_id}, tax_included: #{@tax_included}, interval: #{@interval},"\
|
385
|
+
" interval_unit: #{@interval_unit}, currency_prices: #{@currency_prices}, overage_prices:"\
|
386
|
+
" #{@overage_prices}, overage_pricing_scheme: #{@overage_pricing_scheme},"\
|
387
|
+
" renew_prepaid_allocation: #{@renew_prepaid_allocation}, rollover_prepaid_remainder:"\
|
388
|
+
" #{@rollover_prepaid_remainder}, expiration_interval: #{@expiration_interval},"\
|
389
|
+
" expiration_interval_unit: #{@expiration_interval_unit}, additional_properties:"\
|
390
|
+
" #{get_additional_properties}>"
|
391
|
+
end
|
392
|
+
|
393
|
+
# Provides a debugging-friendly string with detailed object information.
|
394
|
+
def inspect
|
395
|
+
class_name = self.class.name.split('::').last
|
396
|
+
"<#{class_name} id: #{@id.inspect}, type: #{@type.inspect}, default: #{@default.inspect},"\
|
397
|
+
" name: #{@name.inspect}, pricing_scheme: #{@pricing_scheme.inspect}, component_id:"\
|
398
|
+
" #{@component_id.inspect}, handle: #{@handle.inspect}, archived_at:"\
|
399
|
+
" #{@archived_at.inspect}, created_at: #{@created_at.inspect}, updated_at:"\
|
400
|
+
" #{@updated_at.inspect}, prices: #{@prices.inspect}, use_site_exchange_rate:"\
|
401
|
+
" #{@use_site_exchange_rate.inspect}, subscription_id: #{@subscription_id.inspect},"\
|
402
|
+
" tax_included: #{@tax_included.inspect}, interval: #{@interval.inspect}, interval_unit:"\
|
403
|
+
" #{@interval_unit.inspect}, currency_prices: #{@currency_prices.inspect}, overage_prices:"\
|
404
|
+
" #{@overage_prices.inspect}, overage_pricing_scheme: #{@overage_pricing_scheme.inspect},"\
|
405
|
+
" renew_prepaid_allocation: #{@renew_prepaid_allocation.inspect},"\
|
406
|
+
" rollover_prepaid_remainder: #{@rollover_prepaid_remainder.inspect}, expiration_interval:"\
|
407
|
+
" #{@expiration_interval.inspect}, expiration_interval_unit:"\
|
408
|
+
" #{@expiration_interval_unit.inspect}, additional_properties:"\
|
409
|
+
" #{get_additional_properties}>"
|
410
|
+
end
|
376
411
|
end
|
377
412
|
end
|
@@ -77,5 +77,19 @@ module AdvancedBilling
|
|
77
77
|
|
78
78
|
true
|
79
79
|
end
|
80
|
+
|
81
|
+
# Provides a human-readable string representation of the object.
|
82
|
+
def to_s
|
83
|
+
class_name = self.class.name.split('::').last
|
84
|
+
"<#{class_name} component_id: #{@component_id}, price_point: #{@price_point},"\
|
85
|
+
" additional_properties: #{get_additional_properties}>"
|
86
|
+
end
|
87
|
+
|
88
|
+
# Provides a debugging-friendly string with detailed object information.
|
89
|
+
def inspect
|
90
|
+
class_name = self.class.name.split('::').last
|
91
|
+
"<#{class_name} component_id: #{@component_id.inspect}, price_point:"\
|
92
|
+
" #{@price_point.inspect}, additional_properties: #{get_additional_properties}>"
|
93
|
+
end
|
80
94
|
end
|
81
95
|
end
|
@@ -74,5 +74,20 @@ module AdvancedBilling
|
|
74
74
|
price_point: price_point,
|
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} component_id: #{@component_id}, message: #{@message}, price_point:"\
|
82
|
+
" #{@price_point}, 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} component_id: #{@component_id.inspect}, message: #{@message.inspect},"\
|
89
|
+
" price_point: #{@price_point.inspect}, additional_properties:"\
|
90
|
+
" #{get_additional_properties}>"
|
91
|
+
end
|
77
92
|
end
|
78
93
|
end
|
@@ -133,5 +133,22 @@ module AdvancedBilling
|
|
133
133
|
|
134
134
|
true
|
135
135
|
end
|
136
|
+
|
137
|
+
# Provides a human-readable string representation of the object.
|
138
|
+
def to_s
|
139
|
+
class_name = self.class.name.split('::').last
|
140
|
+
"<#{class_name} name: #{@name}, handle: #{@handle}, pricing_scheme: #{@pricing_scheme},"\
|
141
|
+
" interval: #{@interval}, interval_unit: #{@interval_unit}, prices: #{@prices},"\
|
142
|
+
" additional_properties: #{get_additional_properties}>"
|
143
|
+
end
|
144
|
+
|
145
|
+
# Provides a debugging-friendly string with detailed object information.
|
146
|
+
def inspect
|
147
|
+
class_name = self.class.name.split('::').last
|
148
|
+
"<#{class_name} name: #{@name.inspect}, handle: #{@handle.inspect}, pricing_scheme:"\
|
149
|
+
" #{@pricing_scheme.inspect}, interval: #{@interval.inspect}, interval_unit:"\
|
150
|
+
" #{@interval_unit.inspect}, prices: #{@prices.inspect}, additional_properties:"\
|
151
|
+
" #{get_additional_properties}>"
|
152
|
+
end
|
136
153
|
end
|
137
154
|
end
|
@@ -53,5 +53,19 @@ module AdvancedBilling
|
|
53
53
|
ComponentPricePointResponse.new(price_point: price_point,
|
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} price_point: #{@price_point}, additional_properties:"\
|
61
|
+
" #{get_additional_properties}>"
|
62
|
+
end
|
63
|
+
|
64
|
+
# Provides a debugging-friendly string with detailed object information.
|
65
|
+
def inspect
|
66
|
+
class_name = self.class.name.split('::').last
|
67
|
+
"<#{class_name} price_point: #{@price_point.inspect}, additional_properties:"\
|
68
|
+
" #{get_additional_properties}>"
|
69
|
+
end
|
56
70
|
end
|
57
71
|
end
|
@@ -73,5 +73,19 @@ module AdvancedBilling
|
|
73
73
|
meta: meta,
|
74
74
|
additional_properties: additional_properties)
|
75
75
|
end
|
76
|
+
|
77
|
+
# Provides a human-readable string representation of the object.
|
78
|
+
def to_s
|
79
|
+
class_name = self.class.name.split('::').last
|
80
|
+
"<#{class_name} price_points: #{@price_points}, meta: #{@meta}, additional_properties:"\
|
81
|
+
" #{get_additional_properties}>"
|
82
|
+
end
|
83
|
+
|
84
|
+
# Provides a debugging-friendly string with detailed object information.
|
85
|
+
def inspect
|
86
|
+
class_name = self.class.name.split('::').last
|
87
|
+
"<#{class_name} price_points: #{@price_points.inspect}, meta: #{@meta.inspect},"\
|
88
|
+
" additional_properties: #{get_additional_properties}>"
|
89
|
+
end
|
76
90
|
end
|
77
91
|
end
|
@@ -53,5 +53,19 @@ module AdvancedBilling
|
|
53
53
|
ComponentResponse.new(component: component,
|
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} component: #{@component}, additional_properties:"\
|
61
|
+
" #{get_additional_properties}>"
|
62
|
+
end
|
63
|
+
|
64
|
+
# Provides a debugging-friendly string with detailed object information.
|
65
|
+
def inspect
|
66
|
+
class_name = self.class.name.split('::').last
|
67
|
+
"<#{class_name} component: #{@component.inspect}, additional_properties:"\
|
68
|
+
" #{get_additional_properties}>"
|
69
|
+
end
|
56
70
|
end
|
57
71
|
end
|
@@ -64,5 +64,19 @@ module AdvancedBilling
|
|
64
64
|
ConsolidatedInvoice.new(invoices: invoices,
|
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} invoices: #{@invoices}, 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} invoices: #{@invoices.inspect}, additional_properties:"\
|
79
|
+
" #{get_additional_properties}>"
|
80
|
+
end
|
67
81
|
end
|
68
82
|
end
|
@@ -55,5 +55,18 @@ module AdvancedBilling
|
|
55
55
|
CountResponse.new(count: count,
|
56
56
|
additional_properties: additional_properties)
|
57
57
|
end
|
58
|
+
|
59
|
+
# Provides a human-readable string representation of the object.
|
60
|
+
def to_s
|
61
|
+
class_name = self.class.name.split('::').last
|
62
|
+
"<#{class_name} count: #{@count}, additional_properties: #{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} count: #{@count.inspect}, additional_properties:"\
|
69
|
+
" #{get_additional_properties}>"
|
70
|
+
end
|
58
71
|
end
|
59
72
|
end
|
@@ -494,5 +494,51 @@ module AdvancedBilling
|
|
494
494
|
def to_custom_updated_at
|
495
495
|
DateTimeHelper.to_rfc3339(updated_at)
|
496
496
|
end
|
497
|
+
|
498
|
+
# Provides a human-readable string representation of the object.
|
499
|
+
def to_s
|
500
|
+
class_name = self.class.name.split('::').last
|
501
|
+
"<#{class_name} id: #{@id}, name: #{@name}, code: #{@code}, description: #{@description},"\
|
502
|
+
" amount: #{@amount}, amount_in_cents: #{@amount_in_cents}, product_family_id:"\
|
503
|
+
" #{@product_family_id}, product_family_name: #{@product_family_name}, start_date:"\
|
504
|
+
" #{@start_date}, end_date: #{@end_date}, percentage: #{@percentage}, recurring:"\
|
505
|
+
" #{@recurring}, recurring_scheme: #{@recurring_scheme}, duration_period_count:"\
|
506
|
+
" #{@duration_period_count}, duration_interval: #{@duration_interval},"\
|
507
|
+
" duration_interval_unit: #{@duration_interval_unit}, duration_interval_span:"\
|
508
|
+
" #{@duration_interval_span}, allow_negative_balance: #{@allow_negative_balance},"\
|
509
|
+
" archived_at: #{@archived_at}, conversion_limit: #{@conversion_limit}, stackable:"\
|
510
|
+
" #{@stackable}, compounding_strategy: #{@compounding_strategy}, use_site_exchange_rate:"\
|
511
|
+
" #{@use_site_exchange_rate}, created_at: #{@created_at}, updated_at: #{@updated_at},"\
|
512
|
+
" discount_type: #{@discount_type}, exclude_mid_period_allocations:"\
|
513
|
+
" #{@exclude_mid_period_allocations}, apply_on_cancel_at_end_of_period:"\
|
514
|
+
" #{@apply_on_cancel_at_end_of_period}, apply_on_subscription_expiration:"\
|
515
|
+
" #{@apply_on_subscription_expiration}, coupon_restrictions: #{@coupon_restrictions},"\
|
516
|
+
" currency_prices: #{@currency_prices}, additional_properties:"\
|
517
|
+
" #{get_additional_properties}>"
|
518
|
+
end
|
519
|
+
|
520
|
+
# Provides a debugging-friendly string with detailed object information.
|
521
|
+
def inspect
|
522
|
+
class_name = self.class.name.split('::').last
|
523
|
+
"<#{class_name} id: #{@id.inspect}, name: #{@name.inspect}, code: #{@code.inspect},"\
|
524
|
+
" description: #{@description.inspect}, amount: #{@amount.inspect}, amount_in_cents:"\
|
525
|
+
" #{@amount_in_cents.inspect}, product_family_id: #{@product_family_id.inspect},"\
|
526
|
+
" product_family_name: #{@product_family_name.inspect}, start_date: #{@start_date.inspect},"\
|
527
|
+
" end_date: #{@end_date.inspect}, percentage: #{@percentage.inspect}, recurring:"\
|
528
|
+
" #{@recurring.inspect}, recurring_scheme: #{@recurring_scheme.inspect},"\
|
529
|
+
" duration_period_count: #{@duration_period_count.inspect}, duration_interval:"\
|
530
|
+
" #{@duration_interval.inspect}, duration_interval_unit: #{@duration_interval_unit.inspect},"\
|
531
|
+
" duration_interval_span: #{@duration_interval_span.inspect}, allow_negative_balance:"\
|
532
|
+
" #{@allow_negative_balance.inspect}, archived_at: #{@archived_at.inspect},"\
|
533
|
+
" conversion_limit: #{@conversion_limit.inspect}, stackable: #{@stackable.inspect},"\
|
534
|
+
" compounding_strategy: #{@compounding_strategy.inspect}, use_site_exchange_rate:"\
|
535
|
+
" #{@use_site_exchange_rate.inspect}, created_at: #{@created_at.inspect}, updated_at:"\
|
536
|
+
" #{@updated_at.inspect}, discount_type: #{@discount_type.inspect},"\
|
537
|
+
" exclude_mid_period_allocations: #{@exclude_mid_period_allocations.inspect},"\
|
538
|
+
" apply_on_cancel_at_end_of_period: #{@apply_on_cancel_at_end_of_period.inspect},"\
|
539
|
+
" apply_on_subscription_expiration: #{@apply_on_subscription_expiration.inspect},"\
|
540
|
+
" coupon_restrictions: #{@coupon_restrictions.inspect}, currency_prices:"\
|
541
|
+
" #{@currency_prices.inspect}, additional_properties: #{get_additional_properties}>"
|
542
|
+
end
|
497
543
|
end
|
498
544
|
end
|