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
@@ -274,5 +274,35 @@ module AdvancedBilling
|
|
274
274
|
|
275
275
|
true
|
276
276
|
end
|
277
|
+
|
278
|
+
# Provides a human-readable string representation of the object.
|
279
|
+
def to_s
|
280
|
+
class_name = self.class.name.split('::').last
|
281
|
+
"<#{class_name} uid: #{@uid}, title: #{@title}, description: #{@description}, quantity:"\
|
282
|
+
" #{@quantity}, unit_price: #{@unit_price}, subtotal_amount: #{@subtotal_amount},"\
|
283
|
+
" discount_amount: #{@discount_amount}, tax_amount: #{@tax_amount}, total_amount:"\
|
284
|
+
" #{@total_amount}, tiered_unit_price: #{@tiered_unit_price}, period_range_start:"\
|
285
|
+
" #{@period_range_start}, period_range_end: #{@period_range_end}, product_id:"\
|
286
|
+
" #{@product_id}, product_version: #{@product_version}, component_id: #{@component_id},"\
|
287
|
+
" price_point_id: #{@price_point_id}, billing_schedule_item_id:"\
|
288
|
+
" #{@billing_schedule_item_id}, custom_item: #{@custom_item}, additional_properties:"\
|
289
|
+
" #{get_additional_properties}>"
|
290
|
+
end
|
291
|
+
|
292
|
+
# Provides a debugging-friendly string with detailed object information.
|
293
|
+
def inspect
|
294
|
+
class_name = self.class.name.split('::').last
|
295
|
+
"<#{class_name} uid: #{@uid.inspect}, title: #{@title.inspect}, description:"\
|
296
|
+
" #{@description.inspect}, quantity: #{@quantity.inspect}, unit_price:"\
|
297
|
+
" #{@unit_price.inspect}, subtotal_amount: #{@subtotal_amount.inspect}, discount_amount:"\
|
298
|
+
" #{@discount_amount.inspect}, tax_amount: #{@tax_amount.inspect}, total_amount:"\
|
299
|
+
" #{@total_amount.inspect}, tiered_unit_price: #{@tiered_unit_price.inspect},"\
|
300
|
+
" period_range_start: #{@period_range_start.inspect}, period_range_end:"\
|
301
|
+
" #{@period_range_end.inspect}, product_id: #{@product_id.inspect}, product_version:"\
|
302
|
+
" #{@product_version.inspect}, component_id: #{@component_id.inspect}, price_point_id:"\
|
303
|
+
" #{@price_point_id.inspect}, billing_schedule_item_id:"\
|
304
|
+
" #{@billing_schedule_item_id.inspect}, custom_item: #{@custom_item.inspect},"\
|
305
|
+
" additional_properties: #{get_additional_properties}>"
|
306
|
+
end
|
277
307
|
end
|
278
308
|
end
|
@@ -53,5 +53,19 @@ module AdvancedBilling
|
|
53
53
|
CreditSchemeRequest.new(credit_scheme: credit_scheme,
|
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} credit_scheme: #{@credit_scheme}, 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} credit_scheme: #{@credit_scheme.inspect}, additional_properties:"\
|
68
|
+
" #{get_additional_properties}>"
|
69
|
+
end
|
56
70
|
end
|
57
71
|
end
|
@@ -124,5 +124,24 @@ module AdvancedBilling
|
|
124
124
|
role: role,
|
125
125
|
additional_properties: additional_properties)
|
126
126
|
end
|
127
|
+
|
128
|
+
# Provides a human-readable string representation of the object.
|
129
|
+
def to_s
|
130
|
+
class_name = self.class.name.split('::').last
|
131
|
+
"<#{class_name} id: #{@id}, currency: #{@currency}, price: #{@price}, formatted_price:"\
|
132
|
+
" #{@formatted_price}, price_id: #{@price_id}, price_point_id: #{@price_point_id},"\
|
133
|
+
" product_price_point_id: #{@product_price_point_id}, role: #{@role}, additional_properties:"\
|
134
|
+
" #{get_additional_properties}>"
|
135
|
+
end
|
136
|
+
|
137
|
+
# Provides a debugging-friendly string with detailed object information.
|
138
|
+
def inspect
|
139
|
+
class_name = self.class.name.split('::').last
|
140
|
+
"<#{class_name} id: #{@id.inspect}, currency: #{@currency.inspect}, price:"\
|
141
|
+
" #{@price.inspect}, formatted_price: #{@formatted_price.inspect}, price_id:"\
|
142
|
+
" #{@price_id.inspect}, price_point_id: #{@price_point_id.inspect}, product_price_point_id:"\
|
143
|
+
" #{@product_price_point_id.inspect}, role: #{@role.inspect}, additional_properties:"\
|
144
|
+
" #{get_additional_properties}>"
|
145
|
+
end
|
127
146
|
end
|
128
147
|
end
|
@@ -62,5 +62,19 @@ module AdvancedBilling
|
|
62
62
|
CurrencyPricesResponse.new(currency_prices: currency_prices,
|
63
63
|
additional_properties: additional_properties)
|
64
64
|
end
|
65
|
+
|
66
|
+
# Provides a human-readable string representation of the object.
|
67
|
+
def to_s
|
68
|
+
class_name = self.class.name.split('::').last
|
69
|
+
"<#{class_name} currency_prices: #{@currency_prices}, additional_properties:"\
|
70
|
+
" #{get_additional_properties}>"
|
71
|
+
end
|
72
|
+
|
73
|
+
# Provides a debugging-friendly string with detailed object information.
|
74
|
+
def inspect
|
75
|
+
class_name = self.class.name.split('::').last
|
76
|
+
"<#{class_name} currency_prices: #{@currency_prices.inspect}, additional_properties:"\
|
77
|
+
" #{get_additional_properties}>"
|
78
|
+
end
|
65
79
|
end
|
66
80
|
end
|
@@ -149,5 +149,24 @@ module AdvancedBilling
|
|
149
149
|
->(val) { val.instance_of? Integer })
|
150
150
|
)
|
151
151
|
end
|
152
|
+
|
153
|
+
# Provides a human-readable string representation of the object.
|
154
|
+
def to_s
|
155
|
+
class_name = self.class.name.split('::').last
|
156
|
+
"<#{class_name} event_type: #{@event_type}, metafield_name: #{@metafield_name},"\
|
157
|
+
" metafield_id: #{@metafield_id}, old_value: #{@old_value}, new_value: #{@new_value},"\
|
158
|
+
" resource_type: #{@resource_type}, resource_id: #{@resource_id}, additional_properties:"\
|
159
|
+
" #{get_additional_properties}>"
|
160
|
+
end
|
161
|
+
|
162
|
+
# Provides a debugging-friendly string with detailed object information.
|
163
|
+
def inspect
|
164
|
+
class_name = self.class.name.split('::').last
|
165
|
+
"<#{class_name} event_type: #{@event_type.inspect}, metafield_name:"\
|
166
|
+
" #{@metafield_name.inspect}, metafield_id: #{@metafield_id.inspect}, old_value:"\
|
167
|
+
" #{@old_value.inspect}, new_value: #{@new_value.inspect}, resource_type:"\
|
168
|
+
" #{@resource_type.inspect}, resource_id: #{@resource_id.inspect}, additional_properties:"\
|
169
|
+
" #{get_additional_properties}>"
|
170
|
+
end
|
152
171
|
end
|
153
172
|
end
|
@@ -434,5 +434,45 @@ module AdvancedBilling
|
|
434
434
|
|
435
435
|
true
|
436
436
|
end
|
437
|
+
|
438
|
+
# Provides a human-readable string representation of the object.
|
439
|
+
def to_s
|
440
|
+
class_name = self.class.name.split('::').last
|
441
|
+
"<#{class_name} first_name: #{@first_name}, last_name: #{@last_name}, email: #{@email},"\
|
442
|
+
" cc_emails: #{@cc_emails}, organization: #{@organization}, reference: #{@reference}, id:"\
|
443
|
+
" #{@id}, created_at: #{@created_at}, updated_at: #{@updated_at}, address: #{@address},"\
|
444
|
+
" address_2: #{@address_2}, city: #{@city}, state: #{@state}, state_name: #{@state_name},"\
|
445
|
+
" zip: #{@zip}, country: #{@country}, country_name: #{@country_name}, phone: #{@phone},"\
|
446
|
+
" verified: #{@verified}, portal_customer_created_at: #{@portal_customer_created_at},"\
|
447
|
+
" portal_invite_last_sent_at: #{@portal_invite_last_sent_at},"\
|
448
|
+
" portal_invite_last_accepted_at: #{@portal_invite_last_accepted_at}, tax_exempt:"\
|
449
|
+
" #{@tax_exempt}, vat_number: #{@vat_number}, parent_id: #{@parent_id}, locale: #{@locale},"\
|
450
|
+
" default_subscription_group_uid: #{@default_subscription_group_uid}, salesforce_id:"\
|
451
|
+
" #{@salesforce_id}, tax_exempt_reason: #{@tax_exempt_reason},"\
|
452
|
+
" default_auto_renewal_profile_id: #{@default_auto_renewal_profile_id},"\
|
453
|
+
" additional_properties: #{get_additional_properties}>"
|
454
|
+
end
|
455
|
+
|
456
|
+
# Provides a debugging-friendly string with detailed object information.
|
457
|
+
def inspect
|
458
|
+
class_name = self.class.name.split('::').last
|
459
|
+
"<#{class_name} first_name: #{@first_name.inspect}, last_name: #{@last_name.inspect},"\
|
460
|
+
" email: #{@email.inspect}, cc_emails: #{@cc_emails.inspect}, organization:"\
|
461
|
+
" #{@organization.inspect}, reference: #{@reference.inspect}, id: #{@id.inspect},"\
|
462
|
+
" created_at: #{@created_at.inspect}, updated_at: #{@updated_at.inspect}, address:"\
|
463
|
+
" #{@address.inspect}, address_2: #{@address_2.inspect}, city: #{@city.inspect}, state:"\
|
464
|
+
" #{@state.inspect}, state_name: #{@state_name.inspect}, zip: #{@zip.inspect}, country:"\
|
465
|
+
" #{@country.inspect}, country_name: #{@country_name.inspect}, phone: #{@phone.inspect},"\
|
466
|
+
" verified: #{@verified.inspect}, portal_customer_created_at:"\
|
467
|
+
" #{@portal_customer_created_at.inspect}, portal_invite_last_sent_at:"\
|
468
|
+
" #{@portal_invite_last_sent_at.inspect}, portal_invite_last_accepted_at:"\
|
469
|
+
" #{@portal_invite_last_accepted_at.inspect}, tax_exempt: #{@tax_exempt.inspect},"\
|
470
|
+
" vat_number: #{@vat_number.inspect}, parent_id: #{@parent_id.inspect}, locale:"\
|
471
|
+
" #{@locale.inspect}, default_subscription_group_uid:"\
|
472
|
+
" #{@default_subscription_group_uid.inspect}, salesforce_id: #{@salesforce_id.inspect},"\
|
473
|
+
" tax_exempt_reason: #{@tax_exempt_reason.inspect}, default_auto_renewal_profile_id:"\
|
474
|
+
" #{@default_auto_renewal_profile_id.inspect}, additional_properties:"\
|
475
|
+
" #{get_additional_properties}>"
|
476
|
+
end
|
437
477
|
end
|
438
478
|
end
|
@@ -273,5 +273,32 @@ module AdvancedBilling
|
|
273
273
|
|
274
274
|
true
|
275
275
|
end
|
276
|
+
|
277
|
+
# Provides a human-readable string representation of the object.
|
278
|
+
def to_s
|
279
|
+
class_name = self.class.name.split('::').last
|
280
|
+
"<#{class_name} first_name: #{@first_name}, last_name: #{@last_name}, email: #{@email},"\
|
281
|
+
" cc_emails: #{@cc_emails}, organization: #{@organization}, reference: #{@reference},"\
|
282
|
+
" address: #{@address}, address_2: #{@address_2}, city: #{@city}, state: #{@state}, zip:"\
|
283
|
+
" #{@zip}, country: #{@country}, phone: #{@phone}, verified: #{@verified}, tax_exempt:"\
|
284
|
+
" #{@tax_exempt}, vat_number: #{@vat_number}, metafields: #{@metafields}, parent_id:"\
|
285
|
+
" #{@parent_id}, salesforce_id: #{@salesforce_id}, default_auto_renewal_profile_id:"\
|
286
|
+
" #{@default_auto_renewal_profile_id}, additional_properties: #{get_additional_properties}>"
|
287
|
+
end
|
288
|
+
|
289
|
+
# Provides a debugging-friendly string with detailed object information.
|
290
|
+
def inspect
|
291
|
+
class_name = self.class.name.split('::').last
|
292
|
+
"<#{class_name} first_name: #{@first_name.inspect}, last_name: #{@last_name.inspect},"\
|
293
|
+
" email: #{@email.inspect}, cc_emails: #{@cc_emails.inspect}, organization:"\
|
294
|
+
" #{@organization.inspect}, reference: #{@reference.inspect}, address: #{@address.inspect},"\
|
295
|
+
" address_2: #{@address_2.inspect}, city: #{@city.inspect}, state: #{@state.inspect}, zip:"\
|
296
|
+
" #{@zip.inspect}, country: #{@country.inspect}, phone: #{@phone.inspect}, verified:"\
|
297
|
+
" #{@verified.inspect}, tax_exempt: #{@tax_exempt.inspect}, vat_number:"\
|
298
|
+
" #{@vat_number.inspect}, metafields: #{@metafields.inspect}, parent_id:"\
|
299
|
+
" #{@parent_id.inspect}, salesforce_id: #{@salesforce_id.inspect},"\
|
300
|
+
" default_auto_renewal_profile_id: #{@default_auto_renewal_profile_id.inspect},"\
|
301
|
+
" additional_properties: #{get_additional_properties}>"
|
302
|
+
end
|
276
303
|
end
|
277
304
|
end
|
@@ -91,5 +91,21 @@ module AdvancedBilling
|
|
91
91
|
custom_fields: custom_fields,
|
92
92
|
additional_properties: additional_properties)
|
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} payer: #{@payer}, shipping_address: #{@shipping_address}, billing_address:"\
|
99
|
+
" #{@billing_address}, custom_fields: #{@custom_fields}, additional_properties:"\
|
100
|
+
" #{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} payer: #{@payer.inspect}, shipping_address: #{@shipping_address.inspect},"\
|
107
|
+
" billing_address: #{@billing_address.inspect}, custom_fields: #{@custom_fields.inspect},"\
|
108
|
+
" additional_properties: #{get_additional_properties}>"
|
109
|
+
end
|
94
110
|
end
|
95
111
|
end
|
@@ -53,5 +53,18 @@ module AdvancedBilling
|
|
53
53
|
CustomerChangesPreviewResponse.new(changes: changes,
|
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} changes: #{@changes}, 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} changes: #{@changes.inspect}, additional_properties:"\
|
67
|
+
" #{get_additional_properties}>"
|
68
|
+
end
|
56
69
|
end
|
57
70
|
end
|
@@ -79,5 +79,19 @@ module AdvancedBilling
|
|
79
79
|
after: after,
|
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} before: #{@before}, after: #{@after}, 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} before: #{@before.inspect}, after: #{@after.inspect},"\
|
94
|
+
" additional_properties: #{get_additional_properties}>"
|
95
|
+
end
|
82
96
|
end
|
83
97
|
end
|
@@ -65,5 +65,19 @@ module AdvancedBilling
|
|
65
65
|
|
66
66
|
true
|
67
67
|
end
|
68
|
+
|
69
|
+
# Provides a human-readable string representation of the object.
|
70
|
+
def to_s
|
71
|
+
class_name = self.class.name.split('::').last
|
72
|
+
"<#{class_name} customer: #{@customer}, additional_properties:"\
|
73
|
+
" #{get_additional_properties}>"
|
74
|
+
end
|
75
|
+
|
76
|
+
# Provides a debugging-friendly string with detailed object information.
|
77
|
+
def inspect
|
78
|
+
class_name = self.class.name.split('::').last
|
79
|
+
"<#{class_name} customer: #{@customer.inspect}, additional_properties:"\
|
80
|
+
" #{get_additional_properties}>"
|
81
|
+
end
|
68
82
|
end
|
69
83
|
end
|
@@ -61,5 +61,19 @@ module AdvancedBilling
|
|
61
61
|
after: after,
|
62
62
|
additional_properties: additional_properties)
|
63
63
|
end
|
64
|
+
|
65
|
+
# Provides a human-readable string representation of the object.
|
66
|
+
def to_s
|
67
|
+
class_name = self.class.name.split('::').last
|
68
|
+
"<#{class_name} before: #{@before}, after: #{@after}, additional_properties:"\
|
69
|
+
" #{get_additional_properties}>"
|
70
|
+
end
|
71
|
+
|
72
|
+
# Provides a debugging-friendly string with detailed object information.
|
73
|
+
def inspect
|
74
|
+
class_name = self.class.name.split('::').last
|
75
|
+
"<#{class_name} before: #{@before.inspect}, after: #{@after.inspect},"\
|
76
|
+
" additional_properties: #{get_additional_properties}>"
|
77
|
+
end
|
64
78
|
end
|
65
79
|
end
|
@@ -53,5 +53,19 @@ module AdvancedBilling
|
|
53
53
|
CustomerResponse.new(customer: customer,
|
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} customer: #{@customer}, 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} customer: #{@customer.inspect}, additional_properties:"\
|
68
|
+
" #{get_additional_properties}>"
|
69
|
+
end
|
56
70
|
end
|
57
71
|
end
|
@@ -332,5 +332,35 @@ module AdvancedBilling
|
|
332
332
|
|
333
333
|
true
|
334
334
|
end
|
335
|
+
|
336
|
+
# Provides a human-readable string representation of the object.
|
337
|
+
def to_s
|
338
|
+
class_name = self.class.name.split('::').last
|
339
|
+
"<#{class_name} uid: #{@uid}, site_id: #{@site_id}, customer_id: #{@customer_id},"\
|
340
|
+
" subscription_id: #{@subscription_id}, number: #{@number}, sequence_number:"\
|
341
|
+
" #{@sequence_number}, origin_credit_note_uid: #{@origin_credit_note_uid},"\
|
342
|
+
" origin_credit_note_number: #{@origin_credit_note_number}, issue_date: #{@issue_date},"\
|
343
|
+
" applied_date: #{@applied_date}, due_date: #{@due_date}, status: #{@status}, memo:"\
|
344
|
+
" #{@memo}, role: #{@role}, currency: #{@currency}, seller: #{@seller}, customer:"\
|
345
|
+
" #{@customer}, billing_address: #{@billing_address}, shipping_address:"\
|
346
|
+
" #{@shipping_address}, line_items: #{@line_items}, discounts: #{@discounts}, taxes:"\
|
347
|
+
" #{@taxes}, refunds: #{@refunds}, additional_properties: #{get_additional_properties}>"
|
348
|
+
end
|
349
|
+
|
350
|
+
# Provides a debugging-friendly string with detailed object information.
|
351
|
+
def inspect
|
352
|
+
class_name = self.class.name.split('::').last
|
353
|
+
"<#{class_name} uid: #{@uid.inspect}, site_id: #{@site_id.inspect}, customer_id:"\
|
354
|
+
" #{@customer_id.inspect}, subscription_id: #{@subscription_id.inspect}, number:"\
|
355
|
+
" #{@number.inspect}, sequence_number: #{@sequence_number.inspect}, origin_credit_note_uid:"\
|
356
|
+
" #{@origin_credit_note_uid.inspect}, origin_credit_note_number:"\
|
357
|
+
" #{@origin_credit_note_number.inspect}, issue_date: #{@issue_date.inspect}, applied_date:"\
|
358
|
+
" #{@applied_date.inspect}, due_date: #{@due_date.inspect}, status: #{@status.inspect},"\
|
359
|
+
" memo: #{@memo.inspect}, role: #{@role.inspect}, currency: #{@currency.inspect}, seller:"\
|
360
|
+
" #{@seller.inspect}, customer: #{@customer.inspect}, billing_address:"\
|
361
|
+
" #{@billing_address.inspect}, shipping_address: #{@shipping_address.inspect}, line_items:"\
|
362
|
+
" #{@line_items.inspect}, discounts: #{@discounts.inspect}, taxes: #{@taxes.inspect},"\
|
363
|
+
" refunds: #{@refunds.inspect}, additional_properties: #{get_additional_properties}>"
|
364
|
+
end
|
335
365
|
end
|
336
366
|
end
|
@@ -79,5 +79,19 @@ module AdvancedBilling
|
|
79
79
|
UnionTypeLookUp.get(:DeductServiceCreditAmount)
|
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
|
@@ -53,5 +53,19 @@ module AdvancedBilling
|
|
53
53
|
DeductServiceCreditRequest.new(deduction: deduction,
|
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} deduction: #{@deduction}, 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} deduction: #{@deduction.inspect}, additional_properties:"\
|
68
|
+
" #{get_additional_properties}>"
|
69
|
+
end
|
56
70
|
end
|
57
71
|
end
|
@@ -55,5 +55,18 @@ module AdvancedBilling
|
|
55
55
|
DelayedCancellationResponse.new(message: message,
|
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} message: #{@message}, 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} message: #{@message.inspect}, additional_properties:"\
|
69
|
+
" #{get_additional_properties}>"
|
70
|
+
end
|
58
71
|
end
|
59
72
|
end
|
@@ -64,5 +64,19 @@ module AdvancedBilling
|
|
64
64
|
deleted: deleted,
|
65
65
|
additional_properties: additional_properties)
|
66
66
|
end
|
67
|
+
|
68
|
+
# Provides a human-readable string representation of the object.
|
69
|
+
def to_s
|
70
|
+
class_name = self.class.name.split('::').last
|
71
|
+
"<#{class_name} uid: #{@uid}, deleted: #{@deleted}, additional_properties:"\
|
72
|
+
" #{get_additional_properties}>"
|
73
|
+
end
|
74
|
+
|
75
|
+
# Provides a debugging-friendly string with detailed object information.
|
76
|
+
def inspect
|
77
|
+
class_name = self.class.name.split('::').last
|
78
|
+
"<#{class_name} uid: #{@uid.inspect}, deleted: #{@deleted.inspect}, additional_properties:"\
|
79
|
+
" #{get_additional_properties}>"
|
80
|
+
end
|
67
81
|
end
|
68
82
|
end
|
@@ -148,5 +148,23 @@ module AdvancedBilling
|
|
148
148
|
->(val) { val.instance_of? String })
|
149
149
|
)
|
150
150
|
end
|
151
|
+
|
152
|
+
# Provides a human-readable string representation of the object.
|
153
|
+
def to_s
|
154
|
+
class_name = self.class.name.split('::').last
|
155
|
+
"<#{class_name} state: #{@state}, subscription_id: #{@subscription_id},"\
|
156
|
+
" revenue_at_risk_in_cents: #{@revenue_at_risk_in_cents}, created_at: #{@created_at},"\
|
157
|
+
" attempts: #{@attempts}, last_attempted_at: #{@last_attempted_at}, additional_properties:"\
|
158
|
+
" #{get_additional_properties}>"
|
159
|
+
end
|
160
|
+
|
161
|
+
# Provides a debugging-friendly string with detailed object information.
|
162
|
+
def inspect
|
163
|
+
class_name = self.class.name.split('::').last
|
164
|
+
"<#{class_name} state: #{@state.inspect}, subscription_id: #{@subscription_id.inspect},"\
|
165
|
+
" revenue_at_risk_in_cents: #{@revenue_at_risk_in_cents.inspect}, created_at:"\
|
166
|
+
" #{@created_at.inspect}, attempts: #{@attempts.inspect}, last_attempted_at:"\
|
167
|
+
" #{@last_attempted_at.inspect}, additional_properties: #{get_additional_properties}>"
|
168
|
+
end
|
151
169
|
end
|
152
170
|
end
|
@@ -154,5 +154,24 @@ module AdvancedBilling
|
|
154
154
|
->(val) { val.instance_of? TrueClass or val.instance_of? FalseClass })
|
155
155
|
)
|
156
156
|
end
|
157
|
+
|
158
|
+
# Provides a human-readable string representation of the object.
|
159
|
+
def to_s
|
160
|
+
class_name = self.class.name.split('::').last
|
161
|
+
"<#{class_name} day_threshold: #{@day_threshold}, action: #{@action}, email_body:"\
|
162
|
+
" #{@email_body}, email_subject: #{@email_subject}, send_email: #{@send_email},"\
|
163
|
+
" send_bcc_email: #{@send_bcc_email}, send_sms: #{@send_sms}, sms_body: #{@sms_body},"\
|
164
|
+
" additional_properties: #{get_additional_properties}>"
|
165
|
+
end
|
166
|
+
|
167
|
+
# Provides a debugging-friendly string with detailed object information.
|
168
|
+
def inspect
|
169
|
+
class_name = self.class.name.split('::').last
|
170
|
+
"<#{class_name} day_threshold: #{@day_threshold.inspect}, action: #{@action.inspect},"\
|
171
|
+
" email_body: #{@email_body.inspect}, email_subject: #{@email_subject.inspect}, send_email:"\
|
172
|
+
" #{@send_email.inspect}, send_bcc_email: #{@send_bcc_email.inspect}, send_sms:"\
|
173
|
+
" #{@send_sms.inspect}, sms_body: #{@sms_body.inspect}, additional_properties:"\
|
174
|
+
" #{get_additional_properties}>"
|
175
|
+
end
|
157
176
|
end
|
158
177
|
end
|
@@ -102,5 +102,19 @@ module AdvancedBilling
|
|
102
102
|
is_model_hash: true)
|
103
103
|
)
|
104
104
|
end
|
105
|
+
|
106
|
+
# Provides a human-readable string representation of the object.
|
107
|
+
def to_s
|
108
|
+
class_name = self.class.name.split('::').last
|
109
|
+
"<#{class_name} dunner: #{@dunner}, current_step: #{@current_step}, next_step:"\
|
110
|
+
" #{@next_step}, additional_properties: #{get_additional_properties}>"
|
111
|
+
end
|
112
|
+
|
113
|
+
# Provides a debugging-friendly string with detailed object information.
|
114
|
+
def inspect
|
115
|
+
class_name = self.class.name.split('::').last
|
116
|
+
"<#{class_name} dunner: #{@dunner.inspect}, current_step: #{@current_step.inspect},"\
|
117
|
+
" next_step: #{@next_step.inspect}, additional_properties: #{get_additional_properties}>"
|
118
|
+
end
|
105
119
|
end
|
106
120
|
end
|
@@ -262,5 +262,29 @@ module AdvancedBilling
|
|
262
262
|
->(val) { val.instance_of? Integer })
|
263
263
|
)
|
264
264
|
end
|
265
|
+
|
266
|
+
# Provides a human-readable string representation of the object.
|
267
|
+
def to_s
|
268
|
+
class_name = self.class.name.split('::').last
|
269
|
+
"<#{class_name} name: #{@name}, unit_name: #{@unit_name}, description: #{@description},"\
|
270
|
+
" handle: #{@handle}, taxable: #{@taxable}, pricing_scheme: #{@pricing_scheme}, prices:"\
|
271
|
+
" #{@prices}, price_points: #{@price_points}, unit_price: #{@unit_price}, tax_code:"\
|
272
|
+
" #{@tax_code}, hide_date_range_on_invoice: #{@hide_date_range_on_invoice},"\
|
273
|
+
" event_based_billing_metric_id: #{@event_based_billing_metric_id}, interval: #{@interval},"\
|
274
|
+
" interval_unit: #{@interval_unit}, additional_properties: #{get_additional_properties}>"
|
275
|
+
end
|
276
|
+
|
277
|
+
# Provides a debugging-friendly string with detailed object information.
|
278
|
+
def inspect
|
279
|
+
class_name = self.class.name.split('::').last
|
280
|
+
"<#{class_name} name: #{@name.inspect}, unit_name: #{@unit_name.inspect}, description:"\
|
281
|
+
" #{@description.inspect}, handle: #{@handle.inspect}, taxable: #{@taxable.inspect},"\
|
282
|
+
" pricing_scheme: #{@pricing_scheme.inspect}, prices: #{@prices.inspect}, price_points:"\
|
283
|
+
" #{@price_points.inspect}, unit_price: #{@unit_price.inspect}, tax_code:"\
|
284
|
+
" #{@tax_code.inspect}, hide_date_range_on_invoice: #{@hide_date_range_on_invoice.inspect},"\
|
285
|
+
" event_based_billing_metric_id: #{@event_based_billing_metric_id.inspect}, interval:"\
|
286
|
+
" #{@interval.inspect}, interval_unit: #{@interval_unit.inspect}, additional_properties:"\
|
287
|
+
" #{get_additional_properties}>"
|
288
|
+
end
|
265
289
|
end
|
266
290
|
end
|
@@ -55,5 +55,19 @@ module AdvancedBilling
|
|
55
55
|
EBBEvent.new(chargify: chargify,
|
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} chargify: #{@chargify}, additional_properties:"\
|
63
|
+
" #{get_additional_properties}>"
|
64
|
+
end
|
65
|
+
|
66
|
+
# Provides a debugging-friendly string with detailed object information.
|
67
|
+
def inspect
|
68
|
+
class_name = self.class.name.split('::').last
|
69
|
+
"<#{class_name} chargify: #{@chargify.inspect}, additional_properties:"\
|
70
|
+
" #{get_additional_properties}>"
|
71
|
+
end
|
58
72
|
end
|
59
73
|
end
|
@@ -54,5 +54,19 @@ module AdvancedBilling
|
|
54
54
|
EnableWebhooksRequest.new(webhooks_enabled: webhooks_enabled,
|
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} webhooks_enabled: #{@webhooks_enabled}, 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} webhooks_enabled: #{@webhooks_enabled.inspect}, additional_properties:"\
|
69
|
+
" #{get_additional_properties}>"
|
70
|
+
end
|
57
71
|
end
|
58
72
|
end
|
@@ -56,5 +56,19 @@ module AdvancedBilling
|
|
56
56
|
EnableWebhooksResponse.new(webhooks_enabled: webhooks_enabled,
|
57
57
|
additional_properties: additional_properties)
|
58
58
|
end
|
59
|
+
|
60
|
+
# Provides a human-readable string representation of the object.
|
61
|
+
def to_s
|
62
|
+
class_name = self.class.name.split('::').last
|
63
|
+
"<#{class_name} webhooks_enabled: #{@webhooks_enabled}, additional_properties:"\
|
64
|
+
" #{get_additional_properties}>"
|
65
|
+
end
|
66
|
+
|
67
|
+
# Provides a debugging-friendly string with detailed object information.
|
68
|
+
def inspect
|
69
|
+
class_name = self.class.name.split('::').last
|
70
|
+
"<#{class_name} webhooks_enabled: #{@webhooks_enabled.inspect}, additional_properties:"\
|
71
|
+
" #{get_additional_properties}>"
|
72
|
+
end
|
59
73
|
end
|
60
74
|
end
|
@@ -93,5 +93,21 @@ module AdvancedBilling
|
|
93
93
|
webhook_subscriptions: webhook_subscriptions,
|
94
94
|
additional_properties: additional_properties)
|
95
95
|
end
|
96
|
+
|
97
|
+
# Provides a human-readable string representation of the object.
|
98
|
+
def to_s
|
99
|
+
class_name = self.class.name.split('::').last
|
100
|
+
"<#{class_name} id: #{@id}, url: #{@url}, site_id: #{@site_id}, status: #{@status},"\
|
101
|
+
" webhook_subscriptions: #{@webhook_subscriptions}, additional_properties:"\
|
102
|
+
" #{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}, url: #{@url.inspect}, site_id: #{@site_id.inspect},"\
|
109
|
+
" status: #{@status.inspect}, webhook_subscriptions: #{@webhook_subscriptions.inspect},"\
|
110
|
+
" additional_properties: #{get_additional_properties}>"
|
111
|
+
end
|
96
112
|
end
|
97
113
|
end
|