stripe 17.3.0.pre.alpha.2 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +0 -34
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -63
- data/lib/stripe/event_types.rb +0 -1050
- data/lib/stripe/object_types.rb +0 -82
- data/lib/stripe/params/account_create_params.rb +3 -334
- data/lib/stripe/params/account_person_create_params.rb +1 -33
- data/lib/stripe/params/account_person_update_params.rb +1 -33
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +2 -296
- data/lib/stripe/params/billing/alert_create_params.rb +1 -121
- data/lib/stripe/params/billing/alert_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +2 -17
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -33
- data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
- data/lib/stripe/params/billing/meter_create_params.rb +0 -4
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
- data/lib/stripe/params/billing_portal/session_create_params.rb +0 -4
- data/lib/stripe/params/charge_capture_params.rb +0 -709
- data/lib/stripe/params/charge_update_params.rb +0 -709
- data/lib/stripe/params/checkout/session_create_params.rb +4 -273
- data/lib/stripe/params/checkout/session_list_params.rb +0 -4
- data/lib/stripe/params/checkout/session_update_params.rb +1 -288
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/credit_note_list_params.rb +0 -4
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +21 -1
- data/lib/stripe/params/customer_session_create_params.rb +3 -37
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/account_list_params.rb +1 -4
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -34
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/identity/verification_session_create_params.rb +0 -4
- data/lib/stripe/params/identity/verification_session_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -112
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -882
- data/lib/stripe/params/invoice_item_create_params.rb +1 -37
- data/lib/stripe/params/invoice_item_list_params.rb +0 -4
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_list_params.rb +0 -8
- data/lib/stripe/params/invoice_payment_list_params.rb +22 -0
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -108
- data/lib/stripe/params/issuing/authorization_create_params.rb +16 -1
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +30 -707
- data/lib/stripe/params/payment_intent_confirm_params.rb +42 -1216
- data/lib/stripe/params/payment_intent_create_params.rb +48 -1230
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +29 -34
- data/lib/stripe/params/payment_intent_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_update_params.rb +52 -1265
- data/lib/stripe/params/payment_method_attach_params.rb +1 -4
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -126
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -126
- data/lib/stripe/params/payment_method_create_params.rb +0 -97
- data/lib/stripe/params/payment_method_update_params.rb +0 -19
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/promotion_code_create_params.rb +0 -4
- data/lib/stripe/params/promotion_code_list_params.rb +0 -4
- data/lib/stripe/params/quote_create_params.rb +4 -1014
- data/lib/stripe/params/quote_list_params.rb +0 -8
- data/lib/stripe/params/quote_update_params.rb +4 -1021
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -254
- data/lib/stripe/params/setup_intent_create_params.rb +3 -260
- data/lib/stripe/params/setup_intent_list_params.rb +0 -4
- data/lib/stripe/params/setup_intent_update_params.rb +4 -261
- data/lib/stripe/params/subscription_create_params.rb +5 -259
- data/lib/stripe/params/subscription_item_create_params.rb +2 -46
- data/lib/stripe/params/subscription_item_update_params.rb +1 -29
- data/lib/stripe/params/subscription_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +7 -229
- data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_update_params.rb +7 -225
- data/lib/stripe/params/subscription_update_params.rb +4 -238
- data/lib/stripe/params/tax/registration_create_params.rb +1 -1
- data/lib/stripe/params/tax_id_create_params.rb +1 -4
- data/lib/stripe/params/tax_id_list_params.rb +1 -4
- data/lib/stripe/params/terminal/configuration_create_params.rb +9 -22
- data/lib/stripe/params/terminal/configuration_update_params.rb +9 -22
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +16 -1
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/token_create_params.rb +2 -66
- data/lib/stripe/params/transfer_create_params.rb +1 -9
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/core/event_list_params.rb +21 -21
- data/lib/stripe/params.rb +0 -250
- data/lib/stripe/resources/account.rb +2 -167
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/application_fee.rb +0 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/bank_account.rb +2 -2
- data/lib/stripe/resources/billing/alert.rb +1 -105
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -86
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
- data/lib/stripe/resources/billing/credit_grant.rb +2 -60
- data/lib/stripe/resources/billing/meter.rb +0 -2
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
- data/lib/stripe/resources/billing_portal/configuration.rb +2 -0
- data/lib/stripe/resources/billing_portal/session.rb +0 -2
- data/lib/stripe/resources/card.rb +1 -20
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +4 -256
- data/lib/stripe/resources/checkout/session.rb +4 -246
- data/lib/stripe/resources/confirmation_token.rb +1 -174
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note.rb +0 -2
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -2
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
- data/lib/stripe/resources/customer_session.rb +0 -38
- data/lib/stripe/resources/discount.rb +0 -4
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +22 -27
- data/lib/stripe/resources/financial_connections/session.rb +1 -67
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/identity/verification_session.rb +0 -2
- data/lib/stripe/resources/invoice.rb +2 -169
- data/lib/stripe/resources/invoice_item.rb +2 -110
- data/lib/stripe/resources/invoice_line_item.rb +1 -147
- data/lib/stripe/resources/issuing/card.rb +18 -0
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +1 -68
- data/lib/stripe/resources/mandate.rb +0 -71
- data/lib/stripe/resources/payment_attempt_record.rb +9 -209
- data/lib/stripe/resources/payment_intent.rb +23 -800
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +13 -7
- data/lib/stripe/resources/payment_method.rb +1 -196
- data/lib/stripe/resources/payment_method_configuration.rb +0 -204
- data/lib/stripe/resources/payment_record.rb +9 -209
- data/lib/stripe/resources/person.rb +0 -36
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/promotion_code.rb +0 -2
- data/lib/stripe/resources/quote.rb +2 -918
- data/lib/stripe/resources/refund.rb +24 -11
- data/lib/stripe/resources/setup_attempt.rb +1 -64
- data/lib/stripe/resources/setup_intent.rb +1 -172
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +0 -335
- data/lib/stripe/resources/subscription_item.rb +1 -20
- data/lib/stripe/resources/subscription_schedule.rb +3 -372
- data/lib/stripe/resources/tax_id.rb +0 -4
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -6
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -1
- data/lib/stripe/resources/v2/core/event.rb +0 -4
- data/lib/stripe/resources.rb +0 -391
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/identity_service.rb +1 -2
- data/lib/stripe/services/issuing_service.rb +1 -6
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -37
- data/lib/stripe/services/payment_method_service.rb +0 -11
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -11
- data/lib/stripe/services/tax_service.rb +1 -2
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -9
- data/lib/stripe/services/v2/billing_service.rb +1 -18
- data/lib/stripe/services/v2/core_service.rb +1 -5
- data/lib/stripe/services/v2_services.rb +1 -5
- data/lib/stripe/services.rb +0 -86
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +3 -12
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +49831 -122462
- metadata +4 -731
- data/lib/stripe/events/v1_account_updated_event.rb +0 -44
- data/lib/stripe/events/v1_application_fee_created_event.rb +0 -44
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +0 -44
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +0 -44
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +0 -44
- data/lib/stripe/events/v1_capability_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_captured_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_expired_event.rb +0 -44
- data/lib/stripe/events/v1_charge_failed_event.rb +0 -44
- data/lib/stripe/events/v1_charge_pending_event.rb +0 -44
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_refunded_event.rb +0 -44
- data/lib/stripe/events/v1_charge_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_charge_updated_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_created_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +0 -44
- data/lib/stripe/events/v1_climate_product_created_event.rb +0 -44
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_created_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_updated_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_created_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_updated_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_voided_event.rb +0 -44
- data/lib/stripe/events/v1_customer_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +0 -44
- data/lib/stripe/events/v1_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v1_file_created_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_created_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_finalized_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_overdue_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_paid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_sent_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_updated_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_voided_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +0 -44
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +0 -44
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_card_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_token_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v1_mandate_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_created_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_payment_link_created_event.rb +0 -44
- data/lib/stripe/events/v1_payment_link_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_attached_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_detached_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payout_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_payout_created_event.rb +0 -44
- data/lib/stripe/events/v1_payout_failed_event.rb +0 -44
- data/lib/stripe/events/v1_payout_paid_event.rb +0 -44
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +0 -44
- data/lib/stripe/events/v1_payout_updated_event.rb +0 -44
- data/lib/stripe/events/v1_person_created_event.rb +0 -44
- data/lib/stripe/events/v1_person_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_person_updated_event.rb +0 -44
- data/lib/stripe/events/v1_plan_created_event.rb +0 -44
- data/lib/stripe/events/v1_plan_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v1_price_created_event.rb +0 -44
- data/lib/stripe/events/v1_price_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_price_updated_event.rb +0 -44
- data/lib/stripe/events/v1_product_created_event.rb +0 -44
- data/lib/stripe/events/v1_product_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_product_updated_event.rb +0 -44
- data/lib/stripe/events/v1_promotion_code_created_event.rb +0 -44
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +0 -44
- data/lib/stripe/events/v1_quote_accepted_event.rb +0 -44
- data/lib/stripe/events/v1_quote_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_quote_created_event.rb +0 -44
- data/lib/stripe/events/v1_quote_finalized_event.rb +0 -44
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +0 -44
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +0 -44
- data/lib/stripe/events/v1_refund_created_event.rb +0 -44
- data/lib/stripe/events/v1_refund_failed_event.rb +0 -44
- data/lib/stripe/events/v1_refund_updated_event.rb +0 -44
- data/lib/stripe/events/v1_review_closed_event.rb +0 -44
- data/lib/stripe/events/v1_review_opened_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_created_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v1_source_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_source_chargeable_event.rb +0 -44
- data/lib/stripe/events/v1_source_failed_event.rb +0 -44
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +0 -44
- data/lib/stripe/events/v1_tax_rate_created_event.rb +0 -44
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +0 -44
- data/lib/stripe/events/v1_topup_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_topup_created_event.rb +0 -44
- data/lib/stripe/events/v1_topup_failed_event.rb +0 -44
- data/lib/stripe/events/v1_topup_reversed_event.rb +0 -44
- data/lib/stripe/events/v1_topup_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_reversed_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
- data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -69
- data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -55
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
- data/lib/stripe/params/fx_quote_create_params.rb +0 -73
- data/lib/stripe/params/fx_quote_list_params.rb +0 -22
- data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
- data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
- data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
- data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
- data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
- data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
- data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_create_params.rb +0 -21
- data/lib/stripe/params/issuing/program_list_params.rb +0 -24
- data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_update_params.rb +0 -21
- data/lib/stripe/params/mandate_list_params.rb +0 -39
- data/lib/stripe/params/margin_create_params.rb +0 -25
- data/lib/stripe/params/margin_list_params.rb +0 -25
- data/lib/stripe/params/margin_retrieve_params.rb +0 -13
- data/lib/stripe/params/margin_update_params.rb +0 -22
- data/lib/stripe/params/order_cancel_params.rb +0 -13
- data/lib/stripe/params/order_create_params.rb +0 -1124
- data/lib/stripe/params/order_line_item_list_params.rb +0 -22
- data/lib/stripe/params/order_list_line_items_params.rb +0 -22
- data/lib/stripe/params/order_list_params.rb +0 -25
- data/lib/stripe/params/order_reopen_params.rb +0 -13
- data/lib/stripe/params/order_retrieve_params.rb +0 -13
- data/lib/stripe/params/order_submit_params.rb +0 -16
- data/lib/stripe/params/order_update_params.rb +0 -1128
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
- data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
- data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -570
- data/lib/stripe/params/tax/form_list_params.rb +0 -51
- data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
- data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
- data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
- data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
- data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
- data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
- data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -78
- data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
- data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
- data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
- data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
- data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
- data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -254
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
- data/lib/stripe/params/v2/core/account_close_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_create_params.rb +0 -2943
- data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
- data/lib/stripe/params/v2/core/account_list_params.rb +0 -23
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_update_params.rb +0 -2975
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +0 -493
- data/lib/stripe/params/v2/core/accounts/person_delete_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/accounts/person_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +0 -493
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
- data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
- data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
- data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
- data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
- data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
- data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
- data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -103
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
- data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -81
- data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
- data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
- data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
- data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
- data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
- data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
- data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -61
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
- data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
- data/lib/stripe/resources/account_notice.rb +0 -94
- data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -40
- data/lib/stripe/resources/capital/financing_offer.rb +0 -183
- data/lib/stripe/resources/capital/financing_summary.rb +0 -79
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -420
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
- data/lib/stripe/resources/financial_connections/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -147
- data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
- data/lib/stripe/resources/issuing/program.rb +0 -69
- data/lib/stripe/resources/issuing/settlement.rb +0 -61
- data/lib/stripe/resources/margin.rb +0 -64
- data/lib/stripe/resources/order.rb +0 -987
- data/lib/stripe/resources/payment_method_balance.rb +0 -68
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/quote_line.rb +0 -521
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1166
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -906
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/transit_balance.rb +0 -45
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
- data/lib/stripe/resources/v2/billing/intent.rb +0 -86
- data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
- data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
- data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -244
- data/lib/stripe/resources/v2/core/account.rb +0 -4967
- data/lib/stripe/resources/v2/core/account_link.rb +0 -123
- data/lib/stripe/resources/v2/core/account_person.rb +0 -477
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -30
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -148
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -198
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -137
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -140
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -116
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
- data/lib/stripe/services/account_notice_service.rb +0 -39
- data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
- data/lib/stripe/services/billing/analytics_service.rb +0 -15
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
- data/lib/stripe/services/delegated_checkout_service.rb +0 -13
- data/lib/stripe/services/external_account_service.rb +0 -68
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
- data/lib/stripe/services/fx_quote_service.rb +0 -27
- data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
- data/lib/stripe/services/issuing/program_service.rb +0 -52
- data/lib/stripe/services/margin_service.rb +0 -50
- data/lib/stripe/services/order_line_item_service.rb +0 -17
- data/lib/stripe/services/order_service.rb +0 -78
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
- data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
- data/lib/stripe/services/v2/core/account_link_service.rb +0 -21
- data/lib/stripe/services/v2/core/account_service.rb +0 -76
- data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -67
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
- data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
- data/lib/stripe/services/v2/core/vault_service.rb +0 -18
- data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
- data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
- data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
- data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
- data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
- data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
- data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
- data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
- data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
- data/lib/stripe/services/v2/money_management_service.rb +0 -33
- data/lib/stripe/services/v2/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/test_helper_service.rb +0 -16
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
|
@@ -7,7 +7,6 @@ module Stripe
|
|
|
7
7
|
class Quote < APIResource
|
|
8
8
|
extend Stripe::APIOperations::Create
|
|
9
9
|
extend Stripe::APIOperations::List
|
|
10
|
-
extend Stripe::APIOperations::NestedResource
|
|
11
10
|
include Stripe::APIOperations::Save
|
|
12
11
|
|
|
13
12
|
OBJECT_NAME = "quote"
|
|
@@ -15,9 +14,6 @@ module Stripe
|
|
|
15
14
|
"quote"
|
|
16
15
|
end
|
|
17
16
|
|
|
18
|
-
nested_resource_class_methods :preview_invoice, operations: %i[list]
|
|
19
|
-
nested_resource_class_methods :preview_subscription_schedule, operations: %i[list]
|
|
20
|
-
|
|
21
17
|
class AutomaticTax < ::Stripe::StripeObject
|
|
22
18
|
class Liability < ::Stripe::StripeObject
|
|
23
19
|
# The connected account being referenced when `type` is `account`.
|
|
@@ -52,37 +48,6 @@ module Stripe
|
|
|
52
48
|
end
|
|
53
49
|
|
|
54
50
|
class Computed < ::Stripe::StripeObject
|
|
55
|
-
class LastReestimationDetails < ::Stripe::StripeObject
|
|
56
|
-
class Failed < ::Stripe::StripeObject
|
|
57
|
-
# The failure `code` is more granular than the `reason` provided and may correspond to a Stripe error code. For automation errors, this field is one of: `reverse_api_failure`, `reverse_api_deadline_exceeeded`, or `reverse_api_response_validation_error`, which are Stripe error codes and map to the error `message` field.
|
|
58
|
-
attr_reader :failure_code
|
|
59
|
-
# Information derived from the `failure_code` or a freeform message that explains the error as a human-readable English string. For example, "margin ID is not a valid ID".
|
|
60
|
-
attr_reader :message
|
|
61
|
-
# The reason the reestimation failed.
|
|
62
|
-
attr_reader :reason
|
|
63
|
-
|
|
64
|
-
def self.inner_class_types
|
|
65
|
-
@inner_class_types = {}
|
|
66
|
-
end
|
|
67
|
-
|
|
68
|
-
def self.field_remappings
|
|
69
|
-
@field_remappings = {}
|
|
70
|
-
end
|
|
71
|
-
end
|
|
72
|
-
# When `status` is `failed`, provides details about the quote reestimation failure.
|
|
73
|
-
attr_reader :failed
|
|
74
|
-
# Latest status of the reestimation.
|
|
75
|
-
attr_reader :status
|
|
76
|
-
|
|
77
|
-
def self.inner_class_types
|
|
78
|
-
@inner_class_types = { failed: Failed }
|
|
79
|
-
end
|
|
80
|
-
|
|
81
|
-
def self.field_remappings
|
|
82
|
-
@field_remappings = {}
|
|
83
|
-
end
|
|
84
|
-
end
|
|
85
|
-
|
|
86
51
|
class Recurring < ::Stripe::StripeObject
|
|
87
52
|
class TotalDetails < ::Stripe::StripeObject
|
|
88
53
|
class Breakdown < ::Stripe::StripeObject
|
|
@@ -262,21 +227,13 @@ module Stripe
|
|
|
262
227
|
@field_remappings = {}
|
|
263
228
|
end
|
|
264
229
|
end
|
|
265
|
-
# Details of the most recent reestimate of the quote's preview schedules and upcoming invoices, including the status of Stripe's calculation.
|
|
266
|
-
attr_reader :last_reestimation_details
|
|
267
230
|
# The definitive totals and line items the customer will be charged on a recurring basis. Takes into account the line items with recurring prices and discounts with `duration=forever` coupons only. Defaults to `null` if no inputted line items with recurring prices.
|
|
268
231
|
attr_reader :recurring
|
|
269
|
-
# The time at which the quote's estimated schedules and upcoming invoices were generated.
|
|
270
|
-
attr_reader :updated_at
|
|
271
232
|
# Attribute for field upfront
|
|
272
233
|
attr_reader :upfront
|
|
273
234
|
|
|
274
235
|
def self.inner_class_types
|
|
275
|
-
@inner_class_types = {
|
|
276
|
-
last_reestimation_details: LastReestimationDetails,
|
|
277
|
-
recurring: Recurring,
|
|
278
|
-
upfront: Upfront,
|
|
279
|
-
}
|
|
236
|
+
@inner_class_types = { recurring: Recurring, upfront: Upfront }
|
|
280
237
|
end
|
|
281
238
|
|
|
282
239
|
def self.field_remappings
|
|
@@ -328,128 +285,6 @@ module Stripe
|
|
|
328
285
|
end
|
|
329
286
|
end
|
|
330
287
|
|
|
331
|
-
class StatusDetails < ::Stripe::StripeObject
|
|
332
|
-
class Canceled < ::Stripe::StripeObject
|
|
333
|
-
# The reason this quote was marked as canceled.
|
|
334
|
-
attr_reader :reason
|
|
335
|
-
# Time at which the quote was marked as canceled. Measured in seconds since the Unix epoch.
|
|
336
|
-
attr_reader :transitioned_at
|
|
337
|
-
|
|
338
|
-
def self.inner_class_types
|
|
339
|
-
@inner_class_types = {}
|
|
340
|
-
end
|
|
341
|
-
|
|
342
|
-
def self.field_remappings
|
|
343
|
-
@field_remappings = {}
|
|
344
|
-
end
|
|
345
|
-
end
|
|
346
|
-
|
|
347
|
-
class Stale < ::Stripe::StripeObject
|
|
348
|
-
class LastReason < ::Stripe::StripeObject
|
|
349
|
-
class LinesInvalid < ::Stripe::StripeObject
|
|
350
|
-
# The timestamp at which the lines were marked as invalid.
|
|
351
|
-
attr_reader :invalid_at
|
|
352
|
-
# The list of lines that became invalid at the given timestamp.
|
|
353
|
-
attr_reader :lines
|
|
354
|
-
|
|
355
|
-
def self.inner_class_types
|
|
356
|
-
@inner_class_types = {}
|
|
357
|
-
end
|
|
358
|
-
|
|
359
|
-
def self.field_remappings
|
|
360
|
-
@field_remappings = {}
|
|
361
|
-
end
|
|
362
|
-
end
|
|
363
|
-
|
|
364
|
-
class SubscriptionChanged < ::Stripe::StripeObject
|
|
365
|
-
# The subscription's state before the quote was marked as stale.
|
|
366
|
-
attr_reader :previous_subscription
|
|
367
|
-
|
|
368
|
-
def self.inner_class_types
|
|
369
|
-
@inner_class_types = {}
|
|
370
|
-
end
|
|
371
|
-
|
|
372
|
-
def self.field_remappings
|
|
373
|
-
@field_remappings = {}
|
|
374
|
-
end
|
|
375
|
-
end
|
|
376
|
-
|
|
377
|
-
class SubscriptionScheduleChanged < ::Stripe::StripeObject
|
|
378
|
-
# The subscription schedule's state before the quote was marked as stale.
|
|
379
|
-
attr_reader :previous_subscription_schedule
|
|
380
|
-
|
|
381
|
-
def self.inner_class_types
|
|
382
|
-
@inner_class_types = {}
|
|
383
|
-
end
|
|
384
|
-
|
|
385
|
-
def self.field_remappings
|
|
386
|
-
@field_remappings = {}
|
|
387
|
-
end
|
|
388
|
-
end
|
|
389
|
-
# The ID of the line that is invalid if the stale reason type is `line_invalid`.
|
|
390
|
-
attr_reader :line_invalid
|
|
391
|
-
# The IDs of the lines that are invalid if the stale reason type is `lines_invalid`.
|
|
392
|
-
attr_reader :lines_invalid
|
|
393
|
-
# The user supplied mark stale reason.
|
|
394
|
-
attr_reader :marked_stale
|
|
395
|
-
# The ID of the subscription that was canceled.
|
|
396
|
-
attr_reader :subscription_canceled
|
|
397
|
-
# Attribute for field subscription_changed
|
|
398
|
-
attr_reader :subscription_changed
|
|
399
|
-
# The ID of the subscription that was expired.
|
|
400
|
-
attr_reader :subscription_expired
|
|
401
|
-
# The ID of the subscription schedule that was canceled.
|
|
402
|
-
attr_reader :subscription_schedule_canceled
|
|
403
|
-
# Attribute for field subscription_schedule_changed
|
|
404
|
-
attr_reader :subscription_schedule_changed
|
|
405
|
-
# The ID of the subscription schedule that was released.
|
|
406
|
-
attr_reader :subscription_schedule_released
|
|
407
|
-
# The reason the quote was marked as stale.
|
|
408
|
-
attr_reader :type
|
|
409
|
-
|
|
410
|
-
def self.inner_class_types
|
|
411
|
-
@inner_class_types = {
|
|
412
|
-
lines_invalid: LinesInvalid,
|
|
413
|
-
subscription_changed: SubscriptionChanged,
|
|
414
|
-
subscription_schedule_changed: SubscriptionScheduleChanged,
|
|
415
|
-
}
|
|
416
|
-
end
|
|
417
|
-
|
|
418
|
-
def self.field_remappings
|
|
419
|
-
@field_remappings = {}
|
|
420
|
-
end
|
|
421
|
-
end
|
|
422
|
-
# Time at which the quote expires. Measured in seconds since the Unix epoch.
|
|
423
|
-
attr_reader :expires_at
|
|
424
|
-
# The most recent reason this quote was marked as stale.
|
|
425
|
-
attr_reader :last_reason
|
|
426
|
-
# Time at which the stale reason was updated. Measured in seconds since the Unix epoch.
|
|
427
|
-
attr_reader :last_updated_at
|
|
428
|
-
# Time at which the quote was marked as stale. Measured in seconds since the Unix epoch.
|
|
429
|
-
attr_reader :transitioned_at
|
|
430
|
-
|
|
431
|
-
def self.inner_class_types
|
|
432
|
-
@inner_class_types = { last_reason: LastReason }
|
|
433
|
-
end
|
|
434
|
-
|
|
435
|
-
def self.field_remappings
|
|
436
|
-
@field_remappings = {}
|
|
437
|
-
end
|
|
438
|
-
end
|
|
439
|
-
# Attribute for field canceled
|
|
440
|
-
attr_reader :canceled
|
|
441
|
-
# Attribute for field stale
|
|
442
|
-
attr_reader :stale
|
|
443
|
-
|
|
444
|
-
def self.inner_class_types
|
|
445
|
-
@inner_class_types = { canceled: Canceled, stale: Stale }
|
|
446
|
-
end
|
|
447
|
-
|
|
448
|
-
def self.field_remappings
|
|
449
|
-
@field_remappings = {}
|
|
450
|
-
end
|
|
451
|
-
end
|
|
452
|
-
|
|
453
288
|
class StatusTransitions < ::Stripe::StripeObject
|
|
454
289
|
# The time that the quote was accepted. Measured in seconds since Unix epoch.
|
|
455
290
|
attr_reader :accepted_at
|
|
@@ -468,99 +303,6 @@ module Stripe
|
|
|
468
303
|
end
|
|
469
304
|
|
|
470
305
|
class SubscriptionData < ::Stripe::StripeObject
|
|
471
|
-
class BillOnAcceptance < ::Stripe::StripeObject
|
|
472
|
-
class BillFrom < ::Stripe::StripeObject
|
|
473
|
-
class LineStartsAt < ::Stripe::StripeObject
|
|
474
|
-
# Unique identifier for the object.
|
|
475
|
-
attr_reader :id
|
|
476
|
-
|
|
477
|
-
def self.inner_class_types
|
|
478
|
-
@inner_class_types = {}
|
|
479
|
-
end
|
|
480
|
-
|
|
481
|
-
def self.field_remappings
|
|
482
|
-
@field_remappings = {}
|
|
483
|
-
end
|
|
484
|
-
end
|
|
485
|
-
# The materialized time.
|
|
486
|
-
attr_reader :computed
|
|
487
|
-
# The timestamp the given line starts at.
|
|
488
|
-
attr_reader :line_starts_at
|
|
489
|
-
# A precise Unix timestamp.
|
|
490
|
-
attr_reader :timestamp
|
|
491
|
-
# The type of method to specify the `bill_from` time.
|
|
492
|
-
attr_reader :type
|
|
493
|
-
|
|
494
|
-
def self.inner_class_types
|
|
495
|
-
@inner_class_types = { line_starts_at: LineStartsAt }
|
|
496
|
-
end
|
|
497
|
-
|
|
498
|
-
def self.field_remappings
|
|
499
|
-
@field_remappings = {}
|
|
500
|
-
end
|
|
501
|
-
end
|
|
502
|
-
|
|
503
|
-
class BillUntil < ::Stripe::StripeObject
|
|
504
|
-
class Duration < ::Stripe::StripeObject
|
|
505
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
506
|
-
attr_reader :interval
|
|
507
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
508
|
-
attr_reader :interval_count
|
|
509
|
-
|
|
510
|
-
def self.inner_class_types
|
|
511
|
-
@inner_class_types = {}
|
|
512
|
-
end
|
|
513
|
-
|
|
514
|
-
def self.field_remappings
|
|
515
|
-
@field_remappings = {}
|
|
516
|
-
end
|
|
517
|
-
end
|
|
518
|
-
|
|
519
|
-
class LineEndsAt < ::Stripe::StripeObject
|
|
520
|
-
# Unique identifier for the object.
|
|
521
|
-
attr_reader :id
|
|
522
|
-
|
|
523
|
-
def self.inner_class_types
|
|
524
|
-
@inner_class_types = {}
|
|
525
|
-
end
|
|
526
|
-
|
|
527
|
-
def self.field_remappings
|
|
528
|
-
@field_remappings = {}
|
|
529
|
-
end
|
|
530
|
-
end
|
|
531
|
-
# The materialized time.
|
|
532
|
-
attr_reader :computed
|
|
533
|
-
# Time span for the quote line starting from the `starts_at` date.
|
|
534
|
-
attr_reader :duration
|
|
535
|
-
# The timestamp the given line ends at.
|
|
536
|
-
attr_reader :line_ends_at
|
|
537
|
-
# A precise Unix timestamp.
|
|
538
|
-
attr_reader :timestamp
|
|
539
|
-
# The type of method to specify the `bill_until` time.
|
|
540
|
-
attr_reader :type
|
|
541
|
-
|
|
542
|
-
def self.inner_class_types
|
|
543
|
-
@inner_class_types = { duration: Duration, line_ends_at: LineEndsAt }
|
|
544
|
-
end
|
|
545
|
-
|
|
546
|
-
def self.field_remappings
|
|
547
|
-
@field_remappings = {}
|
|
548
|
-
end
|
|
549
|
-
end
|
|
550
|
-
# The start of the period to bill from when the Quote is accepted.
|
|
551
|
-
attr_reader :bill_from
|
|
552
|
-
# The end of the period to bill until when the Quote is accepted.
|
|
553
|
-
attr_reader :bill_until
|
|
554
|
-
|
|
555
|
-
def self.inner_class_types
|
|
556
|
-
@inner_class_types = { bill_from: BillFrom, bill_until: BillUntil }
|
|
557
|
-
end
|
|
558
|
-
|
|
559
|
-
def self.field_remappings
|
|
560
|
-
@field_remappings = {}
|
|
561
|
-
end
|
|
562
|
-
end
|
|
563
|
-
|
|
564
306
|
class BillingMode < ::Stripe::StripeObject
|
|
565
307
|
class Flexible < ::Stripe::StripeObject
|
|
566
308
|
# Controls how invoices and invoice items display proration amounts and discount amounts.
|
|
@@ -587,562 +329,19 @@ module Stripe
|
|
|
587
329
|
@field_remappings = {}
|
|
588
330
|
end
|
|
589
331
|
end
|
|
590
|
-
|
|
591
|
-
class BillingSchedule < ::Stripe::StripeObject
|
|
592
|
-
class AppliesTo < ::Stripe::StripeObject
|
|
593
|
-
# The billing schedule will apply to the subscription item with the given price ID.
|
|
594
|
-
attr_reader :price
|
|
595
|
-
# Controls which subscription items the billing schedule applies to.
|
|
596
|
-
attr_reader :type
|
|
597
|
-
|
|
598
|
-
def self.inner_class_types
|
|
599
|
-
@inner_class_types = {}
|
|
600
|
-
end
|
|
601
|
-
|
|
602
|
-
def self.field_remappings
|
|
603
|
-
@field_remappings = {}
|
|
604
|
-
end
|
|
605
|
-
end
|
|
606
|
-
|
|
607
|
-
class BillFrom < ::Stripe::StripeObject
|
|
608
|
-
class AmendmentStart < ::Stripe::StripeObject
|
|
609
|
-
# Use an index to specify the position of an amendment to start prebilling with.
|
|
610
|
-
attr_reader :index
|
|
611
|
-
|
|
612
|
-
def self.inner_class_types
|
|
613
|
-
@inner_class_types = {}
|
|
614
|
-
end
|
|
615
|
-
|
|
616
|
-
def self.field_remappings
|
|
617
|
-
@field_remappings = {}
|
|
618
|
-
end
|
|
619
|
-
end
|
|
620
|
-
|
|
621
|
-
class LineStartsAt < ::Stripe::StripeObject
|
|
622
|
-
# Unique identifier for the object.
|
|
623
|
-
attr_reader :id
|
|
624
|
-
|
|
625
|
-
def self.inner_class_types
|
|
626
|
-
@inner_class_types = {}
|
|
627
|
-
end
|
|
628
|
-
|
|
629
|
-
def self.field_remappings
|
|
630
|
-
@field_remappings = {}
|
|
631
|
-
end
|
|
632
|
-
end
|
|
633
|
-
|
|
634
|
-
class Relative < ::Stripe::StripeObject
|
|
635
|
-
# Specifies billing duration. Possible values are `day`, `week`, `month`, or `year`.
|
|
636
|
-
attr_reader :interval
|
|
637
|
-
# The multiplier applied to the interval.
|
|
638
|
-
attr_reader :interval_count
|
|
639
|
-
|
|
640
|
-
def self.inner_class_types
|
|
641
|
-
@inner_class_types = {}
|
|
642
|
-
end
|
|
643
|
-
|
|
644
|
-
def self.field_remappings
|
|
645
|
-
@field_remappings = {}
|
|
646
|
-
end
|
|
647
|
-
end
|
|
648
|
-
# Use an index to specify the position of an amendment to start prebilling with.
|
|
649
|
-
attr_reader :amendment_start
|
|
650
|
-
# The time the billing schedule applies from.
|
|
651
|
-
attr_reader :computed_timestamp
|
|
652
|
-
# Lets you bill the period starting from a particular Quote line.
|
|
653
|
-
attr_reader :line_starts_at
|
|
654
|
-
# Timestamp is calculated from the request time.
|
|
655
|
-
attr_reader :relative
|
|
656
|
-
# Use a precise Unix timestamp for prebilling to start. Must be earlier than `bill_until`.
|
|
657
|
-
attr_reader :timestamp
|
|
658
|
-
# Describes how the billing schedule determines the start date. Possible values are `timestamp`, `relative`, `amendment_start`, `now`, `quote_acceptance_date`, `line_starts_at`, or `pause_collection_start`.
|
|
659
|
-
attr_reader :type
|
|
660
|
-
|
|
661
|
-
def self.inner_class_types
|
|
662
|
-
@inner_class_types = {
|
|
663
|
-
amendment_start: AmendmentStart,
|
|
664
|
-
line_starts_at: LineStartsAt,
|
|
665
|
-
relative: Relative,
|
|
666
|
-
}
|
|
667
|
-
end
|
|
668
|
-
|
|
669
|
-
def self.field_remappings
|
|
670
|
-
@field_remappings = {}
|
|
671
|
-
end
|
|
672
|
-
end
|
|
673
|
-
|
|
674
|
-
class BillUntil < ::Stripe::StripeObject
|
|
675
|
-
class AmendmentEnd < ::Stripe::StripeObject
|
|
676
|
-
# Use an index to specify the position of an amendment to end prebilling with.
|
|
677
|
-
attr_reader :index
|
|
678
|
-
|
|
679
|
-
def self.inner_class_types
|
|
680
|
-
@inner_class_types = {}
|
|
681
|
-
end
|
|
682
|
-
|
|
683
|
-
def self.field_remappings
|
|
684
|
-
@field_remappings = {}
|
|
685
|
-
end
|
|
686
|
-
end
|
|
687
|
-
|
|
688
|
-
class Duration < ::Stripe::StripeObject
|
|
689
|
-
# Specifies billing duration. Either `day`, `week`, `month` or `year`.
|
|
690
|
-
attr_reader :interval
|
|
691
|
-
# The multiplier applied to the interval.
|
|
692
|
-
attr_reader :interval_count
|
|
693
|
-
|
|
694
|
-
def self.inner_class_types
|
|
695
|
-
@inner_class_types = {}
|
|
696
|
-
end
|
|
697
|
-
|
|
698
|
-
def self.field_remappings
|
|
699
|
-
@field_remappings = {}
|
|
700
|
-
end
|
|
701
|
-
end
|
|
702
|
-
|
|
703
|
-
class LineEndsAt < ::Stripe::StripeObject
|
|
704
|
-
# Unique identifier for the object.
|
|
705
|
-
attr_reader :id
|
|
706
|
-
|
|
707
|
-
def self.inner_class_types
|
|
708
|
-
@inner_class_types = {}
|
|
709
|
-
end
|
|
710
|
-
|
|
711
|
-
def self.field_remappings
|
|
712
|
-
@field_remappings = {}
|
|
713
|
-
end
|
|
714
|
-
end
|
|
715
|
-
# The timestamp the billing schedule will apply until.
|
|
716
|
-
attr_reader :computed_timestamp
|
|
717
|
-
# Specifies the billing period.
|
|
718
|
-
attr_reader :duration
|
|
719
|
-
# If specified, the billing schedule will apply until the specified timestamp.
|
|
720
|
-
attr_reader :timestamp
|
|
721
|
-
# Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
|
|
722
|
-
attr_reader :type
|
|
723
|
-
# Use an index to specify the position of an amendment to end prebilling with.
|
|
724
|
-
attr_reader :amendment_end
|
|
725
|
-
# Lets you bill the period ending at a particular Quote line.
|
|
726
|
-
attr_reader :line_ends_at
|
|
727
|
-
|
|
728
|
-
def self.inner_class_types
|
|
729
|
-
@inner_class_types = {
|
|
730
|
-
duration: Duration,
|
|
731
|
-
amendment_end: AmendmentEnd,
|
|
732
|
-
line_ends_at: LineEndsAt,
|
|
733
|
-
}
|
|
734
|
-
end
|
|
735
|
-
|
|
736
|
-
def self.field_remappings
|
|
737
|
-
@field_remappings = {}
|
|
738
|
-
end
|
|
739
|
-
end
|
|
740
|
-
# Specifies which subscription items the billing schedule applies to.
|
|
741
|
-
attr_reader :applies_to
|
|
742
|
-
# Specifies the billing period.
|
|
743
|
-
attr_reader :bill_until
|
|
744
|
-
# Unique identifier for the billing schedule.
|
|
745
|
-
attr_reader :key
|
|
746
|
-
# Specifies the start of the billing period.
|
|
747
|
-
attr_reader :bill_from
|
|
748
|
-
|
|
749
|
-
def self.inner_class_types
|
|
750
|
-
@inner_class_types = { applies_to: AppliesTo, bill_until: BillUntil, bill_from: BillFrom }
|
|
751
|
-
end
|
|
752
|
-
|
|
753
|
-
def self.field_remappings
|
|
754
|
-
@field_remappings = {}
|
|
755
|
-
end
|
|
756
|
-
end
|
|
757
|
-
|
|
758
|
-
class Prebilling < ::Stripe::StripeObject
|
|
759
|
-
# Attribute for field iterations
|
|
760
|
-
attr_reader :iterations
|
|
761
|
-
|
|
762
|
-
def self.inner_class_types
|
|
763
|
-
@inner_class_types = {}
|
|
764
|
-
end
|
|
765
|
-
|
|
766
|
-
def self.field_remappings
|
|
767
|
-
@field_remappings = {}
|
|
768
|
-
end
|
|
769
|
-
end
|
|
770
|
-
# Describes the period to bill for upon accepting the quote.
|
|
771
|
-
attr_reader :bill_on_acceptance
|
|
772
|
-
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
|
773
|
-
attr_reader :billing_behavior
|
|
774
|
-
# Whether the subscription will always start a new billing period when the quote is accepted.
|
|
775
|
-
attr_reader :billing_cycle_anchor
|
|
776
332
|
# The billing mode of the quote.
|
|
777
333
|
attr_reader :billing_mode
|
|
778
334
|
# The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
|
779
335
|
attr_reader :description
|
|
780
336
|
# When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. This date is ignored if it is in the past when the quote is accepted. Measured in seconds since the Unix epoch.
|
|
781
337
|
attr_reader :effective_date
|
|
782
|
-
# Behavior of the subscription schedule and underlying subscription when it ends.
|
|
783
|
-
attr_reader :end_behavior
|
|
784
|
-
# The id of the subscription that will be updated when the quote is accepted.
|
|
785
|
-
attr_reader :from_subscription
|
|
786
338
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that will set metadata on the subscription or subscription schedule when the quote is accepted. If a recurring price is included in `line_items`, this field will be passed to the resulting subscription's `metadata` field. If `subscription_data.effective_date` is used, this field will be passed to the resulting subscription schedule's `phases.metadata` field. Unlike object-level metadata, this field is declarative. Updates will clear prior values.
|
|
787
339
|
attr_reader :metadata
|
|
788
|
-
# If specified, the invoicing for the given billing cycle iterations will be processed when the quote is accepted. Cannot be used with `effective_date`.
|
|
789
|
-
attr_reader :prebilling
|
|
790
|
-
# Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the quote is accepted.
|
|
791
|
-
attr_reader :proration_behavior
|
|
792
340
|
# Integer representing the number of trial period days before the customer is charged for the first time.
|
|
793
341
|
attr_reader :trial_period_days
|
|
794
|
-
# Billing schedules that will be applied to the subscription or subscription schedule created from this quote.
|
|
795
|
-
attr_reader :billing_schedules
|
|
796
|
-
# Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
|
|
797
|
-
attr_reader :phase_effective_at
|
|
798
|
-
|
|
799
|
-
def self.inner_class_types
|
|
800
|
-
@inner_class_types = {
|
|
801
|
-
bill_on_acceptance: BillOnAcceptance,
|
|
802
|
-
billing_mode: BillingMode,
|
|
803
|
-
prebilling: Prebilling,
|
|
804
|
-
billing_schedules: BillingSchedule,
|
|
805
|
-
}
|
|
806
|
-
end
|
|
807
|
-
|
|
808
|
-
def self.field_remappings
|
|
809
|
-
@field_remappings = {}
|
|
810
|
-
end
|
|
811
|
-
end
|
|
812
|
-
|
|
813
|
-
class SubscriptionDataOverride < ::Stripe::StripeObject
|
|
814
|
-
class AppliesTo < ::Stripe::StripeObject
|
|
815
|
-
# A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.
|
|
816
|
-
attr_reader :new_reference
|
|
817
|
-
# The ID of the schedule the line applies to.
|
|
818
|
-
attr_reader :subscription_schedule
|
|
819
|
-
# Describes whether the quote line is affecting a new schedule or an existing schedule.
|
|
820
|
-
attr_reader :type
|
|
821
|
-
|
|
822
|
-
def self.inner_class_types
|
|
823
|
-
@inner_class_types = {}
|
|
824
|
-
end
|
|
825
|
-
|
|
826
|
-
def self.field_remappings
|
|
827
|
-
@field_remappings = {}
|
|
828
|
-
end
|
|
829
|
-
end
|
|
830
|
-
|
|
831
|
-
class BillOnAcceptance < ::Stripe::StripeObject
|
|
832
|
-
class BillFrom < ::Stripe::StripeObject
|
|
833
|
-
class LineStartsAt < ::Stripe::StripeObject
|
|
834
|
-
# Unique identifier for the object.
|
|
835
|
-
attr_reader :id
|
|
836
|
-
|
|
837
|
-
def self.inner_class_types
|
|
838
|
-
@inner_class_types = {}
|
|
839
|
-
end
|
|
840
|
-
|
|
841
|
-
def self.field_remappings
|
|
842
|
-
@field_remappings = {}
|
|
843
|
-
end
|
|
844
|
-
end
|
|
845
|
-
# The materialized time.
|
|
846
|
-
attr_reader :computed
|
|
847
|
-
# The timestamp the given line starts at.
|
|
848
|
-
attr_reader :line_starts_at
|
|
849
|
-
# A precise Unix timestamp.
|
|
850
|
-
attr_reader :timestamp
|
|
851
|
-
# The type of method to specify the `bill_from` time.
|
|
852
|
-
attr_reader :type
|
|
853
|
-
|
|
854
|
-
def self.inner_class_types
|
|
855
|
-
@inner_class_types = { line_starts_at: LineStartsAt }
|
|
856
|
-
end
|
|
857
|
-
|
|
858
|
-
def self.field_remappings
|
|
859
|
-
@field_remappings = {}
|
|
860
|
-
end
|
|
861
|
-
end
|
|
862
|
-
|
|
863
|
-
class BillUntil < ::Stripe::StripeObject
|
|
864
|
-
class Duration < ::Stripe::StripeObject
|
|
865
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
866
|
-
attr_reader :interval
|
|
867
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
868
|
-
attr_reader :interval_count
|
|
869
|
-
|
|
870
|
-
def self.inner_class_types
|
|
871
|
-
@inner_class_types = {}
|
|
872
|
-
end
|
|
873
|
-
|
|
874
|
-
def self.field_remappings
|
|
875
|
-
@field_remappings = {}
|
|
876
|
-
end
|
|
877
|
-
end
|
|
878
|
-
|
|
879
|
-
class LineEndsAt < ::Stripe::StripeObject
|
|
880
|
-
# Unique identifier for the object.
|
|
881
|
-
attr_reader :id
|
|
882
|
-
|
|
883
|
-
def self.inner_class_types
|
|
884
|
-
@inner_class_types = {}
|
|
885
|
-
end
|
|
886
|
-
|
|
887
|
-
def self.field_remappings
|
|
888
|
-
@field_remappings = {}
|
|
889
|
-
end
|
|
890
|
-
end
|
|
891
|
-
# The materialized time.
|
|
892
|
-
attr_reader :computed
|
|
893
|
-
# Time span for the quote line starting from the `starts_at` date.
|
|
894
|
-
attr_reader :duration
|
|
895
|
-
# The timestamp the given line ends at.
|
|
896
|
-
attr_reader :line_ends_at
|
|
897
|
-
# A precise Unix timestamp.
|
|
898
|
-
attr_reader :timestamp
|
|
899
|
-
# The type of method to specify the `bill_until` time.
|
|
900
|
-
attr_reader :type
|
|
901
|
-
|
|
902
|
-
def self.inner_class_types
|
|
903
|
-
@inner_class_types = { duration: Duration, line_ends_at: LineEndsAt }
|
|
904
|
-
end
|
|
905
|
-
|
|
906
|
-
def self.field_remappings
|
|
907
|
-
@field_remappings = {}
|
|
908
|
-
end
|
|
909
|
-
end
|
|
910
|
-
# The start of the period to bill from when the Quote is accepted.
|
|
911
|
-
attr_reader :bill_from
|
|
912
|
-
# The end of the period to bill until when the Quote is accepted.
|
|
913
|
-
attr_reader :bill_until
|
|
914
|
-
|
|
915
|
-
def self.inner_class_types
|
|
916
|
-
@inner_class_types = { bill_from: BillFrom, bill_until: BillUntil }
|
|
917
|
-
end
|
|
918
|
-
|
|
919
|
-
def self.field_remappings
|
|
920
|
-
@field_remappings = {}
|
|
921
|
-
end
|
|
922
|
-
end
|
|
923
|
-
|
|
924
|
-
class BillingSchedule < ::Stripe::StripeObject
|
|
925
|
-
class AppliesTo < ::Stripe::StripeObject
|
|
926
|
-
# The billing schedule will apply to the subscription item with the given price ID.
|
|
927
|
-
attr_reader :price
|
|
928
|
-
# Controls which subscription items the billing schedule applies to.
|
|
929
|
-
attr_reader :type
|
|
930
|
-
|
|
931
|
-
def self.inner_class_types
|
|
932
|
-
@inner_class_types = {}
|
|
933
|
-
end
|
|
934
|
-
|
|
935
|
-
def self.field_remappings
|
|
936
|
-
@field_remappings = {}
|
|
937
|
-
end
|
|
938
|
-
end
|
|
939
|
-
|
|
940
|
-
class BillFrom < ::Stripe::StripeObject
|
|
941
|
-
class AmendmentStart < ::Stripe::StripeObject
|
|
942
|
-
# Use an index to specify the position of an amendment to start prebilling with.
|
|
943
|
-
attr_reader :index
|
|
944
|
-
|
|
945
|
-
def self.inner_class_types
|
|
946
|
-
@inner_class_types = {}
|
|
947
|
-
end
|
|
948
|
-
|
|
949
|
-
def self.field_remappings
|
|
950
|
-
@field_remappings = {}
|
|
951
|
-
end
|
|
952
|
-
end
|
|
953
|
-
|
|
954
|
-
class LineStartsAt < ::Stripe::StripeObject
|
|
955
|
-
# Unique identifier for the object.
|
|
956
|
-
attr_reader :id
|
|
957
|
-
|
|
958
|
-
def self.inner_class_types
|
|
959
|
-
@inner_class_types = {}
|
|
960
|
-
end
|
|
961
|
-
|
|
962
|
-
def self.field_remappings
|
|
963
|
-
@field_remappings = {}
|
|
964
|
-
end
|
|
965
|
-
end
|
|
966
|
-
|
|
967
|
-
class Relative < ::Stripe::StripeObject
|
|
968
|
-
# Specifies billing duration. Possible values are `day`, `week`, `month`, or `year`.
|
|
969
|
-
attr_reader :interval
|
|
970
|
-
# The multiplier applied to the interval.
|
|
971
|
-
attr_reader :interval_count
|
|
972
|
-
|
|
973
|
-
def self.inner_class_types
|
|
974
|
-
@inner_class_types = {}
|
|
975
|
-
end
|
|
976
|
-
|
|
977
|
-
def self.field_remappings
|
|
978
|
-
@field_remappings = {}
|
|
979
|
-
end
|
|
980
|
-
end
|
|
981
|
-
# Use an index to specify the position of an amendment to start prebilling with.
|
|
982
|
-
attr_reader :amendment_start
|
|
983
|
-
# The time the billing schedule applies from.
|
|
984
|
-
attr_reader :computed_timestamp
|
|
985
|
-
# Lets you bill the period starting from a particular Quote line.
|
|
986
|
-
attr_reader :line_starts_at
|
|
987
|
-
# Timestamp is calculated from the request time.
|
|
988
|
-
attr_reader :relative
|
|
989
|
-
# Use a precise Unix timestamp for prebilling to start. Must be earlier than `bill_until`.
|
|
990
|
-
attr_reader :timestamp
|
|
991
|
-
# Describes how the billing schedule determines the start date. Possible values are `timestamp`, `relative`, `amendment_start`, `now`, `quote_acceptance_date`, `line_starts_at`, or `pause_collection_start`.
|
|
992
|
-
attr_reader :type
|
|
993
|
-
|
|
994
|
-
def self.inner_class_types
|
|
995
|
-
@inner_class_types = {
|
|
996
|
-
amendment_start: AmendmentStart,
|
|
997
|
-
line_starts_at: LineStartsAt,
|
|
998
|
-
relative: Relative,
|
|
999
|
-
}
|
|
1000
|
-
end
|
|
1001
|
-
|
|
1002
|
-
def self.field_remappings
|
|
1003
|
-
@field_remappings = {}
|
|
1004
|
-
end
|
|
1005
|
-
end
|
|
1006
|
-
|
|
1007
|
-
class BillUntil < ::Stripe::StripeObject
|
|
1008
|
-
class AmendmentEnd < ::Stripe::StripeObject
|
|
1009
|
-
# Use an index to specify the position of an amendment to end prebilling with.
|
|
1010
|
-
attr_reader :index
|
|
1011
|
-
|
|
1012
|
-
def self.inner_class_types
|
|
1013
|
-
@inner_class_types = {}
|
|
1014
|
-
end
|
|
1015
|
-
|
|
1016
|
-
def self.field_remappings
|
|
1017
|
-
@field_remappings = {}
|
|
1018
|
-
end
|
|
1019
|
-
end
|
|
1020
|
-
|
|
1021
|
-
class Duration < ::Stripe::StripeObject
|
|
1022
|
-
# Specifies billing duration. Either `day`, `week`, `month` or `year`.
|
|
1023
|
-
attr_reader :interval
|
|
1024
|
-
# The multiplier applied to the interval.
|
|
1025
|
-
attr_reader :interval_count
|
|
1026
|
-
|
|
1027
|
-
def self.inner_class_types
|
|
1028
|
-
@inner_class_types = {}
|
|
1029
|
-
end
|
|
1030
|
-
|
|
1031
|
-
def self.field_remappings
|
|
1032
|
-
@field_remappings = {}
|
|
1033
|
-
end
|
|
1034
|
-
end
|
|
1035
|
-
|
|
1036
|
-
class LineEndsAt < ::Stripe::StripeObject
|
|
1037
|
-
# Unique identifier for the object.
|
|
1038
|
-
attr_reader :id
|
|
1039
|
-
|
|
1040
|
-
def self.inner_class_types
|
|
1041
|
-
@inner_class_types = {}
|
|
1042
|
-
end
|
|
1043
|
-
|
|
1044
|
-
def self.field_remappings
|
|
1045
|
-
@field_remappings = {}
|
|
1046
|
-
end
|
|
1047
|
-
end
|
|
1048
|
-
# The timestamp the billing schedule will apply until.
|
|
1049
|
-
attr_reader :computed_timestamp
|
|
1050
|
-
# Specifies the billing period.
|
|
1051
|
-
attr_reader :duration
|
|
1052
|
-
# If specified, the billing schedule will apply until the specified timestamp.
|
|
1053
|
-
attr_reader :timestamp
|
|
1054
|
-
# Describes how the billing schedule will determine the end date. Either `duration` or `timestamp`.
|
|
1055
|
-
attr_reader :type
|
|
1056
|
-
# Use an index to specify the position of an amendment to end prebilling with.
|
|
1057
|
-
attr_reader :amendment_end
|
|
1058
|
-
# Lets you bill the period ending at a particular Quote line.
|
|
1059
|
-
attr_reader :line_ends_at
|
|
1060
|
-
|
|
1061
|
-
def self.inner_class_types
|
|
1062
|
-
@inner_class_types = {
|
|
1063
|
-
duration: Duration,
|
|
1064
|
-
amendment_end: AmendmentEnd,
|
|
1065
|
-
line_ends_at: LineEndsAt,
|
|
1066
|
-
}
|
|
1067
|
-
end
|
|
1068
|
-
|
|
1069
|
-
def self.field_remappings
|
|
1070
|
-
@field_remappings = {}
|
|
1071
|
-
end
|
|
1072
|
-
end
|
|
1073
|
-
# Specifies which subscription items the billing schedule applies to.
|
|
1074
|
-
attr_reader :applies_to
|
|
1075
|
-
# Specifies the billing period.
|
|
1076
|
-
attr_reader :bill_until
|
|
1077
|
-
# Unique identifier for the billing schedule.
|
|
1078
|
-
attr_reader :key
|
|
1079
|
-
# Specifies the start of the billing period.
|
|
1080
|
-
attr_reader :bill_from
|
|
1081
|
-
|
|
1082
|
-
def self.inner_class_types
|
|
1083
|
-
@inner_class_types = { applies_to: AppliesTo, bill_until: BillUntil, bill_from: BillFrom }
|
|
1084
|
-
end
|
|
1085
|
-
|
|
1086
|
-
def self.field_remappings
|
|
1087
|
-
@field_remappings = {}
|
|
1088
|
-
end
|
|
1089
|
-
end
|
|
1090
|
-
# Attribute for field applies_to
|
|
1091
|
-
attr_reader :applies_to
|
|
1092
|
-
# Describes the period to bill for upon accepting the quote.
|
|
1093
|
-
attr_reader :bill_on_acceptance
|
|
1094
|
-
# Configures when the subscription schedule generates prorations for phase transitions. Possible values are `prorate_on_next_phase` or `prorate_up_front` with the default being `prorate_on_next_phase`. `prorate_on_next_phase` will apply phase changes and generate prorations at transition time. `prorate_up_front` will bill for all phases within the current billing cycle up front.
|
|
1095
|
-
attr_reader :billing_behavior
|
|
1096
|
-
# The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.
|
|
1097
|
-
attr_reader :customer
|
|
1098
|
-
# The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
|
|
1099
|
-
attr_reader :description
|
|
1100
|
-
# Behavior of the subscription schedule and underlying subscription when it ends.
|
|
1101
|
-
attr_reader :end_behavior
|
|
1102
|
-
# Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the quote is accepted.
|
|
1103
|
-
attr_reader :proration_behavior
|
|
1104
|
-
# Billing schedules that will be applied to the subscription or subscription schedule created from this quote.
|
|
1105
|
-
attr_reader :billing_schedules
|
|
1106
|
-
# Configures how the subscription schedule handles billing for phase transitions. Possible values are `phase_start` (default) or `billing_period_start`. `phase_start` bills based on the current state of the subscription, ignoring changes scheduled in future phases. `billing_period_start` bills predictively for upcoming phase transitions within the current billing cycle, including pricing changes and service period adjustments that will occur before the next invoice.
|
|
1107
|
-
attr_reader :phase_effective_at
|
|
1108
342
|
|
|
1109
343
|
def self.inner_class_types
|
|
1110
|
-
@inner_class_types = {
|
|
1111
|
-
applies_to: AppliesTo,
|
|
1112
|
-
bill_on_acceptance: BillOnAcceptance,
|
|
1113
|
-
billing_schedules: BillingSchedule,
|
|
1114
|
-
}
|
|
1115
|
-
end
|
|
1116
|
-
|
|
1117
|
-
def self.field_remappings
|
|
1118
|
-
@field_remappings = {}
|
|
1119
|
-
end
|
|
1120
|
-
end
|
|
1121
|
-
|
|
1122
|
-
class SubscriptionSchedule < ::Stripe::StripeObject
|
|
1123
|
-
class AppliesTo < ::Stripe::StripeObject
|
|
1124
|
-
# A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the same `new_reference` field will be applied to the creation of a new subscription schedule.
|
|
1125
|
-
attr_reader :new_reference
|
|
1126
|
-
# The ID of the schedule the line applies to.
|
|
1127
|
-
attr_reader :subscription_schedule
|
|
1128
|
-
# Describes whether the quote line is affecting a new schedule or an existing schedule.
|
|
1129
|
-
attr_reader :type
|
|
1130
|
-
|
|
1131
|
-
def self.inner_class_types
|
|
1132
|
-
@inner_class_types = {}
|
|
1133
|
-
end
|
|
1134
|
-
|
|
1135
|
-
def self.field_remappings
|
|
1136
|
-
@field_remappings = {}
|
|
1137
|
-
end
|
|
1138
|
-
end
|
|
1139
|
-
# Attribute for field applies_to
|
|
1140
|
-
attr_reader :applies_to
|
|
1141
|
-
# The subscription schedule that was created or updated from this quote.
|
|
1142
|
-
attr_reader :subscription_schedule
|
|
1143
|
-
|
|
1144
|
-
def self.inner_class_types
|
|
1145
|
-
@inner_class_types = { applies_to: AppliesTo }
|
|
344
|
+
@inner_class_types = { billing_mode: BillingMode }
|
|
1146
345
|
end
|
|
1147
346
|
|
|
1148
347
|
def self.field_remappings
|
|
@@ -1237,8 +436,6 @@ module Stripe
|
|
|
1237
436
|
@field_remappings = {}
|
|
1238
437
|
end
|
|
1239
438
|
end
|
|
1240
|
-
# Allow quote lines to have `starts_at` in the past if collection is paused between `starts_at` and now.
|
|
1241
|
-
attr_reader :allow_backdated_lines
|
|
1242
439
|
# Total before any discounts or taxes are applied.
|
|
1243
440
|
attr_reader :amount_subtotal
|
|
1244
441
|
# Total after discounts and taxes are applied.
|
|
@@ -1261,8 +458,6 @@ module Stripe
|
|
|
1261
458
|
attr_reader :currency
|
|
1262
459
|
# The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.
|
|
1263
460
|
attr_reader :customer
|
|
1264
|
-
# The account which this quote belongs to. A customer or account is required before finalizing the quote. Once specified, it cannot be changed.
|
|
1265
|
-
attr_reader :customer_account
|
|
1266
461
|
# The tax rates applied to this quote.
|
|
1267
462
|
attr_reader :default_tax_rates
|
|
1268
463
|
# A description that will be displayed on the quote PDF.
|
|
@@ -1285,8 +480,6 @@ module Stripe
|
|
|
1285
480
|
attr_reader :invoice_settings
|
|
1286
481
|
# A list of items the customer is being quoted for.
|
|
1287
482
|
attr_reader :line_items
|
|
1288
|
-
# A list of [quote lines](https://docs.stripe.com/api/quote_lines) on the quote. These lines describe changes, in the order provided, that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
|
|
1289
|
-
attr_reader :lines
|
|
1290
483
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
1291
484
|
attr_reader :livemode
|
|
1292
485
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
@@ -1299,20 +492,14 @@ module Stripe
|
|
|
1299
492
|
attr_reader :on_behalf_of
|
|
1300
493
|
# The status of the quote.
|
|
1301
494
|
attr_reader :status
|
|
1302
|
-
# Details on when and why a quote has been marked as stale or canceled.
|
|
1303
|
-
attr_reader :status_details
|
|
1304
495
|
# Attribute for field status_transitions
|
|
1305
496
|
attr_reader :status_transitions
|
|
1306
497
|
# The subscription that was created or updated from this quote.
|
|
1307
498
|
attr_reader :subscription
|
|
1308
499
|
# Attribute for field subscription_data
|
|
1309
500
|
attr_reader :subscription_data
|
|
1310
|
-
# List representing overrides for `subscription_data` configurations for specific subscription schedules.
|
|
1311
|
-
attr_reader :subscription_data_overrides
|
|
1312
501
|
# The subscription schedule that was created or updated from this quote.
|
|
1313
502
|
attr_reader :subscription_schedule
|
|
1314
|
-
# The subscription schedules that were created or updated from this quote.
|
|
1315
|
-
attr_reader :subscription_schedules
|
|
1316
503
|
# ID of the test clock this quote belongs to.
|
|
1317
504
|
attr_reader :test_clock
|
|
1318
505
|
# Attribute for field total_details
|
|
@@ -1430,86 +617,6 @@ module Stripe
|
|
|
1430
617
|
)
|
|
1431
618
|
end
|
|
1432
619
|
|
|
1433
|
-
# Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
|
|
1434
|
-
def list_lines(params = {}, opts = {})
|
|
1435
|
-
request_stripe_object(
|
|
1436
|
-
method: :get,
|
|
1437
|
-
path: format("/v1/quotes/%<quote>s/lines", { quote: CGI.escape(self["id"]) }),
|
|
1438
|
-
params: params,
|
|
1439
|
-
opts: opts
|
|
1440
|
-
)
|
|
1441
|
-
end
|
|
1442
|
-
|
|
1443
|
-
# Retrieves a paginated list of lines for a quote. These lines describe changes that will be used to create new subscription schedules or update existing subscription schedules when the quote is accepted.
|
|
1444
|
-
def self.list_lines(quote, params = {}, opts = {})
|
|
1445
|
-
request_stripe_object(
|
|
1446
|
-
method: :get,
|
|
1447
|
-
path: format("/v1/quotes/%<quote>s/lines", { quote: CGI.escape(quote) }),
|
|
1448
|
-
params: params,
|
|
1449
|
-
opts: opts
|
|
1450
|
-
)
|
|
1451
|
-
end
|
|
1452
|
-
|
|
1453
|
-
# Preview the invoice line items that would be generated by accepting the quote.
|
|
1454
|
-
def list_preview_invoice_lines(preview_invoice, params = {}, opts = {})
|
|
1455
|
-
request_stripe_object(
|
|
1456
|
-
method: :get,
|
|
1457
|
-
path: format("/v1/quotes/%<quote>s/preview_invoices/%<preview_invoice>s/lines", { quote: CGI.escape(self["id"]), preview_invoice: CGI.escape(preview_invoice) }),
|
|
1458
|
-
params: params,
|
|
1459
|
-
opts: opts
|
|
1460
|
-
)
|
|
1461
|
-
end
|
|
1462
|
-
|
|
1463
|
-
# Preview the invoice line items that would be generated by accepting the quote.
|
|
1464
|
-
def self.list_preview_invoice_lines(quote, preview_invoice, params = {}, opts = {})
|
|
1465
|
-
request_stripe_object(
|
|
1466
|
-
method: :get,
|
|
1467
|
-
path: format("/v1/quotes/%<quote>s/preview_invoices/%<preview_invoice>s/lines", { quote: CGI.escape(quote), preview_invoice: CGI.escape(preview_invoice) }),
|
|
1468
|
-
params: params,
|
|
1469
|
-
opts: opts
|
|
1470
|
-
)
|
|
1471
|
-
end
|
|
1472
|
-
|
|
1473
|
-
# Converts a stale quote to draft.
|
|
1474
|
-
def mark_draft(params = {}, opts = {})
|
|
1475
|
-
request_stripe_object(
|
|
1476
|
-
method: :post,
|
|
1477
|
-
path: format("/v1/quotes/%<quote>s/mark_draft", { quote: CGI.escape(self["id"]) }),
|
|
1478
|
-
params: params,
|
|
1479
|
-
opts: opts
|
|
1480
|
-
)
|
|
1481
|
-
end
|
|
1482
|
-
|
|
1483
|
-
# Converts a stale quote to draft.
|
|
1484
|
-
def self.mark_draft(quote, params = {}, opts = {})
|
|
1485
|
-
request_stripe_object(
|
|
1486
|
-
method: :post,
|
|
1487
|
-
path: format("/v1/quotes/%<quote>s/mark_draft", { quote: CGI.escape(quote) }),
|
|
1488
|
-
params: params,
|
|
1489
|
-
opts: opts
|
|
1490
|
-
)
|
|
1491
|
-
end
|
|
1492
|
-
|
|
1493
|
-
# Converts a draft or open quote to stale.
|
|
1494
|
-
def mark_stale(params = {}, opts = {})
|
|
1495
|
-
request_stripe_object(
|
|
1496
|
-
method: :post,
|
|
1497
|
-
path: format("/v1/quotes/%<quote>s/mark_stale", { quote: CGI.escape(self["id"]) }),
|
|
1498
|
-
params: params,
|
|
1499
|
-
opts: opts
|
|
1500
|
-
)
|
|
1501
|
-
end
|
|
1502
|
-
|
|
1503
|
-
# Converts a draft or open quote to stale.
|
|
1504
|
-
def self.mark_stale(quote, params = {}, opts = {})
|
|
1505
|
-
request_stripe_object(
|
|
1506
|
-
method: :post,
|
|
1507
|
-
path: format("/v1/quotes/%<quote>s/mark_stale", { quote: CGI.escape(quote) }),
|
|
1508
|
-
params: params,
|
|
1509
|
-
opts: opts
|
|
1510
|
-
)
|
|
1511
|
-
end
|
|
1512
|
-
|
|
1513
620
|
# Download the PDF for a finalized quote. Explanation for special handling can be found [here](https://docs.stripe.com/quotes/overview#quote_pdf)
|
|
1514
621
|
def pdf(params = {}, opts = {}, &read_body_chunk_block)
|
|
1515
622
|
opts = { api_base: APIRequestor.active_requestor.config.uploads_base }.merge(opts)
|
|
@@ -1536,26 +643,6 @@ module Stripe
|
|
|
1536
643
|
)
|
|
1537
644
|
end
|
|
1538
645
|
|
|
1539
|
-
# Recompute the upcoming invoice estimate for the quote.
|
|
1540
|
-
def reestimate(params = {}, opts = {})
|
|
1541
|
-
request_stripe_object(
|
|
1542
|
-
method: :post,
|
|
1543
|
-
path: format("/v1/quotes/%<quote>s/reestimate", { quote: CGI.escape(self["id"]) }),
|
|
1544
|
-
params: params,
|
|
1545
|
-
opts: opts
|
|
1546
|
-
)
|
|
1547
|
-
end
|
|
1548
|
-
|
|
1549
|
-
# Recompute the upcoming invoice estimate for the quote.
|
|
1550
|
-
def self.reestimate(quote, params = {}, opts = {})
|
|
1551
|
-
request_stripe_object(
|
|
1552
|
-
method: :post,
|
|
1553
|
-
path: format("/v1/quotes/%<quote>s/reestimate", { quote: CGI.escape(quote) }),
|
|
1554
|
-
params: params,
|
|
1555
|
-
opts: opts
|
|
1556
|
-
)
|
|
1557
|
-
end
|
|
1558
|
-
|
|
1559
646
|
# A quote models prices and services for a customer.
|
|
1560
647
|
def self.update(quote, params = {}, opts = {})
|
|
1561
648
|
request_stripe_object(
|
|
@@ -1572,11 +659,8 @@ module Stripe
|
|
|
1572
659
|
computed: Computed,
|
|
1573
660
|
from_quote: FromQuote,
|
|
1574
661
|
invoice_settings: InvoiceSettings,
|
|
1575
|
-
status_details: StatusDetails,
|
|
1576
662
|
status_transitions: StatusTransitions,
|
|
1577
663
|
subscription_data: SubscriptionData,
|
|
1578
|
-
subscription_data_overrides: SubscriptionDataOverride,
|
|
1579
|
-
subscription_schedules: SubscriptionSchedule,
|
|
1580
664
|
total_details: TotalDetails,
|
|
1581
665
|
transfer_data: TransferData,
|
|
1582
666
|
}
|