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
@@ -258,5 +258,29 @@ module AdvancedBilling
|
|
258
258
|
is_inner_model_hash: true)
|
259
259
|
)
|
260
260
|
end
|
261
|
+
|
262
|
+
# Provides a human-readable string representation of the object.
|
263
|
+
def to_s
|
264
|
+
class_name = self.class.name.split('::').last
|
265
|
+
"<#{class_name} uid: #{@uid}, number: #{@number}, role: #{@role}, due_date: #{@due_date},"\
|
266
|
+
" issue_date: #{@issue_date}, paid_date: #{@paid_date}, due_amount: #{@due_amount},"\
|
267
|
+
" paid_amount: #{@paid_amount}, tax_amount: #{@tax_amount}, refund_amount:"\
|
268
|
+
" #{@refund_amount}, total_amount: #{@total_amount}, status_amount: #{@status_amount},"\
|
269
|
+
" product_name: #{@product_name}, consolidation_level: #{@consolidation_level}, line_items:"\
|
270
|
+
" #{@line_items}, additional_properties: #{get_additional_properties}>"
|
271
|
+
end
|
272
|
+
|
273
|
+
# Provides a debugging-friendly string with detailed object information.
|
274
|
+
def inspect
|
275
|
+
class_name = self.class.name.split('::').last
|
276
|
+
"<#{class_name} uid: #{@uid.inspect}, number: #{@number.inspect}, role: #{@role.inspect},"\
|
277
|
+
" due_date: #{@due_date.inspect}, issue_date: #{@issue_date.inspect}, paid_date:"\
|
278
|
+
" #{@paid_date.inspect}, due_amount: #{@due_amount.inspect}, paid_amount:"\
|
279
|
+
" #{@paid_amount.inspect}, tax_amount: #{@tax_amount.inspect}, refund_amount:"\
|
280
|
+
" #{@refund_amount.inspect}, total_amount: #{@total_amount.inspect}, status_amount:"\
|
281
|
+
" #{@status_amount.inspect}, product_name: #{@product_name.inspect}, consolidation_level:"\
|
282
|
+
" #{@consolidation_level.inspect}, line_items: #{@line_items.inspect},"\
|
283
|
+
" additional_properties: #{get_additional_properties}>"
|
284
|
+
end
|
261
285
|
end
|
262
286
|
end
|
@@ -347,5 +347,39 @@ module AdvancedBilling
|
|
347
347
|
|
348
348
|
true
|
349
349
|
end
|
350
|
+
|
351
|
+
# Provides a human-readable string representation of the object.
|
352
|
+
def to_s
|
353
|
+
class_name = self.class.name.split('::').last
|
354
|
+
"<#{class_name} uid: #{@uid}, title: #{@title}, description: #{@description}, quantity:"\
|
355
|
+
" #{@quantity}, unit_price: #{@unit_price}, subtotal_amount: #{@subtotal_amount},"\
|
356
|
+
" discount_amount: #{@discount_amount}, tax_amount: #{@tax_amount}, total_amount:"\
|
357
|
+
" #{@total_amount}, tiered_unit_price: #{@tiered_unit_price}, period_range_start:"\
|
358
|
+
" #{@period_range_start}, period_range_end: #{@period_range_end}, transaction_id:"\
|
359
|
+
" #{@transaction_id}, product_id: #{@product_id}, product_version: #{@product_version},"\
|
360
|
+
" component_id: #{@component_id}, price_point_id: #{@price_point_id},"\
|
361
|
+
" billing_schedule_item_id: #{@billing_schedule_item_id}, hide: #{@hide},"\
|
362
|
+
" component_cost_data: #{@component_cost_data}, product_price_point_id:"\
|
363
|
+
" #{@product_price_point_id}, custom_item: #{@custom_item}, kind: #{@kind},"\
|
364
|
+
" additional_properties: #{get_additional_properties}>"
|
365
|
+
end
|
366
|
+
|
367
|
+
# Provides a debugging-friendly string with detailed object information.
|
368
|
+
def inspect
|
369
|
+
class_name = self.class.name.split('::').last
|
370
|
+
"<#{class_name} uid: #{@uid.inspect}, title: #{@title.inspect}, description:"\
|
371
|
+
" #{@description.inspect}, quantity: #{@quantity.inspect}, unit_price:"\
|
372
|
+
" #{@unit_price.inspect}, subtotal_amount: #{@subtotal_amount.inspect}, discount_amount:"\
|
373
|
+
" #{@discount_amount.inspect}, tax_amount: #{@tax_amount.inspect}, total_amount:"\
|
374
|
+
" #{@total_amount.inspect}, tiered_unit_price: #{@tiered_unit_price.inspect},"\
|
375
|
+
" period_range_start: #{@period_range_start.inspect}, period_range_end:"\
|
376
|
+
" #{@period_range_end.inspect}, transaction_id: #{@transaction_id.inspect}, product_id:"\
|
377
|
+
" #{@product_id.inspect}, product_version: #{@product_version.inspect}, component_id:"\
|
378
|
+
" #{@component_id.inspect}, price_point_id: #{@price_point_id.inspect},"\
|
379
|
+
" billing_schedule_item_id: #{@billing_schedule_item_id.inspect}, hide: #{@hide.inspect},"\
|
380
|
+
" component_cost_data: #{@component_cost_data.inspect}, product_price_point_id:"\
|
381
|
+
" #{@product_price_point_id.inspect}, custom_item: #{@custom_item.inspect}, kind:"\
|
382
|
+
" #{@kind.inspect}, additional_properties: #{get_additional_properties}>"
|
383
|
+
end
|
350
384
|
end
|
351
385
|
end
|
@@ -74,5 +74,18 @@ module AdvancedBilling
|
|
74
74
|
|
75
75
|
true
|
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} rates: #{@rates}, additional_properties: #{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} rates: #{@rates.inspect}, additional_properties:"\
|
88
|
+
" #{get_additional_properties}>"
|
89
|
+
end
|
77
90
|
end
|
78
91
|
end
|
@@ -270,5 +270,35 @@ module AdvancedBilling
|
|
270
270
|
|
271
271
|
true
|
272
272
|
end
|
273
|
+
|
274
|
+
# Provides a human-readable string representation of the object.
|
275
|
+
def to_s
|
276
|
+
class_name = self.class.name.split('::').last
|
277
|
+
"<#{class_name} uid: #{@uid}, title: #{@title}, description: #{@description}, quantity:"\
|
278
|
+
" #{@quantity}, quantity_delta: #{@quantity_delta}, unit_price: #{@unit_price},"\
|
279
|
+
" period_range_start: #{@period_range_start}, period_range_end: #{@period_range_end},"\
|
280
|
+
" amount: #{@amount}, line_references: #{@line_references}, pricing_details_index:"\
|
281
|
+
" #{@pricing_details_index}, pricing_details: #{@pricing_details}, tax_code: #{@tax_code},"\
|
282
|
+
" tax_amount: #{@tax_amount}, product_id: #{@product_id}, product_price_point_id:"\
|
283
|
+
" #{@product_price_point_id}, price_point_id: #{@price_point_id}, component_id:"\
|
284
|
+
" #{@component_id}, billing_schedule_item_id: #{@billing_schedule_item_id}, custom_item:"\
|
285
|
+
" #{@custom_item}, additional_properties: #{get_additional_properties}>"
|
286
|
+
end
|
287
|
+
|
288
|
+
# Provides a debugging-friendly string with detailed object information.
|
289
|
+
def inspect
|
290
|
+
class_name = self.class.name.split('::').last
|
291
|
+
"<#{class_name} uid: #{@uid.inspect}, title: #{@title.inspect}, description:"\
|
292
|
+
" #{@description.inspect}, quantity: #{@quantity.inspect}, quantity_delta:"\
|
293
|
+
" #{@quantity_delta.inspect}, unit_price: #{@unit_price.inspect}, period_range_start:"\
|
294
|
+
" #{@period_range_start.inspect}, period_range_end: #{@period_range_end.inspect}, amount:"\
|
295
|
+
" #{@amount.inspect}, line_references: #{@line_references.inspect}, pricing_details_index:"\
|
296
|
+
" #{@pricing_details_index.inspect}, pricing_details: #{@pricing_details.inspect}, tax_code:"\
|
297
|
+
" #{@tax_code.inspect}, tax_amount: #{@tax_amount.inspect}, product_id:"\
|
298
|
+
" #{@product_id.inspect}, product_price_point_id: #{@product_price_point_id.inspect},"\
|
299
|
+
" price_point_id: #{@price_point_id.inspect}, component_id: #{@component_id.inspect},"\
|
300
|
+
" billing_schedule_item_id: #{@billing_schedule_item_id.inspect}, custom_item:"\
|
301
|
+
" #{@custom_item.inspect}, additional_properties: #{get_additional_properties}>"
|
302
|
+
end
|
273
303
|
end
|
274
304
|
end
|
@@ -74,5 +74,19 @@ module AdvancedBilling
|
|
74
74
|
|
75
75
|
true
|
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} label: #{@label}, amount: #{@amount}, additional_properties:"\
|
82
|
+
" #{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} label: #{@label.inspect}, amount: #{@amount.inspect},"\
|
89
|
+
" additional_properties: #{get_additional_properties}>"
|
90
|
+
end
|
77
91
|
end
|
78
92
|
end
|
@@ -115,5 +115,22 @@ module AdvancedBilling
|
|
115
115
|
|
116
116
|
true
|
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} chargify_id: #{@chargify_id}, first_name: #{@first_name}, last_name:"\
|
123
|
+
" #{@last_name}, organization: #{@organization}, email: #{@email}, vat_number:"\
|
124
|
+
" #{@vat_number}, additional_properties: #{get_additional_properties}>"
|
125
|
+
end
|
126
|
+
|
127
|
+
# Provides a debugging-friendly string with detailed object information.
|
128
|
+
def inspect
|
129
|
+
class_name = self.class.name.split('::').last
|
130
|
+
"<#{class_name} chargify_id: #{@chargify_id.inspect}, first_name: #{@first_name.inspect},"\
|
131
|
+
" last_name: #{@last_name.inspect}, organization: #{@organization.inspect}, email:"\
|
132
|
+
" #{@email.inspect}, vat_number: #{@vat_number.inspect}, additional_properties:"\
|
133
|
+
" #{get_additional_properties}>"
|
134
|
+
end
|
118
135
|
end
|
119
136
|
end
|
@@ -83,5 +83,20 @@ module AdvancedBilling
|
|
83
83
|
email: email,
|
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} first_name: #{@first_name}, last_name: #{@last_name}, organization:"\
|
91
|
+
" #{@organization}, email: #{@email}, 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} first_name: #{@first_name.inspect}, last_name: #{@last_name.inspect},"\
|
98
|
+
" organization: #{@organization.inspect}, email: #{@email.inspect}, additional_properties:"\
|
99
|
+
" #{get_additional_properties}>"
|
100
|
+
end
|
86
101
|
end
|
87
102
|
end
|
@@ -191,5 +191,28 @@ module AdvancedBilling
|
|
191
191
|
|
192
192
|
true
|
193
193
|
end
|
194
|
+
|
195
|
+
# Provides a human-readable string representation of the object.
|
196
|
+
def to_s
|
197
|
+
class_name = self.class.name.split('::').last
|
198
|
+
"<#{class_name} transaction_time: #{@transaction_time}, memo: #{@memo}, original_amount:"\
|
199
|
+
" #{@original_amount}, applied_amount: #{@applied_amount}, payment_method:"\
|
200
|
+
" #{@payment_method}, transaction_id: #{@transaction_id}, prepayment: #{@prepayment},"\
|
201
|
+
" gateway_handle: #{@gateway_handle}, gateway_used: #{@gateway_used},"\
|
202
|
+
" gateway_transaction_id: #{@gateway_transaction_id}, received_on: #{@received_on}, uid:"\
|
203
|
+
" #{@uid}, additional_properties: #{get_additional_properties}>"
|
204
|
+
end
|
205
|
+
|
206
|
+
# Provides a debugging-friendly string with detailed object information.
|
207
|
+
def inspect
|
208
|
+
class_name = self.class.name.split('::').last
|
209
|
+
"<#{class_name} transaction_time: #{@transaction_time.inspect}, memo: #{@memo.inspect},"\
|
210
|
+
" original_amount: #{@original_amount.inspect}, applied_amount: #{@applied_amount.inspect},"\
|
211
|
+
" payment_method: #{@payment_method.inspect}, transaction_id: #{@transaction_id.inspect},"\
|
212
|
+
" prepayment: #{@prepayment.inspect}, gateway_handle: #{@gateway_handle.inspect},"\
|
213
|
+
" gateway_used: #{@gateway_used.inspect}, gateway_transaction_id:"\
|
214
|
+
" #{@gateway_transaction_id.inspect}, received_on: #{@received_on.inspect}, uid:"\
|
215
|
+
" #{@uid.inspect}, additional_properties: #{get_additional_properties}>"
|
216
|
+
end
|
194
217
|
end
|
195
218
|
end
|
@@ -78,5 +78,20 @@ module AdvancedBilling
|
|
78
78
|
applied_amount: applied_amount,
|
79
79
|
additional_properties: additional_properties)
|
80
80
|
end
|
81
|
+
|
82
|
+
# Provides a human-readable string representation of the object.
|
83
|
+
def to_s
|
84
|
+
class_name = self.class.name.split('::').last
|
85
|
+
"<#{class_name} invoice_uid: #{@invoice_uid}, application_uid: #{@application_uid},"\
|
86
|
+
" applied_amount: #{@applied_amount}, additional_properties: #{get_additional_properties}>"
|
87
|
+
end
|
88
|
+
|
89
|
+
# Provides a debugging-friendly string with detailed object information.
|
90
|
+
def inspect
|
91
|
+
class_name = self.class.name.split('::').last
|
92
|
+
"<#{class_name} invoice_uid: #{@invoice_uid.inspect}, application_uid:"\
|
93
|
+
" #{@application_uid.inspect}, applied_amount: #{@applied_amount.inspect},"\
|
94
|
+
" additional_properties: #{get_additional_properties}>"
|
95
|
+
end
|
81
96
|
end
|
82
97
|
end
|
@@ -134,5 +134,24 @@ module AdvancedBilling
|
|
134
134
|
|
135
135
|
true
|
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} details: #{@details}, kind: #{@kind}, memo: #{@memo}, type: #{@type},"\
|
142
|
+
" card_brand: #{@card_brand}, card_expiration: #{@card_expiration}, last_four:"\
|
143
|
+
" #{@last_four}, masked_card_number: #{@masked_card_number}, additional_properties:"\
|
144
|
+
" #{get_additional_properties}>"
|
145
|
+
end
|
146
|
+
|
147
|
+
# Provides a debugging-friendly string with detailed object information.
|
148
|
+
def inspect
|
149
|
+
class_name = self.class.name.split('::').last
|
150
|
+
"<#{class_name} details: #{@details.inspect}, kind: #{@kind.inspect}, memo:"\
|
151
|
+
" #{@memo.inspect}, type: #{@type.inspect}, card_brand: #{@card_brand.inspect},"\
|
152
|
+
" card_expiration: #{@card_expiration.inspect}, last_four: #{@last_four.inspect},"\
|
153
|
+
" masked_card_number: #{@masked_card_number.inspect}, additional_properties:"\
|
154
|
+
" #{get_additional_properties}>"
|
155
|
+
end
|
137
156
|
end
|
138
157
|
end
|
@@ -79,5 +79,21 @@ module AdvancedBilling
|
|
79
79
|
ending_balance_in_cents: ending_balance_in_cents,
|
80
80
|
additional_properties: additional_properties)
|
81
81
|
end
|
82
|
+
|
83
|
+
# Provides a human-readable string representation of the object.
|
84
|
+
def to_s
|
85
|
+
class_name = self.class.name.split('::').last
|
86
|
+
"<#{class_name} subscription_id: #{@subscription_id}, amount_in_cents: #{@amount_in_cents},"\
|
87
|
+
" ending_balance_in_cents: #{@ending_balance_in_cents}, additional_properties:"\
|
88
|
+
" #{get_additional_properties}>"
|
89
|
+
end
|
90
|
+
|
91
|
+
# Provides a debugging-friendly string with detailed object information.
|
92
|
+
def inspect
|
93
|
+
class_name = self.class.name.split('::').last
|
94
|
+
"<#{class_name} subscription_id: #{@subscription_id.inspect}, amount_in_cents:"\
|
95
|
+
" #{@amount_in_cents.inspect}, ending_balance_in_cents: #{@ending_balance_in_cents.inspect},"\
|
96
|
+
" additional_properties: #{get_additional_properties}>"
|
97
|
+
end
|
82
98
|
end
|
83
99
|
end
|
@@ -92,5 +92,19 @@ module AdvancedBilling
|
|
92
92
|
|
93
93
|
true
|
94
94
|
end
|
95
|
+
|
96
|
+
# Provides a human-readable string representation of the object.
|
97
|
+
def to_s
|
98
|
+
class_name = self.class.name.split('::').last
|
99
|
+
"<#{class_name} captured_at: #{@captured_at}, invoices: #{@invoices},"\
|
100
|
+
" additional_properties: #{get_additional_properties}>"
|
101
|
+
end
|
102
|
+
|
103
|
+
# Provides a debugging-friendly string with detailed object information.
|
104
|
+
def inspect
|
105
|
+
class_name = self.class.name.split('::').last
|
106
|
+
"<#{class_name} captured_at: #{@captured_at.inspect}, invoices: #{@invoices.inspect},"\
|
107
|
+
" additional_properties: #{get_additional_properties}>"
|
108
|
+
end
|
95
109
|
end
|
96
110
|
end
|
@@ -151,5 +151,26 @@ module AdvancedBilling
|
|
151
151
|
|
152
152
|
true
|
153
153
|
end
|
154
|
+
|
155
|
+
# Provides a human-readable string representation of the object.
|
156
|
+
def to_s
|
157
|
+
class_name = self.class.name.split('::').last
|
158
|
+
"<#{class_name} transaction_id: #{@transaction_id}, payment_id: #{@payment_id}, memo:"\
|
159
|
+
" #{@memo}, original_amount: #{@original_amount}, applied_amount: #{@applied_amount},"\
|
160
|
+
" gateway_transaction_id: #{@gateway_transaction_id}, gateway_used: #{@gateway_used},"\
|
161
|
+
" gateway_handle: #{@gateway_handle}, ach_late_reject: #{@ach_late_reject},"\
|
162
|
+
" additional_properties: #{get_additional_properties}>"
|
163
|
+
end
|
164
|
+
|
165
|
+
# Provides a debugging-friendly string with detailed object information.
|
166
|
+
def inspect
|
167
|
+
class_name = self.class.name.split('::').last
|
168
|
+
"<#{class_name} transaction_id: #{@transaction_id.inspect}, payment_id:"\
|
169
|
+
" #{@payment_id.inspect}, memo: #{@memo.inspect}, original_amount:"\
|
170
|
+
" #{@original_amount.inspect}, applied_amount: #{@applied_amount.inspect},"\
|
171
|
+
" gateway_transaction_id: #{@gateway_transaction_id.inspect}, gateway_used:"\
|
172
|
+
" #{@gateway_used.inspect}, gateway_handle: #{@gateway_handle.inspect}, ach_late_reject:"\
|
173
|
+
" #{@ach_late_reject.inspect}, additional_properties: #{get_additional_properties}>"
|
174
|
+
end
|
154
175
|
end
|
155
176
|
end
|
@@ -53,5 +53,18 @@ module AdvancedBilling
|
|
53
53
|
InvoiceResponse.new(invoice: invoice,
|
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} invoice: #{@invoice}, additional_properties: #{get_additional_properties}>"
|
61
|
+
end
|
62
|
+
|
63
|
+
# Provides a debugging-friendly string with detailed object information.
|
64
|
+
def inspect
|
65
|
+
class_name = self.class.name.split('::').last
|
66
|
+
"<#{class_name} invoice: #{@invoice.inspect}, additional_properties:"\
|
67
|
+
" #{get_additional_properties}>"
|
68
|
+
end
|
56
69
|
end
|
57
70
|
end
|
@@ -96,5 +96,20 @@ module AdvancedBilling
|
|
96
96
|
|
97
97
|
true
|
98
98
|
end
|
99
|
+
|
100
|
+
# Provides a human-readable string representation of the object.
|
101
|
+
def to_s
|
102
|
+
class_name = self.class.name.split('::').last
|
103
|
+
"<#{class_name} name: #{@name}, address: #{@address}, phone: #{@phone}, logo_url:"\
|
104
|
+
" #{@logo_url}, additional_properties: #{get_additional_properties}>"
|
105
|
+
end
|
106
|
+
|
107
|
+
# Provides a debugging-friendly string with detailed object information.
|
108
|
+
def inspect
|
109
|
+
class_name = self.class.name.split('::').last
|
110
|
+
"<#{class_name} name: #{@name.inspect}, address: #{@address.inspect}, phone:"\
|
111
|
+
" #{@phone.inspect}, logo_url: #{@logo_url.inspect}, additional_properties:"\
|
112
|
+
" #{get_additional_properties}>"
|
113
|
+
end
|
99
114
|
end
|
100
115
|
end
|
@@ -210,5 +210,29 @@ module AdvancedBilling
|
|
210
210
|
|
211
211
|
true
|
212
212
|
end
|
213
|
+
|
214
|
+
# Provides a human-readable string representation of the object.
|
215
|
+
def to_s
|
216
|
+
class_name = self.class.name.split('::').last
|
217
|
+
"<#{class_name} uid: #{@uid}, title: #{@title}, description: #{@description}, source_type:"\
|
218
|
+
" #{@source_type}, source_id: #{@source_id}, percentage: #{@percentage}, taxable_amount:"\
|
219
|
+
" #{@taxable_amount}, tax_amount: #{@tax_amount}, transaction_id: #{@transaction_id},"\
|
220
|
+
" line_item_breakouts: #{@line_item_breakouts}, tax_component_breakouts:"\
|
221
|
+
" #{@tax_component_breakouts}, eu_vat: #{@eu_vat}, type: #{@type}, tax_exempt_amount:"\
|
222
|
+
" #{@tax_exempt_amount}, additional_properties: #{get_additional_properties}>"
|
223
|
+
end
|
224
|
+
|
225
|
+
# Provides a debugging-friendly string with detailed object information.
|
226
|
+
def inspect
|
227
|
+
class_name = self.class.name.split('::').last
|
228
|
+
"<#{class_name} uid: #{@uid.inspect}, title: #{@title.inspect}, description:"\
|
229
|
+
" #{@description.inspect}, source_type: #{@source_type.inspect}, source_id:"\
|
230
|
+
" #{@source_id.inspect}, percentage: #{@percentage.inspect}, taxable_amount:"\
|
231
|
+
" #{@taxable_amount.inspect}, tax_amount: #{@tax_amount.inspect}, transaction_id:"\
|
232
|
+
" #{@transaction_id.inspect}, line_item_breakouts: #{@line_item_breakouts.inspect},"\
|
233
|
+
" tax_component_breakouts: #{@tax_component_breakouts.inspect}, eu_vat: #{@eu_vat.inspect},"\
|
234
|
+
" type: #{@type.inspect}, tax_exempt_amount: #{@tax_exempt_amount.inspect},"\
|
235
|
+
" additional_properties: #{get_additional_properties}>"
|
236
|
+
end
|
213
237
|
end
|
214
238
|
end
|
@@ -95,5 +95,21 @@ module AdvancedBilling
|
|
95
95
|
|
96
96
|
true
|
97
97
|
end
|
98
|
+
|
99
|
+
# Provides a human-readable string representation of the object.
|
100
|
+
def to_s
|
101
|
+
class_name = self.class.name.split('::').last
|
102
|
+
"<#{class_name} uid: #{@uid}, taxable_amount: #{@taxable_amount}, tax_amount:"\
|
103
|
+
" #{@tax_amount}, tax_exempt_amount: #{@tax_exempt_amount}, additional_properties:"\
|
104
|
+
" #{get_additional_properties}>"
|
105
|
+
end
|
106
|
+
|
107
|
+
# Provides a debugging-friendly string with detailed object information.
|
108
|
+
def inspect
|
109
|
+
class_name = self.class.name.split('::').last
|
110
|
+
"<#{class_name} uid: #{@uid.inspect}, taxable_amount: #{@taxable_amount.inspect},"\
|
111
|
+
" tax_amount: #{@tax_amount.inspect}, tax_exempt_amount: #{@tax_exempt_amount.inspect},"\
|
112
|
+
" additional_properties: #{get_additional_properties}>"
|
113
|
+
end
|
98
114
|
end
|
99
115
|
end
|
@@ -194,5 +194,31 @@ module AdvancedBilling
|
|
194
194
|
|
195
195
|
true
|
196
196
|
end
|
197
|
+
|
198
|
+
# Provides a human-readable string representation of the object.
|
199
|
+
def to_s
|
200
|
+
class_name = self.class.name.split('::').last
|
201
|
+
"<#{class_name} tax_rule_id: #{@tax_rule_id}, percentage: #{@percentage}, country_code:"\
|
202
|
+
" #{@country_code}, subdivision_code: #{@subdivision_code}, tax_amount: #{@tax_amount},"\
|
203
|
+
" taxable_amount: #{@taxable_amount}, tax_exempt_amount: #{@tax_exempt_amount},"\
|
204
|
+
" non_taxable_amount: #{@non_taxable_amount}, tax_name: #{@tax_name}, tax_type:"\
|
205
|
+
" #{@tax_type}, rate_type: #{@rate_type}, tax_authority_type: #{@tax_authority_type},"\
|
206
|
+
" state_assigned_no: #{@state_assigned_no}, tax_sub_type: #{@tax_sub_type},"\
|
207
|
+
" additional_properties: #{get_additional_properties}>"
|
208
|
+
end
|
209
|
+
|
210
|
+
# Provides a debugging-friendly string with detailed object information.
|
211
|
+
def inspect
|
212
|
+
class_name = self.class.name.split('::').last
|
213
|
+
"<#{class_name} tax_rule_id: #{@tax_rule_id.inspect}, percentage: #{@percentage.inspect},"\
|
214
|
+
" country_code: #{@country_code.inspect}, subdivision_code: #{@subdivision_code.inspect},"\
|
215
|
+
" tax_amount: #{@tax_amount.inspect}, taxable_amount: #{@taxable_amount.inspect},"\
|
216
|
+
" tax_exempt_amount: #{@tax_exempt_amount.inspect}, non_taxable_amount:"\
|
217
|
+
" #{@non_taxable_amount.inspect}, tax_name: #{@tax_name.inspect}, tax_type:"\
|
218
|
+
" #{@tax_type.inspect}, rate_type: #{@rate_type.inspect}, tax_authority_type:"\
|
219
|
+
" #{@tax_authority_type.inspect}, state_assigned_no: #{@state_assigned_no.inspect},"\
|
220
|
+
" tax_sub_type: #{@tax_sub_type.inspect}, additional_properties:"\
|
221
|
+
" #{get_additional_properties}>"
|
222
|
+
end
|
197
223
|
end
|
198
224
|
end
|
@@ -55,5 +55,18 @@ module AdvancedBilling
|
|
55
55
|
IssueAdvanceInvoiceRequest.new(force: force,
|
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} force: #{@force}, 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} force: #{@force.inspect}, additional_properties:"\
|
69
|
+
" #{get_additional_properties}>"
|
70
|
+
end
|
58
71
|
end
|
59
72
|
end
|
@@ -132,5 +132,21 @@ module AdvancedBilling
|
|
132
132
|
is_model_hash: true)
|
133
133
|
)
|
134
134
|
end
|
135
|
+
|
136
|
+
# Provides a human-readable string representation of the object.
|
137
|
+
def to_s
|
138
|
+
class_name = self.class.name.split('::').last
|
139
|
+
"<#{class_name} id: #{@id}, timestamp: #{@timestamp}, invoice: #{@invoice}, event_type:"\
|
140
|
+
" #{@event_type}, event_data: #{@event_data}, additional_properties:"\
|
141
|
+
" #{get_additional_properties}>"
|
142
|
+
end
|
143
|
+
|
144
|
+
# Provides a debugging-friendly string with detailed object information.
|
145
|
+
def inspect
|
146
|
+
class_name = self.class.name.split('::').last
|
147
|
+
"<#{class_name} id: #{@id.inspect}, timestamp: #{@timestamp.inspect}, invoice:"\
|
148
|
+
" #{@invoice.inspect}, event_type: #{@event_type.inspect}, event_data:"\
|
149
|
+
" #{@event_data.inspect}, additional_properties: #{get_additional_properties}>"
|
150
|
+
end
|
135
151
|
end
|
136
152
|
end
|
@@ -138,5 +138,22 @@ module AdvancedBilling
|
|
138
138
|
->(val) { val.instance_of? String })
|
139
139
|
)
|
140
140
|
end
|
141
|
+
|
142
|
+
# Provides a human-readable string representation of the object.
|
143
|
+
def to_s
|
144
|
+
class_name = self.class.name.split('::').last
|
145
|
+
"<#{class_name} consolidation_level: #{@consolidation_level}, from_status: #{@from_status},"\
|
146
|
+
" to_status: #{@to_status}, due_amount: #{@due_amount}, total_amount: #{@total_amount},"\
|
147
|
+
" additional_properties: #{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} consolidation_level: #{@consolidation_level.inspect}, from_status:"\
|
154
|
+
" #{@from_status.inspect}, to_status: #{@to_status.inspect}, due_amount:"\
|
155
|
+
" #{@due_amount.inspect}, total_amount: #{@total_amount.inspect}, additional_properties:"\
|
156
|
+
" #{get_additional_properties}>"
|
157
|
+
end
|
141
158
|
end
|
142
159
|
end
|
@@ -69,5 +69,19 @@ module AdvancedBilling
|
|
69
69
|
IssueInvoiceRequest.new(on_failed_payment: on_failed_payment,
|
70
70
|
additional_properties: additional_properties)
|
71
71
|
end
|
72
|
+
|
73
|
+
# Provides a human-readable string representation of the object.
|
74
|
+
def to_s
|
75
|
+
class_name = self.class.name.split('::').last
|
76
|
+
"<#{class_name} on_failed_payment: #{@on_failed_payment}, 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} on_failed_payment: #{@on_failed_payment.inspect}, additional_properties:"\
|
84
|
+
" #{get_additional_properties}>"
|
85
|
+
end
|
72
86
|
end
|
73
87
|
end
|
@@ -79,5 +79,19 @@ module AdvancedBilling
|
|
79
79
|
UnionTypeLookUp.get(:IssueServiceCreditAmount)
|
80
80
|
.validate(value['amount'])
|
81
81
|
end
|
82
|
+
|
83
|
+
# Provides a human-readable string representation of the object.
|
84
|
+
def to_s
|
85
|
+
class_name = self.class.name.split('::').last
|
86
|
+
"<#{class_name} amount: #{@amount}, memo: #{@memo}, additional_properties:"\
|
87
|
+
" #{get_additional_properties}>"
|
88
|
+
end
|
89
|
+
|
90
|
+
# Provides a debugging-friendly string with detailed object information.
|
91
|
+
def inspect
|
92
|
+
class_name = self.class.name.split('::').last
|
93
|
+
"<#{class_name} amount: #{@amount.inspect}, memo: #{@memo.inspect}, additional_properties:"\
|
94
|
+
" #{get_additional_properties}>"
|
95
|
+
end
|
82
96
|
end
|
83
97
|
end
|
@@ -54,5 +54,19 @@ module AdvancedBilling
|
|
54
54
|
IssueServiceCreditRequest.new(service_credit: service_credit,
|
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} service_credit: #{@service_credit}, 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} service_credit: #{@service_credit.inspect}, additional_properties:"\
|
69
|
+
" #{get_additional_properties}>"
|
70
|
+
end
|
57
71
|
end
|
58
72
|
end
|
@@ -139,5 +139,23 @@ module AdvancedBilling
|
|
139
139
|
is_model_hash: true)
|
140
140
|
)
|
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} item_id: #{@item_id}, item_type: #{@item_type}, item_handle:"\
|
147
|
+
" #{@item_handle}, item_name: #{@item_name}, previous_price_point: #{@previous_price_point},"\
|
148
|
+
" current_price_point: #{@current_price_point}, 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} item_id: #{@item_id.inspect}, item_type: #{@item_type.inspect},"\
|
156
|
+
" item_handle: #{@item_handle.inspect}, item_name: #{@item_name.inspect},"\
|
157
|
+
" previous_price_point: #{@previous_price_point.inspect}, current_price_point:"\
|
158
|
+
" #{@current_price_point.inspect}, additional_properties: #{get_additional_properties}>"
|
159
|
+
end
|
142
160
|
end
|
143
161
|
end
|
@@ -84,5 +84,19 @@ module AdvancedBilling
|
|
84
84
|
|
85
85
|
true
|
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} id: #{@id}, handle: #{@handle}, name: #{@name}, additional_properties:"\
|
92
|
+
" #{get_additional_properties}>"
|
93
|
+
end
|
94
|
+
|
95
|
+
# Provides a debugging-friendly string with detailed object information.
|
96
|
+
def inspect
|
97
|
+
class_name = self.class.name.split('::').last
|
98
|
+
"<#{class_name} id: #{@id.inspect}, handle: #{@handle.inspect}, name: #{@name.inspect},"\
|
99
|
+
" additional_properties: #{get_additional_properties}>"
|
100
|
+
end
|
87
101
|
end
|
88
102
|
end
|