stripe 16.1.0.pre.beta.1 → 17.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 +3 -35
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -63
- data/lib/stripe/event_types.rb +0 -236
- data/lib/stripe/object_types.rb +0 -58
- data/lib/stripe/params/account_create_params.rb +1 -300
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +0 -262
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -4
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_create_params.rb +0 -4
- data/lib/stripe/params/billing/credit_grant_list_params.rb +0 -4
- 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 +3 -193
- 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_session_create_params.rb +1 -4
- 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_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 -46
- data/lib/stripe/params/invoice_create_params.rb +2 -112
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -826
- 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 -4
- data/lib/stripe/params/invoice_payment_list_params.rb +1 -4
- 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/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 +0 -895
- data/lib/stripe/params/payment_intent_confirm_params.rb +18 -1384
- data/lib/stripe/params/payment_intent_create_params.rb +16 -1390
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -223
- data/lib/stripe/params/payment_intent_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_update_params.rb +4 -1409
- 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 +3 -805
- data/lib/stripe/params/quote_list_params.rb +0 -8
- data/lib/stripe/params/quote_update_params.rb +4 -813
- data/lib/stripe/params/setup_intent_confirm_params.rb +3 -225
- data/lib/stripe/params/setup_intent_create_params.rb +3 -231
- data/lib/stripe/params/setup_intent_list_params.rb +0 -4
- data/lib/stripe/params/setup_intent_update_params.rb +3 -231
- 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 +5 -167
- data/lib/stripe/params/subscription_schedule_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -163
- data/lib/stripe/params/subscription_update_params.rb +4 -238
- 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 +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -97
- 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/transfer_create_params.rb +0 -4
- 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.rb +0 -169
- data/lib/stripe/request_options.rb +1 -3
- data/lib/stripe/resources/account.rb +1 -166
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
- data/lib/stripe/resources/billing/credit_grant.rb +0 -2
- data/lib/stripe/resources/billing_portal/session.rb +0 -2
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/cash_balance.rb +0 -2
- data/lib/stripe/resources/charge.rb +1 -234
- data/lib/stripe/resources/checkout/session.rb +4 -154
- data/lib/stripe/resources/confirmation_token.rb +0 -155
- 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 -2
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -27
- data/lib/stripe/resources/financial_connections/session.rb +1 -67
- data/lib/stripe/resources/identity/verification_session.rb +0 -2
- data/lib/stripe/resources/invoice.rb +1 -152
- data/lib/stripe/resources/invoice_item.rb +0 -4
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/invoice_payment.rb +0 -2
- 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_intent.rb +4 -848
- data/lib/stripe/resources/payment_method.rb +0 -157
- data/lib/stripe/resources/payment_method_configuration.rb +0 -204
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/promotion_code.rb +0 -2
- data/lib/stripe/resources/quote.rb +2 -571
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/setup_attempt.rb +0 -63
- data/lib/stripe/resources/setup_intent.rb +1 -132
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +0 -232
- data/lib/stripe/resources/subscription_item.rb +1 -20
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- 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 -2
- 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.rb +0 -116
- 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/issuing_service.rb +1 -5
- data/lib/stripe/services/mandate_service.rb +0 -5
- data/lib/stripe/services/payment_intent_service.rb +0 -44
- 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 -3
- data/lib/stripe/services/terminal_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +1 -10
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core_service.rb +1 -4
- data/lib/stripe/services/v2_services.rb +1 -4
- data/lib/stripe/services.rb +0 -61
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_configuration.rb +2 -9
- data/lib/stripe/stripe_object.rb +15 -9
- data/lib/stripe/util.rb +3 -9
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +98094 -162674
- metadata +5 -351
- data/lib/stripe/events/v2_billing_bill_setting_updated_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_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_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_transaction_created_event.rb +0 -44
- 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/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 -65
- 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_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/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/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/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_attempt_record_list_params.rb +0 -19
- data/lib/stripe/params/payment_attempt_record_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_intent_amount_details_line_item_list_params.rb +0 -22
- 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_record_report_payment_attempt_canceled_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +0 -19
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +0 -93
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +0 -186
- data/lib/stripe/params/payment_record_report_payment_params.rb +0 -252
- data/lib/stripe/params/payment_record_retrieve_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/association_find_params.rb +0 -18
- 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/onboarding_link_create_params.rb +0 -43
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- 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 -10
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
- 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 -75
- 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/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/core/account_close_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_create_params.rb +0 -2217
- data/lib/stripe/params/v2/core/account_link_create_params.rb +0 -101
- data/lib/stripe/params/v2/core/account_list_params.rb +0 -20
- data/lib/stripe/params/v2/core/account_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/core/account_update_params.rb +0 -2245
- 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/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_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_create_params.rb +0 -33
- 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_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_address_create_params.rb +0 -20
- 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 -98
- 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 -85
- 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 -77
- 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/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/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/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 -38
- data/lib/stripe/resources/capital/financing_offer.rb +0 -142
- data/lib/stripe/resources/capital/financing_summary.rb +0 -79
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
- 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/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/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_attempt_record.rb +0 -2102
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -128
- data/lib/stripe/resources/payment_record.rb +0 -2208
- 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 -1150
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -732
- data/lib/stripe/resources/tax/association.rb +0 -86
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -71
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- 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 -609
- 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/profile.rb +0 -46
- data/lib/stripe/resources/v2/core/account.rb +0 -3851
- 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/vault/gb_bank_account.rb +0 -114
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -47
- 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 -217
- 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 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -109
- 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 -228
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- 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/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/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/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/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/payment_attempt_record_service.rb +0 -28
- data/lib/stripe/services/payment_intent_amount_details_line_item_service.rb +0 -17
- data/lib/stripe/services/payment_record_service.rb +0 -89
- 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/association_service.rb +0 -19
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -19
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- 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/profile_service.rb +0 -54
- 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/vault/gb_bank_account_service.rb +0 -74
- data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -68
- 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 -59
- 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/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 -31
- 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/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
@@ -1,570 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
module Stripe
|
5
|
-
class SubscriptionScheduleAmendParams < Stripe::RequestParams
|
6
|
-
class Amendment < Stripe::RequestParams
|
7
|
-
class AmendmentEnd < Stripe::RequestParams
|
8
|
-
class DiscountEnd < Stripe::RequestParams
|
9
|
-
# The ID of a specific discount.
|
10
|
-
attr_accessor :discount
|
11
|
-
|
12
|
-
def initialize(discount: nil)
|
13
|
-
@discount = discount
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
class Duration < Stripe::RequestParams
|
18
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
19
|
-
attr_accessor :interval
|
20
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
21
|
-
attr_accessor :interval_count
|
22
|
-
|
23
|
-
def initialize(interval: nil, interval_count: nil)
|
24
|
-
@interval = interval
|
25
|
-
@interval_count = interval_count
|
26
|
-
end
|
27
|
-
end
|
28
|
-
# Use the `end` time of a given discount.
|
29
|
-
attr_accessor :discount_end
|
30
|
-
# Time span for the amendment starting from the `amendment_start`.
|
31
|
-
attr_accessor :duration
|
32
|
-
# A precise Unix timestamp for the amendment to end. Must be after the `amendment_start`.
|
33
|
-
attr_accessor :timestamp
|
34
|
-
# Select one of three ways to pass the `amendment_end`.
|
35
|
-
attr_accessor :type
|
36
|
-
|
37
|
-
def initialize(discount_end: nil, duration: nil, timestamp: nil, type: nil)
|
38
|
-
@discount_end = discount_end
|
39
|
-
@duration = duration
|
40
|
-
@timestamp = timestamp
|
41
|
-
@type = type
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
class AmendmentStart < Stripe::RequestParams
|
46
|
-
class AmendmentEnd < Stripe::RequestParams
|
47
|
-
# The position of the previous amendment in the `amendments` array after which this amendment should begin. Indexes start from 0 and must be less than the index of the current amendment in the array.
|
48
|
-
attr_accessor :index
|
49
|
-
|
50
|
-
def initialize(index: nil)
|
51
|
-
@index = index
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
class DiscountEnd < Stripe::RequestParams
|
56
|
-
# The ID of a specific discount.
|
57
|
-
attr_accessor :discount
|
58
|
-
|
59
|
-
def initialize(discount: nil)
|
60
|
-
@discount = discount
|
61
|
-
end
|
62
|
-
end
|
63
|
-
# Details of another amendment in the same array, immediately after which this amendment should begin.
|
64
|
-
attr_accessor :amendment_end
|
65
|
-
# Use the `end` time of a given discount.
|
66
|
-
attr_accessor :discount_end
|
67
|
-
# A precise Unix timestamp for the amendment to start.
|
68
|
-
attr_accessor :timestamp
|
69
|
-
# Select one of three ways to pass the `amendment_start`.
|
70
|
-
attr_accessor :type
|
71
|
-
|
72
|
-
def initialize(amendment_end: nil, discount_end: nil, timestamp: nil, type: nil)
|
73
|
-
@amendment_end = amendment_end
|
74
|
-
@discount_end = discount_end
|
75
|
-
@timestamp = timestamp
|
76
|
-
@type = type
|
77
|
-
end
|
78
|
-
end
|
79
|
-
|
80
|
-
class DiscountAction < Stripe::RequestParams
|
81
|
-
class Add < Stripe::RequestParams
|
82
|
-
class DiscountEnd < Stripe::RequestParams
|
83
|
-
# The type of calculation made to determine when the discount ends.
|
84
|
-
attr_accessor :type
|
85
|
-
|
86
|
-
def initialize(type: nil)
|
87
|
-
@type = type
|
88
|
-
end
|
89
|
-
end
|
90
|
-
# The coupon code to redeem.
|
91
|
-
attr_accessor :coupon
|
92
|
-
# An ID of an existing discount for a coupon that was already redeemed.
|
93
|
-
attr_accessor :discount
|
94
|
-
# Details to determine how long the discount should be applied for.
|
95
|
-
attr_accessor :discount_end
|
96
|
-
# The index, starting at 0, at which to position the new discount. When not supplied, Stripe defaults to appending the discount to the end of the `discounts` array.
|
97
|
-
attr_accessor :index
|
98
|
-
# The promotion code to redeem.
|
99
|
-
attr_accessor :promotion_code
|
100
|
-
|
101
|
-
def initialize(
|
102
|
-
coupon: nil,
|
103
|
-
discount: nil,
|
104
|
-
discount_end: nil,
|
105
|
-
index: nil,
|
106
|
-
promotion_code: nil
|
107
|
-
)
|
108
|
-
@coupon = coupon
|
109
|
-
@discount = discount
|
110
|
-
@discount_end = discount_end
|
111
|
-
@index = index
|
112
|
-
@promotion_code = promotion_code
|
113
|
-
end
|
114
|
-
end
|
115
|
-
|
116
|
-
class Remove < Stripe::RequestParams
|
117
|
-
# The coupon code to remove from the `discounts` array.
|
118
|
-
attr_accessor :coupon
|
119
|
-
# The ID of a discount to remove from the `discounts` array.
|
120
|
-
attr_accessor :discount
|
121
|
-
# The ID of a promotion code to remove from the `discounts` array.
|
122
|
-
attr_accessor :promotion_code
|
123
|
-
|
124
|
-
def initialize(coupon: nil, discount: nil, promotion_code: nil)
|
125
|
-
@coupon = coupon
|
126
|
-
@discount = discount
|
127
|
-
@promotion_code = promotion_code
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
class Set < Stripe::RequestParams
|
132
|
-
# The coupon code to replace the `discounts` array with.
|
133
|
-
attr_accessor :coupon
|
134
|
-
# An ID of an existing discount to replace the `discounts` array with.
|
135
|
-
attr_accessor :discount
|
136
|
-
# An ID of an existing promotion code to replace the `discounts` array with.
|
137
|
-
attr_accessor :promotion_code
|
138
|
-
|
139
|
-
def initialize(coupon: nil, discount: nil, promotion_code: nil)
|
140
|
-
@coupon = coupon
|
141
|
-
@discount = discount
|
142
|
-
@promotion_code = promotion_code
|
143
|
-
end
|
144
|
-
end
|
145
|
-
# Details of the discount to add.
|
146
|
-
attr_accessor :add
|
147
|
-
# Details of the discount to remove.
|
148
|
-
attr_accessor :remove
|
149
|
-
# Details of the discount to replace the existing discounts with.
|
150
|
-
attr_accessor :set
|
151
|
-
# Determines the type of discount action.
|
152
|
-
attr_accessor :type
|
153
|
-
|
154
|
-
def initialize(add: nil, remove: nil, set: nil, type: nil)
|
155
|
-
@add = add
|
156
|
-
@remove = remove
|
157
|
-
@set = set
|
158
|
-
@type = type
|
159
|
-
end
|
160
|
-
end
|
161
|
-
|
162
|
-
class ItemAction < Stripe::RequestParams
|
163
|
-
class Add < Stripe::RequestParams
|
164
|
-
class Discount < Stripe::RequestParams
|
165
|
-
class DiscountEnd < Stripe::RequestParams
|
166
|
-
class Duration < Stripe::RequestParams
|
167
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
168
|
-
attr_accessor :interval
|
169
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
170
|
-
attr_accessor :interval_count
|
171
|
-
|
172
|
-
def initialize(interval: nil, interval_count: nil)
|
173
|
-
@interval = interval
|
174
|
-
@interval_count = interval_count
|
175
|
-
end
|
176
|
-
end
|
177
|
-
# Time span for the redeemed discount.
|
178
|
-
attr_accessor :duration
|
179
|
-
# A precise Unix timestamp for the discount to end. Must be in the future.
|
180
|
-
attr_accessor :timestamp
|
181
|
-
# The type of calculation made to determine when the discount ends.
|
182
|
-
attr_accessor :type
|
183
|
-
|
184
|
-
def initialize(duration: nil, timestamp: nil, type: nil)
|
185
|
-
@duration = duration
|
186
|
-
@timestamp = timestamp
|
187
|
-
@type = type
|
188
|
-
end
|
189
|
-
end
|
190
|
-
# ID of the coupon to create a new discount for.
|
191
|
-
attr_accessor :coupon
|
192
|
-
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
193
|
-
attr_accessor :discount
|
194
|
-
# Details to determine how long the discount should be applied for.
|
195
|
-
attr_accessor :discount_end
|
196
|
-
# ID of the promotion code to create a new discount for.
|
197
|
-
attr_accessor :promotion_code
|
198
|
-
|
199
|
-
def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil)
|
200
|
-
@coupon = coupon
|
201
|
-
@discount = discount
|
202
|
-
@discount_end = discount_end
|
203
|
-
@promotion_code = promotion_code
|
204
|
-
end
|
205
|
-
end
|
206
|
-
|
207
|
-
class Trial < Stripe::RequestParams
|
208
|
-
# List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
|
209
|
-
attr_accessor :converts_to
|
210
|
-
# Determines the type of trial for this item.
|
211
|
-
attr_accessor :type
|
212
|
-
|
213
|
-
def initialize(converts_to: nil, type: nil)
|
214
|
-
@converts_to = converts_to
|
215
|
-
@type = type
|
216
|
-
end
|
217
|
-
end
|
218
|
-
# The discounts applied to the item. Subscription item discounts are applied before subscription discounts.
|
219
|
-
attr_accessor :discounts
|
220
|
-
# 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
221
|
-
attr_accessor :metadata
|
222
|
-
# The ID of the price object.
|
223
|
-
attr_accessor :price
|
224
|
-
# Quantity for this item.
|
225
|
-
attr_accessor :quantity
|
226
|
-
# The tax rates that apply to this subscription item. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`.
|
227
|
-
attr_accessor :tax_rates
|
228
|
-
# Options that configure the trial on the subscription item.
|
229
|
-
attr_accessor :trial
|
230
|
-
|
231
|
-
def initialize(
|
232
|
-
discounts: nil,
|
233
|
-
metadata: nil,
|
234
|
-
price: nil,
|
235
|
-
quantity: nil,
|
236
|
-
tax_rates: nil,
|
237
|
-
trial: nil
|
238
|
-
)
|
239
|
-
@discounts = discounts
|
240
|
-
@metadata = metadata
|
241
|
-
@price = price
|
242
|
-
@quantity = quantity
|
243
|
-
@tax_rates = tax_rates
|
244
|
-
@trial = trial
|
245
|
-
end
|
246
|
-
end
|
247
|
-
|
248
|
-
class Remove < Stripe::RequestParams
|
249
|
-
# ID of a price to remove.
|
250
|
-
attr_accessor :price
|
251
|
-
|
252
|
-
def initialize(price: nil)
|
253
|
-
@price = price
|
254
|
-
end
|
255
|
-
end
|
256
|
-
|
257
|
-
class Set < Stripe::RequestParams
|
258
|
-
class Discount < Stripe::RequestParams
|
259
|
-
class DiscountEnd < Stripe::RequestParams
|
260
|
-
class Duration < Stripe::RequestParams
|
261
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
262
|
-
attr_accessor :interval
|
263
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
264
|
-
attr_accessor :interval_count
|
265
|
-
|
266
|
-
def initialize(interval: nil, interval_count: nil)
|
267
|
-
@interval = interval
|
268
|
-
@interval_count = interval_count
|
269
|
-
end
|
270
|
-
end
|
271
|
-
# Time span for the redeemed discount.
|
272
|
-
attr_accessor :duration
|
273
|
-
# A precise Unix timestamp for the discount to end. Must be in the future.
|
274
|
-
attr_accessor :timestamp
|
275
|
-
# The type of calculation made to determine when the discount ends.
|
276
|
-
attr_accessor :type
|
277
|
-
|
278
|
-
def initialize(duration: nil, timestamp: nil, type: nil)
|
279
|
-
@duration = duration
|
280
|
-
@timestamp = timestamp
|
281
|
-
@type = type
|
282
|
-
end
|
283
|
-
end
|
284
|
-
# ID of the coupon to create a new discount for.
|
285
|
-
attr_accessor :coupon
|
286
|
-
# ID of an existing discount on the object (or one of its ancestors) to reuse.
|
287
|
-
attr_accessor :discount
|
288
|
-
# Details to determine how long the discount should be applied for.
|
289
|
-
attr_accessor :discount_end
|
290
|
-
# ID of the promotion code to create a new discount for.
|
291
|
-
attr_accessor :promotion_code
|
292
|
-
|
293
|
-
def initialize(coupon: nil, discount: nil, discount_end: nil, promotion_code: nil)
|
294
|
-
@coupon = coupon
|
295
|
-
@discount = discount
|
296
|
-
@discount_end = discount_end
|
297
|
-
@promotion_code = promotion_code
|
298
|
-
end
|
299
|
-
end
|
300
|
-
|
301
|
-
class Trial < Stripe::RequestParams
|
302
|
-
# List of price IDs which, if present on the subscription following a paid trial, constitute opting-in to the paid trial. Currently only supports at most 1 price ID.
|
303
|
-
attr_accessor :converts_to
|
304
|
-
# Determines the type of trial for this item.
|
305
|
-
attr_accessor :type
|
306
|
-
|
307
|
-
def initialize(converts_to: nil, type: nil)
|
308
|
-
@converts_to = converts_to
|
309
|
-
@type = type
|
310
|
-
end
|
311
|
-
end
|
312
|
-
# If an item with the `price` already exists, passing this will override the `discounts` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `discounts`.
|
313
|
-
attr_accessor :discounts
|
314
|
-
# If an item with the `price` already exists, passing this will override the `metadata` on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `metadata`.
|
315
|
-
attr_accessor :metadata
|
316
|
-
# The ID of the price object.
|
317
|
-
attr_accessor :price
|
318
|
-
# If an item with the `price` already exists, passing this will override the quantity on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `quantity`.
|
319
|
-
attr_accessor :quantity
|
320
|
-
# If an item with the `price` already exists, passing this will override the `tax_rates` array on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `tax_rates`.
|
321
|
-
attr_accessor :tax_rates
|
322
|
-
# If an item with the `price` already exists, passing this will override the `trial` configuration on the subscription item that matches that price. Otherwise, the `items` array is cleared and a single new item is added with the supplied `trial`.
|
323
|
-
attr_accessor :trial
|
324
|
-
|
325
|
-
def initialize(
|
326
|
-
discounts: nil,
|
327
|
-
metadata: nil,
|
328
|
-
price: nil,
|
329
|
-
quantity: nil,
|
330
|
-
tax_rates: nil,
|
331
|
-
trial: nil
|
332
|
-
)
|
333
|
-
@discounts = discounts
|
334
|
-
@metadata = metadata
|
335
|
-
@price = price
|
336
|
-
@quantity = quantity
|
337
|
-
@tax_rates = tax_rates
|
338
|
-
@trial = trial
|
339
|
-
end
|
340
|
-
end
|
341
|
-
# Details of the subscription item to add. If an item with the same `price` exists, it will be replaced by this new item. Otherwise, it adds the new item.
|
342
|
-
attr_accessor :add
|
343
|
-
# Details of the subscription item to remove.
|
344
|
-
attr_accessor :remove
|
345
|
-
# Details of the subscription item to replace the existing items with. If an item with the `set[price]` already exists, the `items` array is not cleared. Instead, all of the other `set` properties that are passed in this request will replace the existing values for the configuration item.
|
346
|
-
attr_accessor :set
|
347
|
-
# Determines the type of item action.
|
348
|
-
attr_accessor :type
|
349
|
-
|
350
|
-
def initialize(add: nil, remove: nil, set: nil, type: nil)
|
351
|
-
@add = add
|
352
|
-
@remove = remove
|
353
|
-
@set = set
|
354
|
-
@type = type
|
355
|
-
end
|
356
|
-
end
|
357
|
-
|
358
|
-
class MetadataAction < Stripe::RequestParams
|
359
|
-
# Key-value pairs to add to schedule phase metadata. These values will merge with existing schedule phase metadata.
|
360
|
-
attr_accessor :add
|
361
|
-
# Keys to remove from schedule phase metadata.
|
362
|
-
attr_accessor :remove
|
363
|
-
# Key-value pairs to set as schedule phase metadata. Existing schedule phase metadata will be overwritten.
|
364
|
-
attr_accessor :set
|
365
|
-
# Select one of three ways to update phase-level `metadata` on subscription schedules.
|
366
|
-
attr_accessor :type
|
367
|
-
|
368
|
-
def initialize(add: nil, remove: nil, set: nil, type: nil)
|
369
|
-
@add = add
|
370
|
-
@remove = remove
|
371
|
-
@set = set
|
372
|
-
@type = type
|
373
|
-
end
|
374
|
-
end
|
375
|
-
|
376
|
-
class SetPauseCollection < Stripe::RequestParams
|
377
|
-
class Set < Stripe::RequestParams
|
378
|
-
# The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
|
379
|
-
attr_accessor :behavior
|
380
|
-
|
381
|
-
def initialize(behavior: nil)
|
382
|
-
@behavior = behavior
|
383
|
-
end
|
384
|
-
end
|
385
|
-
# Details of the pause_collection behavior to apply to the amendment.
|
386
|
-
attr_accessor :set
|
387
|
-
# Determines the type of the pause_collection amendment.
|
388
|
-
attr_accessor :type
|
389
|
-
|
390
|
-
def initialize(set: nil, type: nil)
|
391
|
-
@set = set
|
392
|
-
@type = type
|
393
|
-
end
|
394
|
-
end
|
395
|
-
|
396
|
-
class TrialSettings < Stripe::RequestParams
|
397
|
-
class EndBehavior < Stripe::RequestParams
|
398
|
-
# Configure how an opt-in following a paid trial is billed when using `billing_behavior: prorate_up_front`.
|
399
|
-
attr_accessor :prorate_up_front
|
400
|
-
|
401
|
-
def initialize(prorate_up_front: nil)
|
402
|
-
@prorate_up_front = prorate_up_front
|
403
|
-
end
|
404
|
-
end
|
405
|
-
# Defines how the subscription should behave when a trial ends.
|
406
|
-
attr_accessor :end_behavior
|
407
|
-
|
408
|
-
def initialize(end_behavior: nil)
|
409
|
-
@end_behavior = end_behavior
|
410
|
-
end
|
411
|
-
end
|
412
|
-
# Details to identify the end of the time range modified by the proposed change. If not supplied, the amendment is considered a point-in-time operation that only affects the exact timestamp at `amendment_start`, and a restricted set of attributes is supported on the amendment.
|
413
|
-
attr_accessor :amendment_end
|
414
|
-
# Details to identify the earliest timestamp where the proposed change should take effect.
|
415
|
-
attr_accessor :amendment_start
|
416
|
-
# For point-in-time amendments (having no `amendment_end`), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the `amendment_start` timestamp.For time-span based amendments (having both `amendment_start` and `amendment_end`), the only value valid is `automatic`, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.
|
417
|
-
attr_accessor :billing_cycle_anchor
|
418
|
-
# Changes to the coupons being redeemed or discounts being applied during the amendment time span.
|
419
|
-
attr_accessor :discount_actions
|
420
|
-
# Changes to the subscription items during the amendment time span.
|
421
|
-
attr_accessor :item_actions
|
422
|
-
# Instructions for how to modify phase metadata
|
423
|
-
attr_accessor :metadata_actions
|
424
|
-
# Changes to how Stripe handles prorations during the amendment time span. Affects if and how prorations are created when a future phase starts. In cases where the amendment changes the currently active phase, it is used to determine whether or how to prorate now, at the time of the request. Also supported as a point-in-time operation when `amendment_end` is `null`.
|
425
|
-
attr_accessor :proration_behavior
|
426
|
-
# Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
|
427
|
-
attr_accessor :set_pause_collection
|
428
|
-
# Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.
|
429
|
-
attr_accessor :set_schedule_end
|
430
|
-
# Settings related to subscription trials.
|
431
|
-
attr_accessor :trial_settings
|
432
|
-
|
433
|
-
def initialize(
|
434
|
-
amendment_end: nil,
|
435
|
-
amendment_start: nil,
|
436
|
-
billing_cycle_anchor: nil,
|
437
|
-
discount_actions: nil,
|
438
|
-
item_actions: nil,
|
439
|
-
metadata_actions: nil,
|
440
|
-
proration_behavior: nil,
|
441
|
-
set_pause_collection: nil,
|
442
|
-
set_schedule_end: nil,
|
443
|
-
trial_settings: nil
|
444
|
-
)
|
445
|
-
@amendment_end = amendment_end
|
446
|
-
@amendment_start = amendment_start
|
447
|
-
@billing_cycle_anchor = billing_cycle_anchor
|
448
|
-
@discount_actions = discount_actions
|
449
|
-
@item_actions = item_actions
|
450
|
-
@metadata_actions = metadata_actions
|
451
|
-
@proration_behavior = proration_behavior
|
452
|
-
@set_pause_collection = set_pause_collection
|
453
|
-
@set_schedule_end = set_schedule_end
|
454
|
-
@trial_settings = trial_settings
|
455
|
-
end
|
456
|
-
end
|
457
|
-
|
458
|
-
class Prebilling < Stripe::RequestParams
|
459
|
-
class BillFrom < Stripe::RequestParams
|
460
|
-
class AmendmentStart < Stripe::RequestParams
|
461
|
-
# The position of the amendment in the `amendments` array with which prebilling should begin. Indexes start from 0 and must be less than the total number of supplied amendments.
|
462
|
-
attr_accessor :index
|
463
|
-
|
464
|
-
def initialize(index: nil)
|
465
|
-
@index = index
|
466
|
-
end
|
467
|
-
end
|
468
|
-
# Start the prebilled period when a specified amendment begins.
|
469
|
-
attr_accessor :amendment_start
|
470
|
-
# Start the prebilled period at a precise integer timestamp, starting from the Unix epoch.
|
471
|
-
attr_accessor :timestamp
|
472
|
-
# Select one of several ways to pass the `bill_from` value.
|
473
|
-
attr_accessor :type
|
474
|
-
|
475
|
-
def initialize(amendment_start: nil, timestamp: nil, type: nil)
|
476
|
-
@amendment_start = amendment_start
|
477
|
-
@timestamp = timestamp
|
478
|
-
@type = type
|
479
|
-
end
|
480
|
-
end
|
481
|
-
|
482
|
-
class BillUntil < Stripe::RequestParams
|
483
|
-
class AmendmentEnd < Stripe::RequestParams
|
484
|
-
# The position of the amendment in the `amendments` array at which prebilling should end. Indexes start from 0 and must be less than the total number of supplied amendments.
|
485
|
-
attr_accessor :index
|
486
|
-
|
487
|
-
def initialize(index: nil)
|
488
|
-
@index = index
|
489
|
-
end
|
490
|
-
end
|
491
|
-
|
492
|
-
class Duration < Stripe::RequestParams
|
493
|
-
# Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
494
|
-
attr_accessor :interval
|
495
|
-
# The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
496
|
-
attr_accessor :interval_count
|
497
|
-
|
498
|
-
def initialize(interval: nil, interval_count: nil)
|
499
|
-
@interval = interval
|
500
|
-
@interval_count = interval_count
|
501
|
-
end
|
502
|
-
end
|
503
|
-
# End the prebilled period when a specified amendment ends.
|
504
|
-
attr_accessor :amendment_end
|
505
|
-
# Time span for prebilling, starting from `bill_from`.
|
506
|
-
attr_accessor :duration
|
507
|
-
# End the prebilled period at a precise integer timestamp, starting from the Unix epoch.
|
508
|
-
attr_accessor :timestamp
|
509
|
-
# Select one of several ways to pass the `bill_until` value.
|
510
|
-
attr_accessor :type
|
511
|
-
|
512
|
-
def initialize(amendment_end: nil, duration: nil, timestamp: nil, type: nil)
|
513
|
-
@amendment_end = amendment_end
|
514
|
-
@duration = duration
|
515
|
-
@timestamp = timestamp
|
516
|
-
@type = type
|
517
|
-
end
|
518
|
-
end
|
519
|
-
# The beginning of the prebilled time period. The default value is `now`.
|
520
|
-
attr_accessor :bill_from
|
521
|
-
# The end of the prebilled time period.
|
522
|
-
attr_accessor :bill_until
|
523
|
-
# When the prebilling invoice should be created. The default value is `now`.
|
524
|
-
attr_accessor :invoice_at
|
525
|
-
# Whether to cancel or preserve `prebilling` if the subscription is updated during the prebilled period. The default value is `reset`.
|
526
|
-
attr_accessor :update_behavior
|
527
|
-
|
528
|
-
def initialize(bill_from: nil, bill_until: nil, invoice_at: nil, update_behavior: nil)
|
529
|
-
@bill_from = bill_from
|
530
|
-
@bill_until = bill_until
|
531
|
-
@invoice_at = invoice_at
|
532
|
-
@update_behavior = update_behavior
|
533
|
-
end
|
534
|
-
end
|
535
|
-
|
536
|
-
class ScheduleSettings < Stripe::RequestParams
|
537
|
-
# Behavior of the subscription schedule and underlying subscription when it ends.
|
538
|
-
attr_accessor :end_behavior
|
539
|
-
|
540
|
-
def initialize(end_behavior: nil)
|
541
|
-
@end_behavior = end_behavior
|
542
|
-
end
|
543
|
-
end
|
544
|
-
# Changes to apply to the phases of the subscription schedule, in the order provided.
|
545
|
-
attr_accessor :amendments
|
546
|
-
# Specifies which fields in the response should be expanded.
|
547
|
-
attr_accessor :expand
|
548
|
-
# Provide any time periods to bill in advance.
|
549
|
-
attr_accessor :prebilling
|
550
|
-
# In cases where the amendment changes the currently active phase,
|
551
|
-
# specifies if and how to prorate at the time of the request.
|
552
|
-
attr_accessor :proration_behavior
|
553
|
-
# Changes to apply to the subscription schedule.
|
554
|
-
attr_accessor :schedule_settings
|
555
|
-
|
556
|
-
def initialize(
|
557
|
-
amendments: nil,
|
558
|
-
expand: nil,
|
559
|
-
prebilling: nil,
|
560
|
-
proration_behavior: nil,
|
561
|
-
schedule_settings: nil
|
562
|
-
)
|
563
|
-
@amendments = amendments
|
564
|
-
@expand = expand
|
565
|
-
@prebilling = prebilling
|
566
|
-
@proration_behavior = proration_behavior
|
567
|
-
@schedule_settings = schedule_settings
|
568
|
-
end
|
569
|
-
end
|
570
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
module Stripe
|
5
|
-
module Tax
|
6
|
-
class AssociationFindParams < Stripe::RequestParams
|
7
|
-
# Specifies which fields in the response should be expanded.
|
8
|
-
attr_accessor :expand
|
9
|
-
# Valid [PaymentIntent](https://stripe.com/docs/api/payment_intents/object) id
|
10
|
-
attr_accessor :payment_intent
|
11
|
-
|
12
|
-
def initialize(expand: nil, payment_intent: nil)
|
13
|
-
@expand = expand
|
14
|
-
@payment_intent = payment_intent
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,51 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
module Stripe
|
5
|
-
module Tax
|
6
|
-
class FormListParams < Stripe::RequestParams
|
7
|
-
class Payee < Stripe::RequestParams
|
8
|
-
# The ID of the Stripe account whose forms will be retrieved.
|
9
|
-
attr_accessor :account
|
10
|
-
# The external reference to the payee whose forms will be retrieved.
|
11
|
-
attr_accessor :external_reference
|
12
|
-
# Specifies the payee type. Either `account` or `external_reference`.
|
13
|
-
attr_accessor :type
|
14
|
-
|
15
|
-
def initialize(account: nil, external_reference: nil, type: nil)
|
16
|
-
@account = account
|
17
|
-
@external_reference = external_reference
|
18
|
-
@type = type
|
19
|
-
end
|
20
|
-
end
|
21
|
-
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
22
|
-
attr_accessor :ending_before
|
23
|
-
# Specifies which fields in the response should be expanded.
|
24
|
-
attr_accessor :expand
|
25
|
-
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
26
|
-
attr_accessor :limit
|
27
|
-
# The payee whose volume is represented on the tax form.
|
28
|
-
attr_accessor :payee
|
29
|
-
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
30
|
-
attr_accessor :starting_after
|
31
|
-
# An optional filter on the list, based on the object `type` field. Without the filter, the list includes all current and future tax form types. If your integration expects only one type of tax form in the response, make sure to provide a type value in the request.
|
32
|
-
attr_accessor :type
|
33
|
-
|
34
|
-
def initialize(
|
35
|
-
ending_before: nil,
|
36
|
-
expand: nil,
|
37
|
-
limit: nil,
|
38
|
-
payee: nil,
|
39
|
-
starting_after: nil,
|
40
|
-
type: nil
|
41
|
-
)
|
42
|
-
@ending_before = ending_before
|
43
|
-
@expand = expand
|
44
|
-
@limit = limit
|
45
|
-
@payee = payee
|
46
|
-
@starting_after = starting_after
|
47
|
-
@type = type
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
module Stripe
|
5
|
-
module Tax
|
6
|
-
class FormPdfParams < Stripe::RequestParams
|
7
|
-
# Specifies which fields in the response should be expanded.
|
8
|
-
attr_accessor :expand
|
9
|
-
|
10
|
-
def initialize(expand: nil)
|
11
|
-
@expand = expand
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
module Stripe
|
5
|
-
module Tax
|
6
|
-
class FormRetrieveParams < Stripe::RequestParams
|
7
|
-
# Specifies which fields in the response should be expanded.
|
8
|
-
attr_accessor :expand
|
9
|
-
|
10
|
-
def initialize(expand: nil)
|
11
|
-
@expand = expand
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|