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
@@ -137,5 +137,24 @@ module AdvancedBilling
|
|
137
137
|
def to_custom_current_period_starts_at
|
138
138
|
DateTimeHelper.to_rfc3339(current_period_starts_at)
|
139
139
|
end
|
140
|
+
|
141
|
+
# Provides a human-readable string representation of the object.
|
142
|
+
def to_s
|
143
|
+
class_name = self.class.name.split('::').last
|
144
|
+
"<#{class_name} activated_at: #{@activated_at}, canceled_at: #{@canceled_at},"\
|
145
|
+
" cancellation_message: #{@cancellation_message}, expires_at: #{@expires_at},"\
|
146
|
+
" current_period_starts_at: #{@current_period_starts_at}, additional_properties:"\
|
147
|
+
" #{get_additional_properties}>"
|
148
|
+
end
|
149
|
+
|
150
|
+
# Provides a debugging-friendly string with detailed object information.
|
151
|
+
def inspect
|
152
|
+
class_name = self.class.name.split('::').last
|
153
|
+
"<#{class_name} activated_at: #{@activated_at.inspect}, canceled_at:"\
|
154
|
+
" #{@canceled_at.inspect}, cancellation_message: #{@cancellation_message.inspect},"\
|
155
|
+
" expires_at: #{@expires_at.inspect}, current_period_starts_at:"\
|
156
|
+
" #{@current_period_starts_at.inspect}, additional_properties:"\
|
157
|
+
" #{get_additional_properties}>"
|
158
|
+
end
|
140
159
|
end
|
141
160
|
end
|
@@ -53,5 +53,19 @@ module AdvancedBilling
|
|
53
53
|
OverrideSubscriptionRequest.new(subscription: subscription,
|
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} subscription: #{@subscription}, 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} subscription: #{@subscription.inspect}, additional_properties:"\
|
68
|
+
" #{get_additional_properties}>"
|
69
|
+
end
|
56
70
|
end
|
57
71
|
end
|
@@ -101,5 +101,22 @@ module AdvancedBilling
|
|
101
101
|
metadata: metadata,
|
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}, metadata: #{@metadata}, additional_properties:"\
|
110
|
+
" #{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}, metadata: #{@metadata.inspect}, additional_properties:"\
|
119
|
+
" #{get_additional_properties}>"
|
120
|
+
end
|
104
121
|
end
|
105
122
|
end
|
@@ -85,5 +85,20 @@ module AdvancedBilling
|
|
85
85
|
paid_amount: paid_amount,
|
86
86
|
additional_properties: additional_properties)
|
87
87
|
end
|
88
|
+
|
89
|
+
# Provides a human-readable string representation of the object.
|
90
|
+
def to_s
|
91
|
+
class_name = self.class.name.split('::').last
|
92
|
+
"<#{class_name} invoice_id: #{@invoice_id}, status: #{@status}, due_amount: #{@due_amount},"\
|
93
|
+
" paid_amount: #{@paid_amount}, additional_properties: #{get_additional_properties}>"
|
94
|
+
end
|
95
|
+
|
96
|
+
# Provides a debugging-friendly string with detailed object information.
|
97
|
+
def inspect
|
98
|
+
class_name = self.class.name.split('::').last
|
99
|
+
"<#{class_name} invoice_id: #{@invoice_id.inspect}, status: #{@status.inspect}, due_amount:"\
|
100
|
+
" #{@due_amount.inspect}, paid_amount: #{@paid_amount.inspect}, additional_properties:"\
|
101
|
+
" #{get_additional_properties}>"
|
102
|
+
end
|
88
103
|
end
|
89
104
|
end
|
@@ -55,5 +55,18 @@ module AdvancedBilling
|
|
55
55
|
PauseRequest.new(hold: hold,
|
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} hold: #{@hold}, 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} hold: #{@hold.inspect}, additional_properties:"\
|
69
|
+
" #{get_additional_properties}>"
|
70
|
+
end
|
58
71
|
end
|
59
72
|
end
|
@@ -226,5 +226,29 @@ module AdvancedBilling
|
|
226
226
|
|
227
227
|
true
|
228
228
|
end
|
229
|
+
|
230
|
+
# Provides a human-readable string representation of the object.
|
231
|
+
def to_s
|
232
|
+
class_name = self.class.name.split('::').last
|
233
|
+
"<#{class_name} first_name: #{@first_name}, last_name: #{@last_name}, email: #{@email},"\
|
234
|
+
" cc_emails: #{@cc_emails}, organization: #{@organization}, reference: #{@reference},"\
|
235
|
+
" address: #{@address}, address_2: #{@address_2}, city: #{@city}, state: #{@state}, zip:"\
|
236
|
+
" #{@zip}, country: #{@country}, phone: #{@phone}, locale: #{@locale}, vat_number:"\
|
237
|
+
" #{@vat_number}, tax_exempt: #{@tax_exempt}, tax_exempt_reason: #{@tax_exempt_reason},"\
|
238
|
+
" metafields: #{@metafields}, additional_properties: #{get_additional_properties}>"
|
239
|
+
end
|
240
|
+
|
241
|
+
# Provides a debugging-friendly string with detailed object information.
|
242
|
+
def inspect
|
243
|
+
class_name = self.class.name.split('::').last
|
244
|
+
"<#{class_name} first_name: #{@first_name.inspect}, last_name: #{@last_name.inspect},"\
|
245
|
+
" email: #{@email.inspect}, cc_emails: #{@cc_emails.inspect}, organization:"\
|
246
|
+
" #{@organization.inspect}, reference: #{@reference.inspect}, address: #{@address.inspect},"\
|
247
|
+
" address_2: #{@address_2.inspect}, city: #{@city.inspect}, state: #{@state.inspect}, zip:"\
|
248
|
+
" #{@zip.inspect}, country: #{@country.inspect}, phone: #{@phone.inspect}, locale:"\
|
249
|
+
" #{@locale.inspect}, vat_number: #{@vat_number.inspect}, tax_exempt:"\
|
250
|
+
" #{@tax_exempt.inspect}, tax_exempt_reason: #{@tax_exempt_reason.inspect}, metafields:"\
|
251
|
+
" #{@metafields.inspect}, additional_properties: #{get_additional_properties}>"
|
252
|
+
end
|
229
253
|
end
|
230
254
|
end
|
@@ -74,5 +74,19 @@ module AdvancedBilling
|
|
74
74
|
email: email,
|
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} last_name: #{@last_name}, first_name: #{@first_name}, email: #{@email},"\
|
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} last_name: #{@last_name.inspect}, first_name: #{@first_name.inspect},"\
|
89
|
+
" email: #{@email.inspect}, additional_properties: #{get_additional_properties}>"
|
90
|
+
end
|
77
91
|
end
|
78
92
|
end
|
@@ -84,5 +84,19 @@ module AdvancedBilling
|
|
84
84
|
->(val) { val.instance_of? String })
|
85
85
|
)
|
86
86
|
end
|
87
|
+
|
88
|
+
# Provides a human-readable string representation of the object.
|
89
|
+
def to_s
|
90
|
+
class_name = self.class.name.split('::').last
|
91
|
+
"<#{class_name} previous_value: #{@previous_value}, current_value: #{@current_value},"\
|
92
|
+
" additional_properties: #{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} previous_value: #{@previous_value.inspect}, current_value:"\
|
99
|
+
" #{@current_value.inspect}, additional_properties: #{get_additional_properties}>"
|
100
|
+
end
|
87
101
|
end
|
88
102
|
end
|
@@ -94,5 +94,20 @@ module AdvancedBilling
|
|
94
94
|
|
95
95
|
true
|
96
96
|
end
|
97
|
+
|
98
|
+
# Provides a human-readable string representation of the object.
|
99
|
+
def to_s
|
100
|
+
class_name = self.class.name.split('::').last
|
101
|
+
"<#{class_name} id: #{@id}, amount_in_cents: #{@amount_in_cents}, success: #{@success},"\
|
102
|
+
" memo: #{@memo}, additional_properties: #{get_additional_properties}>"
|
103
|
+
end
|
104
|
+
|
105
|
+
# Provides a debugging-friendly string with detailed object information.
|
106
|
+
def inspect
|
107
|
+
class_name = self.class.name.split('::').last
|
108
|
+
"<#{class_name} id: #{@id.inspect}, amount_in_cents: #{@amount_in_cents.inspect}, success:"\
|
109
|
+
" #{@success.inspect}, memo: #{@memo.inspect}, additional_properties:"\
|
110
|
+
" #{get_additional_properties}>"
|
111
|
+
end
|
97
112
|
end
|
98
113
|
end
|
@@ -67,5 +67,18 @@ module AdvancedBilling
|
|
67
67
|
APIHelper.valid_type?(value['type'],
|
68
68
|
->(val) { InvoiceEventPaymentMethod.validate(val) })
|
69
69
|
end
|
70
|
+
|
71
|
+
# Provides a human-readable string representation of the object.
|
72
|
+
def to_s
|
73
|
+
class_name = self.class.name.split('::').last
|
74
|
+
"<#{class_name} type: #{@type}, additional_properties: #{get_additional_properties}>"
|
75
|
+
end
|
76
|
+
|
77
|
+
# Provides a debugging-friendly string with detailed object information.
|
78
|
+
def inspect
|
79
|
+
class_name = self.class.name.split('::').last
|
80
|
+
"<#{class_name} type: #{@type.inspect}, additional_properties:"\
|
81
|
+
" #{get_additional_properties}>"
|
82
|
+
end
|
70
83
|
end
|
71
84
|
end
|
@@ -98,5 +98,21 @@ module AdvancedBilling
|
|
98
98
|
->(val) { InvoiceEventPaymentMethod.validate(val) })
|
99
99
|
)
|
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} masked_account_number: #{@masked_account_number}, masked_routing_number:"\
|
106
|
+
" #{@masked_routing_number}, type: #{@type}, additional_properties:"\
|
107
|
+
" #{get_additional_properties}>"
|
108
|
+
end
|
109
|
+
|
110
|
+
# Provides a debugging-friendly string with detailed object information.
|
111
|
+
def inspect
|
112
|
+
class_name = self.class.name.split('::').last
|
113
|
+
"<#{class_name} masked_account_number: #{@masked_account_number.inspect},"\
|
114
|
+
" masked_routing_number: #{@masked_routing_number.inspect}, type: #{@type.inspect},"\
|
115
|
+
" additional_properties: #{get_additional_properties}>"
|
116
|
+
end
|
101
117
|
end
|
102
118
|
end
|
@@ -120,5 +120,22 @@ module AdvancedBilling
|
|
120
120
|
->(val) { InvoiceEventPaymentMethod.validate(val) })
|
121
121
|
)
|
122
122
|
end
|
123
|
+
|
124
|
+
# Provides a human-readable string representation of the object.
|
125
|
+
def to_s
|
126
|
+
class_name = self.class.name.split('::').last
|
127
|
+
"<#{class_name} card_brand: #{@card_brand}, card_expiration: #{@card_expiration},"\
|
128
|
+
" last_four: #{@last_four}, masked_card_number: #{@masked_card_number}, type: #{@type},"\
|
129
|
+
" additional_properties: #{get_additional_properties}>"
|
130
|
+
end
|
131
|
+
|
132
|
+
# Provides a debugging-friendly string with detailed object information.
|
133
|
+
def inspect
|
134
|
+
class_name = self.class.name.split('::').last
|
135
|
+
"<#{class_name} card_brand: #{@card_brand.inspect}, card_expiration:"\
|
136
|
+
" #{@card_expiration.inspect}, last_four: #{@last_four.inspect}, masked_card_number:"\
|
137
|
+
" #{@masked_card_number.inspect}, type: #{@type.inspect}, additional_properties:"\
|
138
|
+
" #{get_additional_properties}>"
|
139
|
+
end
|
123
140
|
end
|
124
141
|
end
|
@@ -110,5 +110,20 @@ module AdvancedBilling
|
|
110
110
|
->(val) { InvoiceEventPaymentMethod.validate(val) })
|
111
111
|
)
|
112
112
|
end
|
113
|
+
|
114
|
+
# Provides a human-readable string representation of the object.
|
115
|
+
def to_s
|
116
|
+
class_name = self.class.name.split('::').last
|
117
|
+
"<#{class_name} details: #{@details}, kind: #{@kind}, memo: #{@memo}, type: #{@type},"\
|
118
|
+
" additional_properties: #{get_additional_properties}>"
|
119
|
+
end
|
120
|
+
|
121
|
+
# Provides a debugging-friendly string with detailed object information.
|
122
|
+
def inspect
|
123
|
+
class_name = self.class.name.split('::').last
|
124
|
+
"<#{class_name} details: #{@details.inspect}, kind: #{@kind.inspect}, memo:"\
|
125
|
+
" #{@memo.inspect}, type: #{@type.inspect}, additional_properties:"\
|
126
|
+
" #{get_additional_properties}>"
|
127
|
+
end
|
113
128
|
end
|
114
129
|
end
|
@@ -83,5 +83,19 @@ module AdvancedBilling
|
|
83
83
|
->(val) { InvoiceEventPaymentMethod.validate(val) })
|
84
84
|
)
|
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} email: #{@email}, type: #{@type}, additional_properties:"\
|
91
|
+
" #{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} email: #{@email.inspect}, type: #{@type.inspect}, additional_properties:"\
|
98
|
+
" #{get_additional_properties}>"
|
99
|
+
end
|
86
100
|
end
|
87
101
|
end
|
@@ -361,5 +361,40 @@ module AdvancedBilling
|
|
361
361
|
|
362
362
|
true
|
363
363
|
end
|
364
|
+
|
365
|
+
# Provides a human-readable string representation of the object.
|
366
|
+
def to_s
|
367
|
+
class_name = self.class.name.split('::').last
|
368
|
+
"<#{class_name} chargify_token: #{@chargify_token}, id: #{@id}, payment_type:"\
|
369
|
+
" #{@payment_type}, first_name: #{@first_name}, last_name: #{@last_name},"\
|
370
|
+
" masked_card_number: #{@masked_card_number}, full_number: #{@full_number}, card_type:"\
|
371
|
+
" #{@card_type}, expiration_month: #{@expiration_month}, expiration_year:"\
|
372
|
+
" #{@expiration_year}, billing_address: #{@billing_address}, billing_address_2:"\
|
373
|
+
" #{@billing_address_2}, billing_city: #{@billing_city}, billing_state: #{@billing_state},"\
|
374
|
+
" billing_country: #{@billing_country}, billing_zip: #{@billing_zip}, current_vault:"\
|
375
|
+
" #{@current_vault}, vault_token: #{@vault_token}, customer_vault_token:"\
|
376
|
+
" #{@customer_vault_token}, customer_id: #{@customer_id}, paypal_email: #{@paypal_email},"\
|
377
|
+
" payment_method_nonce: #{@payment_method_nonce}, gateway_handle: #{@gateway_handle}, cvv:"\
|
378
|
+
" #{@cvv}, last_four: #{@last_four}, additional_properties: #{get_additional_properties}>"
|
379
|
+
end
|
380
|
+
|
381
|
+
# Provides a debugging-friendly string with detailed object information.
|
382
|
+
def inspect
|
383
|
+
class_name = self.class.name.split('::').last
|
384
|
+
"<#{class_name} chargify_token: #{@chargify_token.inspect}, id: #{@id.inspect},"\
|
385
|
+
" payment_type: #{@payment_type.inspect}, first_name: #{@first_name.inspect}, last_name:"\
|
386
|
+
" #{@last_name.inspect}, masked_card_number: #{@masked_card_number.inspect}, full_number:"\
|
387
|
+
" #{@full_number.inspect}, card_type: #{@card_type.inspect}, expiration_month:"\
|
388
|
+
" #{@expiration_month.inspect}, expiration_year: #{@expiration_year.inspect},"\
|
389
|
+
" billing_address: #{@billing_address.inspect}, billing_address_2:"\
|
390
|
+
" #{@billing_address_2.inspect}, billing_city: #{@billing_city.inspect}, billing_state:"\
|
391
|
+
" #{@billing_state.inspect}, billing_country: #{@billing_country.inspect}, billing_zip:"\
|
392
|
+
" #{@billing_zip.inspect}, current_vault: #{@current_vault.inspect}, vault_token:"\
|
393
|
+
" #{@vault_token.inspect}, customer_vault_token: #{@customer_vault_token.inspect},"\
|
394
|
+
" customer_id: #{@customer_id.inspect}, paypal_email: #{@paypal_email.inspect},"\
|
395
|
+
" payment_method_nonce: #{@payment_method_nonce.inspect}, gateway_handle:"\
|
396
|
+
" #{@gateway_handle.inspect}, cvv: #{@cvv.inspect}, last_four: #{@last_four.inspect},"\
|
397
|
+
" additional_properties: #{get_additional_properties}>"
|
398
|
+
end
|
364
399
|
end
|
365
400
|
end
|
@@ -69,5 +69,19 @@ module AdvancedBilling
|
|
69
69
|
UnionTypeLookUp.get(:PaymentProfile)
|
70
70
|
.validate(value['payment_profile'])
|
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} payment_profile: #{@payment_profile}, additional_properties:"\
|
77
|
+
" #{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} payment_profile: #{@payment_profile.inspect}, additional_properties:"\
|
84
|
+
" #{get_additional_properties}>"
|
85
|
+
end
|
72
86
|
end
|
73
87
|
end
|
@@ -85,5 +85,19 @@ module AdvancedBilling
|
|
85
85
|
->(val) { val.instance_of? Integer })
|
86
86
|
)
|
87
87
|
end
|
88
|
+
|
89
|
+
# Provides a human-readable string representation of the object.
|
90
|
+
def to_s
|
91
|
+
class_name = self.class.name.split('::').last
|
92
|
+
"<#{class_name} product_id: #{@product_id}, account_transaction_id:"\
|
93
|
+
" #{@account_transaction_id}, additional_properties: #{get_additional_properties}>"
|
94
|
+
end
|
95
|
+
|
96
|
+
# Provides a debugging-friendly string with detailed object information.
|
97
|
+
def inspect
|
98
|
+
class_name = self.class.name.split('::').last
|
99
|
+
"<#{class_name} product_id: #{@product_id.inspect}, account_transaction_id:"\
|
100
|
+
" #{@account_transaction_id.inspect}, additional_properties: #{get_additional_properties}>"
|
101
|
+
end
|
88
102
|
end
|
89
103
|
end
|
@@ -238,5 +238,33 @@ module AdvancedBilling
|
|
238
238
|
APIHelper.valid_type?(value['payment_type'],
|
239
239
|
->(val) { PaymentType.validate(val) })
|
240
240
|
end
|
241
|
+
|
242
|
+
# Provides a human-readable string representation of the object.
|
243
|
+
def to_s
|
244
|
+
class_name = self.class.name.split('::').last
|
245
|
+
"<#{class_name} id: #{@id}, first_name: #{@first_name}, last_name: #{@last_name},"\
|
246
|
+
" customer_id: #{@customer_id}, current_vault: #{@current_vault}, vault_token:"\
|
247
|
+
" #{@vault_token}, billing_address: #{@billing_address}, billing_city: #{@billing_city},"\
|
248
|
+
" billing_state: #{@billing_state}, billing_zip: #{@billing_zip}, billing_country:"\
|
249
|
+
" #{@billing_country}, customer_vault_token: #{@customer_vault_token}, billing_address_2:"\
|
250
|
+
" #{@billing_address_2}, payment_type: #{@payment_type}, site_gateway_setting_id:"\
|
251
|
+
" #{@site_gateway_setting_id}, gateway_handle: #{@gateway_handle}, paypal_email:"\
|
252
|
+
" #{@paypal_email}, additional_properties: #{get_additional_properties}>"
|
253
|
+
end
|
254
|
+
|
255
|
+
# Provides a debugging-friendly string with detailed object information.
|
256
|
+
def inspect
|
257
|
+
class_name = self.class.name.split('::').last
|
258
|
+
"<#{class_name} id: #{@id.inspect}, first_name: #{@first_name.inspect}, last_name:"\
|
259
|
+
" #{@last_name.inspect}, customer_id: #{@customer_id.inspect}, current_vault:"\
|
260
|
+
" #{@current_vault.inspect}, vault_token: #{@vault_token.inspect}, billing_address:"\
|
261
|
+
" #{@billing_address.inspect}, billing_city: #{@billing_city.inspect}, billing_state:"\
|
262
|
+
" #{@billing_state.inspect}, billing_zip: #{@billing_zip.inspect}, billing_country:"\
|
263
|
+
" #{@billing_country.inspect}, customer_vault_token: #{@customer_vault_token.inspect},"\
|
264
|
+
" billing_address_2: #{@billing_address_2.inspect}, payment_type: #{@payment_type.inspect},"\
|
265
|
+
" site_gateway_setting_id: #{@site_gateway_setting_id.inspect}, gateway_handle:"\
|
266
|
+
" #{@gateway_handle.inspect}, paypal_email: #{@paypal_email.inspect}, additional_properties:"\
|
267
|
+
" #{get_additional_properties}>"
|
268
|
+
end
|
241
269
|
end
|
242
270
|
end
|
@@ -91,5 +91,19 @@ module AdvancedBilling
|
|
91
91
|
->(val) { val.instance_of? String })
|
92
92
|
)
|
93
93
|
end
|
94
|
+
|
95
|
+
# Provides a human-readable string representation of the object.
|
96
|
+
def to_s
|
97
|
+
class_name = self.class.name.split('::').last
|
98
|
+
"<#{class_name} cancellation_state: #{@cancellation_state}, cancels_at: #{@cancels_at},"\
|
99
|
+
" additional_properties: #{get_additional_properties}>"
|
100
|
+
end
|
101
|
+
|
102
|
+
# Provides a debugging-friendly string with detailed object information.
|
103
|
+
def inspect
|
104
|
+
class_name = self.class.name.split('::').last
|
105
|
+
"<#{class_name} cancellation_state: #{@cancellation_state.inspect}, cancels_at:"\
|
106
|
+
" #{@cancels_at.inspect}, additional_properties: #{get_additional_properties}>"
|
107
|
+
end
|
94
108
|
end
|
95
109
|
end
|
@@ -137,5 +137,23 @@ module AdvancedBilling
|
|
137
137
|
def to_custom_last_invite_sent_at
|
138
138
|
DateTimeHelper.to_rfc3339(last_invite_sent_at)
|
139
139
|
end
|
140
|
+
|
141
|
+
# Provides a human-readable string representation of the object.
|
142
|
+
def to_s
|
143
|
+
class_name = self.class.name.split('::').last
|
144
|
+
"<#{class_name} url: #{@url}, fetch_count: #{@fetch_count}, created_at: #{@created_at},"\
|
145
|
+
" new_link_available_at: #{@new_link_available_at}, expires_at: #{@expires_at},"\
|
146
|
+
" last_invite_sent_at: #{@last_invite_sent_at}, additional_properties:"\
|
147
|
+
" #{get_additional_properties}>"
|
148
|
+
end
|
149
|
+
|
150
|
+
# Provides a debugging-friendly string with detailed object information.
|
151
|
+
def inspect
|
152
|
+
class_name = self.class.name.split('::').last
|
153
|
+
"<#{class_name} url: #{@url.inspect}, fetch_count: #{@fetch_count.inspect}, created_at:"\
|
154
|
+
" #{@created_at.inspect}, new_link_available_at: #{@new_link_available_at.inspect},"\
|
155
|
+
" expires_at: #{@expires_at.inspect}, last_invite_sent_at: #{@last_invite_sent_at.inspect},"\
|
156
|
+
" additional_properties: #{get_additional_properties}>"
|
157
|
+
end
|
140
158
|
end
|
141
159
|
end
|
@@ -109,5 +109,25 @@ module AdvancedBilling
|
|
109
109
|
replenish_threshold_amount_in_cents: replenish_threshold_amount_in_cents,
|
110
110
|
additional_properties: additional_properties)
|
111
111
|
end
|
112
|
+
|
113
|
+
# Provides a human-readable string representation of the object.
|
114
|
+
def to_s
|
115
|
+
class_name = self.class.name.split('::').last
|
116
|
+
"<#{class_name} id: #{@id}, initial_funding_amount_in_cents:"\
|
117
|
+
" #{@initial_funding_amount_in_cents}, replenish_to_amount_in_cents:"\
|
118
|
+
" #{@replenish_to_amount_in_cents}, auto_replenish: #{@auto_replenish},"\
|
119
|
+
" replenish_threshold_amount_in_cents: #{@replenish_threshold_amount_in_cents},"\
|
120
|
+
" additional_properties: #{get_additional_properties}>"
|
121
|
+
end
|
122
|
+
|
123
|
+
# Provides a debugging-friendly string with detailed object information.
|
124
|
+
def inspect
|
125
|
+
class_name = self.class.name.split('::').last
|
126
|
+
"<#{class_name} id: #{@id.inspect}, initial_funding_amount_in_cents:"\
|
127
|
+
" #{@initial_funding_amount_in_cents.inspect}, replenish_to_amount_in_cents:"\
|
128
|
+
" #{@replenish_to_amount_in_cents.inspect}, auto_replenish: #{@auto_replenish.inspect},"\
|
129
|
+
" replenish_threshold_amount_in_cents: #{@replenish_threshold_amount_in_cents.inspect},"\
|
130
|
+
" additional_properties: #{get_additional_properties}>"
|
131
|
+
end
|
112
132
|
end
|
113
133
|
end
|
@@ -54,5 +54,19 @@ module AdvancedBilling
|
|
54
54
|
PrepaidConfigurationResponse.new(prepaid_configuration: prepaid_configuration,
|
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} prepaid_configuration: #{@prepaid_configuration}, 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} prepaid_configuration: #{@prepaid_configuration.inspect},"\
|
69
|
+
" additional_properties: #{get_additional_properties}>"
|
70
|
+
end
|
57
71
|
end
|
58
72
|
end
|
@@ -52,5 +52,19 @@ module AdvancedBilling
|
|
52
52
|
# Create object from extracted values.
|
53
53
|
PrepaidProductPricePointFilter.new(additional_properties: additional_properties)
|
54
54
|
end
|
55
|
+
|
56
|
+
# Provides a human-readable string representation of the object.
|
57
|
+
def to_s
|
58
|
+
class_name = self.class.name.split('::').last
|
59
|
+
"<#{class_name} product_price_point_id: #{@product_price_point_id}, additional_properties:"\
|
60
|
+
" #{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} product_price_point_id: #{@product_price_point_id.inspect},"\
|
67
|
+
" additional_properties: #{get_additional_properties}>"
|
68
|
+
end
|
55
69
|
end
|
56
70
|
end
|
@@ -115,5 +115,24 @@ module AdvancedBilling
|
|
115
115
|
->(val) { val.instance_of? Integer })
|
116
116
|
)
|
117
117
|
end
|
118
|
+
|
119
|
+
# Provides a human-readable string representation of the object.
|
120
|
+
def to_s
|
121
|
+
class_name = self.class.name.split('::').last
|
122
|
+
"<#{class_name} reason: #{@reason}, current_account_balance_in_cents:"\
|
123
|
+
" #{@current_account_balance_in_cents}, prepayment_account_balance_in_cents:"\
|
124
|
+
" #{@prepayment_account_balance_in_cents}, current_usage_amount_in_cents:"\
|
125
|
+
" #{@current_usage_amount_in_cents}, additional_properties: #{get_additional_properties}>"
|
126
|
+
end
|
127
|
+
|
128
|
+
# Provides a debugging-friendly string with detailed object information.
|
129
|
+
def inspect
|
130
|
+
class_name = self.class.name.split('::').last
|
131
|
+
"<#{class_name} reason: #{@reason.inspect}, current_account_balance_in_cents:"\
|
132
|
+
" #{@current_account_balance_in_cents.inspect}, prepayment_account_balance_in_cents:"\
|
133
|
+
" #{@prepayment_account_balance_in_cents.inspect}, current_usage_amount_in_cents:"\
|
134
|
+
" #{@current_usage_amount_in_cents.inspect}, additional_properties:"\
|
135
|
+
" #{get_additional_properties}>"
|
136
|
+
end
|
118
137
|
end
|
119
138
|
end
|
@@ -204,5 +204,30 @@ module AdvancedBilling
|
|
204
204
|
is_inner_model_hash: true)
|
205
205
|
)
|
206
206
|
end
|
207
|
+
|
208
|
+
# Provides a human-readable string representation of the object.
|
209
|
+
def to_s
|
210
|
+
class_name = self.class.name.split('::').last
|
211
|
+
"<#{class_name} previous_unit_balance: #{@previous_unit_balance},"\
|
212
|
+
" previous_overage_unit_balance: #{@previous_overage_unit_balance}, new_unit_balance:"\
|
213
|
+
" #{@new_unit_balance}, new_overage_unit_balance: #{@new_overage_unit_balance},"\
|
214
|
+
" usage_quantity: #{@usage_quantity}, overage_usage_quantity: #{@overage_usage_quantity},"\
|
215
|
+
" component_id: #{@component_id}, component_handle: #{@component_handle}, memo: #{@memo},"\
|
216
|
+
" allocation_details: #{@allocation_details}, additional_properties:"\
|
217
|
+
" #{get_additional_properties}>"
|
218
|
+
end
|
219
|
+
|
220
|
+
# Provides a debugging-friendly string with detailed object information.
|
221
|
+
def inspect
|
222
|
+
class_name = self.class.name.split('::').last
|
223
|
+
"<#{class_name} previous_unit_balance: #{@previous_unit_balance.inspect},"\
|
224
|
+
" previous_overage_unit_balance: #{@previous_overage_unit_balance.inspect},"\
|
225
|
+
" new_unit_balance: #{@new_unit_balance.inspect}, new_overage_unit_balance:"\
|
226
|
+
" #{@new_overage_unit_balance.inspect}, usage_quantity: #{@usage_quantity.inspect},"\
|
227
|
+
" overage_usage_quantity: #{@overage_usage_quantity.inspect}, component_id:"\
|
228
|
+
" #{@component_id.inspect}, component_handle: #{@component_handle.inspect}, memo:"\
|
229
|
+
" #{@memo.inspect}, allocation_details: #{@allocation_details.inspect},"\
|
230
|
+
" additional_properties: #{get_additional_properties}>"
|
231
|
+
end
|
207
232
|
end
|
208
233
|
end
|
@@ -85,5 +85,20 @@ module AdvancedBilling
|
|
85
85
|
|
86
86
|
true
|
87
87
|
end
|
88
|
+
|
89
|
+
# Provides a human-readable string representation of the object.
|
90
|
+
def to_s
|
91
|
+
class_name = self.class.name.split('::').last
|
92
|
+
"<#{class_name} allocation_id: #{@allocation_id}, charge_id: #{@charge_id}, usage_quantity:"\
|
93
|
+
" #{@usage_quantity}, additional_properties: #{get_additional_properties}>"
|
94
|
+
end
|
95
|
+
|
96
|
+
# Provides a debugging-friendly string with detailed object information.
|
97
|
+
def inspect
|
98
|
+
class_name = self.class.name.split('::').last
|
99
|
+
"<#{class_name} allocation_id: #{@allocation_id.inspect}, charge_id: #{@charge_id.inspect},"\
|
100
|
+
" usage_quantity: #{@usage_quantity.inspect}, additional_properties:"\
|
101
|
+
" #{get_additional_properties}>"
|
102
|
+
end
|
88
103
|
end
|
89
104
|
end
|