stripe 18.1.0.pre.beta.1 → 18.1.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/data/ca-certificates.crt +682 -518
- 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 -209
- data/lib/stripe/object_types.rb +0 -49
- data/lib/stripe/params/account_create_params.rb +48 -329
- data/lib/stripe/params/account_external_account_create_params.rb +2 -2
- data/lib/stripe/params/account_external_account_update_params.rb +2 -2
- data/lib/stripe/params/account_person_create_params.rb +10 -10
- data/lib/stripe/params/account_person_update_params.rb +10 -10
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +47 -291
- data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
- data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +2 -2
- data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +2 -2
- data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -2
- data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -1
- data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
- data/lib/stripe/params/billing_portal/configuration_create_params.rb +7 -3
- data/lib/stripe/params/billing_portal/configuration_update_params.rb +7 -3
- data/lib/stripe/params/billing_portal/session_create_params.rb +7 -7
- data/lib/stripe/params/charge_capture_params.rb +2 -1650
- data/lib/stripe/params/charge_create_params.rb +12 -12
- data/lib/stripe/params/charge_search_params.rb +1 -1
- data/lib/stripe/params/charge_update_params.rb +3 -1651
- data/lib/stripe/params/checkout/session_create_params.rb +41 -167
- data/lib/stripe/params/checkout/session_update_params.rb +12 -152
- data/lib/stripe/params/climate/order_create_params.rb +1 -1
- data/lib/stripe/params/climate/order_update_params.rb +1 -1
- data/lib/stripe/params/confirmation_token_create_params.rb +6 -83
- data/lib/stripe/params/coupon_create_params.rb +2 -18
- data/lib/stripe/params/coupon_update_params.rb +1 -1
- data/lib/stripe/params/credit_note_create_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
- data/lib/stripe/params/credit_note_preview_params.rb +1 -1
- data/lib/stripe/params/credit_note_update_params.rb +1 -1
- data/lib/stripe/params/customer_balance_transaction_create_params.rb +2 -2
- data/lib/stripe/params/customer_balance_transaction_list_params.rb +11 -1
- data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
- data/lib/stripe/params/customer_cash_balance_update_params.rb +1 -1
- data/lib/stripe/params/customer_create_params.rb +5 -5
- data/lib/stripe/params/customer_fund_cash_balance_params.rb +2 -2
- data/lib/stripe/params/customer_payment_source_create_params.rb +2 -2
- data/lib/stripe/params/customer_payment_source_update_params.rb +2 -2
- data/lib/stripe/params/customer_search_params.rb +1 -1
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/customer_update_params.rb +7 -7
- data/lib/stripe/params/dispute_update_params.rb +4 -13
- data/lib/stripe/params/file_create_params.rb +3 -3
- data/lib/stripe/params/file_link_create_params.rb +1 -1
- data/lib/stripe/params/file_link_update_params.rb +1 -1
- data/lib/stripe/params/financial_connections/account_list_params.rb +3 -3
- data/lib/stripe/params/financial_connections/session_create_params.rb +4 -33
- data/lib/stripe/params/forwarding/request_create_params.rb +1 -1
- data/lib/stripe/params/identity/verification_session_create_params.rb +6 -6
- data/lib/stripe/params/identity/verification_session_list_params.rb +3 -3
- data/lib/stripe/params/identity/verification_session_update_params.rb +5 -5
- data/lib/stripe/params/invoice_add_lines_params.rb +9 -41
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +29 -110
- data/lib/stripe/params/invoice_create_preview_params.rb +42 -855
- data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
- data/lib/stripe/params/invoice_item_create_params.rb +9 -41
- data/lib/stripe/params/invoice_item_list_params.rb +2 -2
- data/lib/stripe/params/invoice_item_update_params.rb +7 -39
- data/lib/stripe/params/invoice_line_item_update_params.rb +8 -40
- data/lib/stripe/params/invoice_list_params.rb +2 -2
- data/lib/stripe/params/invoice_remove_lines_params.rb +1 -1
- data/lib/stripe/params/invoice_search_params.rb +1 -1
- data/lib/stripe/params/invoice_update_lines_params.rb +9 -41
- data/lib/stripe/params/invoice_update_params.rb +26 -107
- data/lib/stripe/params/issuing/authorization_approve_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_create_params.rb +5 -5
- data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_increment_params.rb +2 -2
- data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
- data/lib/stripe/params/issuing/card_create_params.rb +7 -7
- data/lib/stripe/params/issuing/card_update_params.rb +6 -6
- data/lib/stripe/params/issuing/cardholder_create_params.rb +11 -12
- data/lib/stripe/params/issuing/cardholder_update_params.rb +10 -10
- data/lib/stripe/params/issuing/dispute_create_params.rb +2 -2
- data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
- data/lib/stripe/params/issuing/dispute_update_params.rb +2 -2
- data/lib/stripe/params/issuing/personalization_design_create_params.rb +1 -1
- data/lib/stripe/params/issuing/personalization_design_update_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +2 -2
- data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +2 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
- data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
- data/lib/stripe/params/payment_intent_capture_params.rb +13 -1639
- data/lib/stripe/params/payment_intent_confirm_params.rb +52 -3012
- data/lib/stripe/params/payment_intent_create_params.rb +68 -3028
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +11 -32
- data/lib/stripe/params/payment_intent_list_params.rb +1 -1
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_update_params.rb +57 -3048
- data/lib/stripe/params/payment_link_create_params.rb +19 -19
- data/lib/stripe/params/payment_link_update_params.rb +9 -9
- data/lib/stripe/params/payment_method_attach_params.rb +1 -1
- data/lib/stripe/params/payment_method_configuration_create_params.rb +38 -143
- data/lib/stripe/params/payment_method_configuration_update_params.rb +38 -143
- data/lib/stripe/params/payment_method_create_params.rb +4 -81
- data/lib/stripe/params/payment_method_update_params.rb +2 -2
- data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +2 -2
- data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +3 -3
- data/lib/stripe/params/payment_record_report_payment_params.rb +4 -4
- data/lib/stripe/params/payment_record_report_refund_params.rb +3 -3
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/payout_reverse_params.rb +1 -1
- data/lib/stripe/params/payout_update_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +4 -4
- data/lib/stripe/params/plan_update_params.rb +2 -2
- data/lib/stripe/params/price_create_params.rb +6 -6
- data/lib/stripe/params/price_search_params.rb +1 -1
- data/lib/stripe/params/price_update_params.rb +3 -22
- data/lib/stripe/params/product_create_params.rb +7 -7
- data/lib/stripe/params/product_feature_create_params.rb +1 -1
- data/lib/stripe/params/product_list_params.rb +1 -1
- data/lib/stripe/params/product_search_params.rb +1 -1
- data/lib/stripe/params/product_update_params.rb +4 -4
- data/lib/stripe/params/promotion_code_create_params.rb +3 -3
- data/lib/stripe/params/promotion_code_list_params.rb +1 -1
- data/lib/stripe/params/promotion_code_update_params.rb +1 -1
- data/lib/stripe/params/quote_create_params.rb +7 -805
- data/lib/stripe/params/quote_list_params.rb +2 -6
- data/lib/stripe/params/quote_update_params.rb +8 -813
- data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
- data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
- data/lib/stripe/params/refund_create_params.rb +2 -2
- data/lib/stripe/params/refund_update_params.rb +1 -1
- data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
- data/lib/stripe/params/setup_intent_confirm_params.rb +9 -164
- data/lib/stripe/params/setup_intent_create_params.rb +15 -170
- data/lib/stripe/params/setup_intent_update_params.rb +11 -166
- data/lib/stripe/params/shipping_rate_create_params.rb +2 -2
- data/lib/stripe/params/shipping_rate_update_params.rb +1 -1
- data/lib/stripe/params/source_create_params.rb +3 -3
- data/lib/stripe/params/source_update_params.rb +3 -3
- data/lib/stripe/params/subscription_create_params.rb +39 -264
- data/lib/stripe/params/subscription_item_create_params.rb +12 -56
- data/lib/stripe/params/subscription_item_delete_params.rb +2 -2
- data/lib/stripe/params/subscription_item_update_params.rb +11 -39
- data/lib/stripe/params/subscription_list_params.rb +3 -3
- data/lib/stripe/params/subscription_resume_params.rb +2 -2
- data/lib/stripe/params/subscription_schedule_create_params.rb +20 -178
- data/lib/stripe/params/subscription_schedule_update_params.rb +20 -178
- data/lib/stripe/params/subscription_search_params.rb +1 -1
- data/lib/stripe/params/subscription_update_params.rb +36 -245
- data/lib/stripe/params/tax/association_find_params.rb +1 -1
- data/lib/stripe/params/tax/calculation_create_params.rb +7 -7
- data/lib/stripe/params/tax/settings_update_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
- data/lib/stripe/params/tax/transaction_create_reversal_params.rb +9 -9
- data/lib/stripe/params/tax_id_create_params.rb +2 -2
- data/lib/stripe/params/tax_id_list_params.rb +2 -2
- data/lib/stripe/params/tax_rate_create_params.rb +1 -1
- data/lib/stripe/params/tax_rate_update_params.rb +1 -1
- 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/terminal/location_create_params.rb +2 -2
- data/lib/stripe/params/terminal/location_update_params.rb +2 -2
- data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_refund_payment_params.rb +1 -1
- data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
- data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +6 -83
- data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +5 -5
- data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
- data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +2 -2
- data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +2 -26
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +2 -26
- data/lib/stripe/params/token_create_params.rb +22 -22
- data/lib/stripe/params/topup_create_params.rb +2 -2
- data/lib/stripe/params/topup_update_params.rb +1 -1
- data/lib/stripe/params/transfer_create_params.rb +3 -7
- data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
- data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
- data/lib/stripe/params/transfer_update_params.rb +1 -1
- data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
- data/lib/stripe/params/treasury/financial_account_create_params.rb +2 -9
- 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 +2 -9
- data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +2 -2
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +5 -5
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +3 -27
- data/lib/stripe/params/treasury/received_credit_create_params.rb +2 -26
- data/lib/stripe/params/treasury/received_debit_create_params.rb +2 -26
- data/lib/stripe/params/v2/core/account_create_params.rb +46 -271
- data/lib/stripe/params/v2/core/account_link_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/account_token_create_params.rb +31 -21
- data/lib/stripe/params/v2/core/account_update_params.rb +50 -268
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +5 -5
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +5 -5
- data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
- data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
- data/lib/stripe/params.rb +0 -146
- data/lib/stripe/resources/account.rb +27 -208
- data/lib/stripe/resources/account_link.rb +1 -1
- data/lib/stripe/resources/account_session.rb +2 -83
- data/lib/stripe/resources/application_fee_refund.rb +2 -2
- data/lib/stripe/resources/apps/secret.rb +1 -1
- data/lib/stripe/resources/balance.rb +2 -2
- data/lib/stripe/resources/balance_settings.rb +1 -1
- data/lib/stripe/resources/balance_transaction.rb +1 -1
- data/lib/stripe/resources/bank_account.rb +10 -10
- data/lib/stripe/resources/billing/alert.rb +1 -1
- data/lib/stripe/resources/billing/credit_grant.rb +2 -2
- data/lib/stripe/resources/billing/meter_event.rb +1 -1
- data/lib/stripe/resources/billing_portal/configuration.rb +5 -3
- data/lib/stripe/resources/billing_portal/session.rb +6 -6
- data/lib/stripe/resources/capability.rb +16 -16
- data/lib/stripe/resources/card.rb +2 -4
- data/lib/stripe/resources/cash_balance.rb +2 -2
- data/lib/stripe/resources/charge.rb +46 -248
- data/lib/stripe/resources/checkout/session.rb +23 -123
- data/lib/stripe/resources/climate/order.rb +1 -1
- data/lib/stripe/resources/confirmation_token.rb +11 -144
- data/lib/stripe/resources/coupon.rb +4 -29
- data/lib/stripe/resources/credit_note.rb +5 -5
- data/lib/stripe/resources/credit_note_line_item.rb +1 -19
- data/lib/stripe/resources/customer.rb +8 -8
- data/lib/stripe/resources/customer_balance_transaction.rb +6 -6
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +10 -10
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +3 -3
- data/lib/stripe/resources/dispute.rb +5 -27
- data/lib/stripe/resources/entitlements/active_entitlement.rb +1 -1
- data/lib/stripe/resources/event.rb +2 -65
- data/lib/stripe/resources/exchange_rate.rb +2 -2
- data/lib/stripe/resources/file.rb +4 -4
- data/lib/stripe/resources/file_link.rb +1 -1
- data/lib/stripe/resources/financial_connections/account.rb +3 -28
- data/lib/stripe/resources/financial_connections/session.rb +3 -67
- data/lib/stripe/resources/forwarding/request.rb +1 -1
- data/lib/stripe/resources/funding_instructions.rb +14 -14
- data/lib/stripe/resources/identity/verification_report.rb +9 -9
- data/lib/stripe/resources/identity/verification_session.rb +11 -11
- data/lib/stripe/resources/invoice.rb +49 -166
- data/lib/stripe/resources/invoice_item.rb +6 -8
- data/lib/stripe/resources/invoice_line_item.rb +6 -44
- data/lib/stripe/resources/invoice_payment.rb +1 -1
- data/lib/stripe/resources/invoice_rendering_template.rb +1 -1
- data/lib/stripe/resources/issuing/authorization.rb +20 -20
- data/lib/stripe/resources/issuing/card.rb +12 -12
- data/lib/stripe/resources/issuing/cardholder.rb +14 -14
- data/lib/stripe/resources/issuing/dispute.rb +7 -7
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/token.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +12 -14
- data/lib/stripe/resources/line_item.rb +4 -69
- data/lib/stripe/resources/login_link.rb +1 -1
- data/lib/stripe/resources/mandate.rb +0 -43
- data/lib/stripe/resources/payment_attempt_record.rb +79 -201
- data/lib/stripe/resources/payment_intent.rb +59 -751
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +3 -3
- data/lib/stripe/resources/payment_link.rb +7 -7
- data/lib/stripe/resources/payment_method.rb +13 -148
- data/lib/stripe/resources/payment_method_configuration.rb +4 -174
- data/lib/stripe/resources/payment_method_domain.rb +1 -1
- data/lib/stripe/resources/payment_record.rb +81 -201
- data/lib/stripe/resources/payout.rb +7 -7
- data/lib/stripe/resources/person.rb +23 -23
- data/lib/stripe/resources/plan.rb +5 -5
- data/lib/stripe/resources/price.rb +6 -26
- data/lib/stripe/resources/product.rb +9 -9
- data/lib/stripe/resources/promotion_code.rb +4 -4
- data/lib/stripe/resources/quote.rb +14 -581
- data/lib/stripe/resources/radar/early_fraud_warning.rb +1 -1
- data/lib/stripe/resources/radar/value_list.rb +2 -2
- data/lib/stripe/resources/radar/value_list_item.rb +1 -1
- data/lib/stripe/resources/refund.rb +3 -21
- data/lib/stripe/resources/reporting/report_run.rb +3 -3
- data/lib/stripe/resources/reporting/report_type.rb +3 -3
- data/lib/stripe/resources/reversal.rb +4 -4
- data/lib/stripe/resources/review.rb +1 -1
- data/lib/stripe/resources/setup_attempt.rb +17 -65
- data/lib/stripe/resources/setup_intent.rb +20 -107
- data/lib/stripe/resources/shipping_rate.rb +3 -3
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
- data/lib/stripe/resources/source.rb +8 -46
- data/lib/stripe/resources/source_mandate_notification.rb +3 -3
- data/lib/stripe/resources/subscription.rb +23 -221
- data/lib/stripe/resources/subscription_item.rb +8 -27
- data/lib/stripe/resources/subscription_schedule.rb +11 -204
- data/lib/stripe/resources/tax/association.rb +3 -3
- data/lib/stripe/resources/tax/calculation.rb +12 -12
- data/lib/stripe/resources/tax/calculation_line_item.rb +7 -7
- data/lib/stripe/resources/tax/registration.rb +3 -3
- data/lib/stripe/resources/tax/settings.rb +2 -2
- data/lib/stripe/resources/tax/transaction.rb +9 -9
- data/lib/stripe/resources/tax/transaction_line_item.rb +5 -5
- data/lib/stripe/resources/tax_id.rb +4 -4
- data/lib/stripe/resources/tax_rate.rb +1 -1
- data/lib/stripe/resources/terminal/configuration.rb +0 -16
- data/lib/stripe/resources/terminal/connection_token.rb +1 -1
- data/lib/stripe/resources/terminal/location.rb +3 -3
- data/lib/stripe/resources/terminal/reader.rb +10 -18
- data/lib/stripe/resources/token.rb +4 -4
- data/lib/stripe/resources/topup.rb +3 -3
- data/lib/stripe/resources/transfer.rb +5 -7
- data/lib/stripe/resources/treasury/credit_reversal.rb +3 -3
- data/lib/stripe/resources/treasury/debit_reversal.rb +3 -3
- data/lib/stripe/resources/treasury/financial_account.rb +1 -3
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/inbound_transfer.rb +5 -5
- data/lib/stripe/resources/treasury/outbound_payment.rb +6 -6
- data/lib/stripe/resources/treasury/outbound_transfer.rb +5 -35
- data/lib/stripe/resources/treasury/received_credit.rb +10 -40
- data/lib/stripe/resources/treasury/received_debit.rb +7 -39
- data/lib/stripe/resources/treasury/transaction.rb +11 -11
- data/lib/stripe/resources/treasury/transaction_entry.rb +11 -11
- data/lib/stripe/resources/v2/core/account.rb +133 -789
- data/lib/stripe/resources/v2/core/account_link.rb +11 -11
- data/lib/stripe/resources/v2/core/account_person.rb +10 -10
- data/lib/stripe/resources/webhook_endpoint.rb +1 -1
- data/lib/stripe/resources.rb +0 -100
- 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 -37
- data/lib/stripe/services/payment_method_service.rb +1 -1
- 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/v1_services.rb +1 -8
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core/account_link_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_service.rb +0 -4
- data/lib/stripe/services/v2/core/accounts/person_service.rb +2 -2
- data/lib/stripe/services/v2/core_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +1 -3
- data/lib/stripe/services.rb +0 -51
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +31 -2
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -53
- data/rbi/stripe.rbi +17422 -76304
- metadata +4 -301
- 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_core_health_event_generation_failure_resolved_event.rb +0 -78
- 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 -61
- data/lib/stripe/events/v2_money_management_transaction_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 -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 -2061
- 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 -2065
- 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/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/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/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 -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/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/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/form.rb +0 -264
- 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/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 -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/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/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/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/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/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/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
|
@@ -42,7 +42,7 @@ module Stripe
|
|
|
42
42
|
|
|
43
43
|
class AccountUpdate < ::Stripe::RequestParams
|
|
44
44
|
class CollectionOptions < ::Stripe::RequestParams
|
|
45
|
-
# Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`).
|
|
45
|
+
# Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). The default value is `currently_due`.
|
|
46
46
|
attr_accessor :fields
|
|
47
47
|
# Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`.
|
|
48
48
|
attr_accessor :future_requirements
|
|
@@ -56,7 +56,7 @@ module Stripe
|
|
|
56
56
|
attr_accessor :collection_options
|
|
57
57
|
# Open Enum. A v2/account can be configured to enable certain functionality. The configuration param targets the v2/account_link to collect information for the specified v2/account configuration/s.
|
|
58
58
|
attr_accessor :configurations
|
|
59
|
-
# The URL the user will be redirected to if the
|
|
59
|
+
# The URL the user will be redirected to if the Account Link is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new Account Link with the same parameters used to create the original Account Link, then redirect the user to the new Account Link URL so they can continue the flow. Make sure to authenticate the user before redirecting to the new Account Link, in case the URL leaks to a third party. If a new Account Link can't be generated, or if the redirect fails, you should display a useful error to the user.
|
|
60
60
|
attr_accessor :refresh_url
|
|
61
61
|
# The URL that the user will be redirected to upon completing the linked flow.
|
|
62
62
|
attr_accessor :return_url
|
|
@@ -73,11 +73,11 @@ module Stripe
|
|
|
73
73
|
@return_url = return_url
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
|
-
# Open Enum. The type of
|
|
76
|
+
# Open Enum. The type of Account Link the user is requesting.
|
|
77
77
|
attr_accessor :type
|
|
78
|
-
#
|
|
78
|
+
# Hash containing configuration options for an Account Link object that onboards a new account.
|
|
79
79
|
attr_accessor :account_onboarding
|
|
80
|
-
#
|
|
80
|
+
# Hash containing configuration options for an Account Link that updates an existing account.
|
|
81
81
|
attr_accessor :account_update
|
|
82
82
|
|
|
83
83
|
def initialize(type: nil, account_onboarding: nil, account_update: nil)
|
|
@@ -66,23 +66,11 @@ module Stripe
|
|
|
66
66
|
@shown_and_accepted = shown_and_accepted
|
|
67
67
|
end
|
|
68
68
|
end
|
|
69
|
-
|
|
70
|
-
class Storer < ::Stripe::RequestParams
|
|
71
|
-
# The boolean value indicating if the terms of service have been accepted.
|
|
72
|
-
attr_accessor :shown_and_accepted
|
|
73
|
-
|
|
74
|
-
def initialize(shown_and_accepted: nil)
|
|
75
|
-
@shown_and_accepted = shown_and_accepted
|
|
76
|
-
end
|
|
77
|
-
end
|
|
78
69
|
# Details on the Account's acceptance of the [Stripe Services Agreement]; IP, date, and User Agent are expanded by Stripe.
|
|
79
70
|
attr_accessor :account
|
|
80
|
-
# Details on the Account's acceptance of Treasury-specific terms of service; IP, date, and User Agent are expanded by Stripe.
|
|
81
|
-
attr_accessor :storer
|
|
82
71
|
|
|
83
|
-
def initialize(account: nil
|
|
72
|
+
def initialize(account: nil)
|
|
84
73
|
@account = account
|
|
85
|
-
@storer = storer
|
|
86
74
|
end
|
|
87
75
|
end
|
|
88
76
|
# This hash is used to attest that the directors information provided to Stripe is both current and correct; IP, date, and User Agent are expanded by Stripe.
|
|
@@ -125,7 +113,7 @@ module Stripe
|
|
|
125
113
|
attr_accessor :postal_code
|
|
126
114
|
# State, county, province, or region.
|
|
127
115
|
attr_accessor :state
|
|
128
|
-
# Town or
|
|
116
|
+
# Town or district.
|
|
129
117
|
attr_accessor :town
|
|
130
118
|
|
|
131
119
|
def initialize(
|
|
@@ -148,6 +136,17 @@ module Stripe
|
|
|
148
136
|
end
|
|
149
137
|
|
|
150
138
|
class AnnualRevenue < ::Stripe::RequestParams
|
|
139
|
+
class Amount < ::Stripe::RequestParams
|
|
140
|
+
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
141
|
+
attr_accessor :value
|
|
142
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
143
|
+
attr_accessor :currency
|
|
144
|
+
|
|
145
|
+
def initialize(value: nil, currency: nil)
|
|
146
|
+
@value = value
|
|
147
|
+
@currency = currency
|
|
148
|
+
end
|
|
149
|
+
end
|
|
151
150
|
# A non-negative integer representing the amount in the smallest currency unit.
|
|
152
151
|
attr_accessor :amount
|
|
153
152
|
# The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
|
@@ -352,6 +351,17 @@ module Stripe
|
|
|
352
351
|
end
|
|
353
352
|
|
|
354
353
|
class MonthlyEstimatedRevenue < ::Stripe::RequestParams
|
|
354
|
+
class Amount < ::Stripe::RequestParams
|
|
355
|
+
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
356
|
+
attr_accessor :value
|
|
357
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
358
|
+
attr_accessor :currency
|
|
359
|
+
|
|
360
|
+
def initialize(value: nil, currency: nil)
|
|
361
|
+
@value = value
|
|
362
|
+
@currency = currency
|
|
363
|
+
end
|
|
364
|
+
end
|
|
355
365
|
# A non-negative integer representing the amount in the smallest currency unit.
|
|
356
366
|
attr_accessor :amount
|
|
357
367
|
|
|
@@ -374,7 +384,7 @@ module Stripe
|
|
|
374
384
|
attr_accessor :postal_code
|
|
375
385
|
# State, county, province, or region.
|
|
376
386
|
attr_accessor :state
|
|
377
|
-
# Town or
|
|
387
|
+
# Town or district.
|
|
378
388
|
attr_accessor :town
|
|
379
389
|
|
|
380
390
|
def initialize(
|
|
@@ -409,7 +419,7 @@ module Stripe
|
|
|
409
419
|
attr_accessor :postal_code
|
|
410
420
|
# State, county, province, or region.
|
|
411
421
|
attr_accessor :state
|
|
412
|
-
# Town or
|
|
422
|
+
# Town or district.
|
|
413
423
|
attr_accessor :town
|
|
414
424
|
|
|
415
425
|
def initialize(
|
|
@@ -475,7 +485,7 @@ module Stripe
|
|
|
475
485
|
attr_accessor :annual_revenue
|
|
476
486
|
# A document verifying the business.
|
|
477
487
|
attr_accessor :documents
|
|
478
|
-
#
|
|
488
|
+
# Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
|
|
479
489
|
attr_accessor :estimated_worker_count
|
|
480
490
|
# The ID numbers of a business entity.
|
|
481
491
|
attr_accessor :id_numbers
|
|
@@ -535,7 +545,7 @@ module Stripe
|
|
|
535
545
|
attr_accessor :purpose
|
|
536
546
|
# State, county, province, or region.
|
|
537
547
|
attr_accessor :state
|
|
538
|
-
# Town or
|
|
548
|
+
# Town or district.
|
|
539
549
|
attr_accessor :town
|
|
540
550
|
|
|
541
551
|
def initialize(
|
|
@@ -590,7 +600,7 @@ module Stripe
|
|
|
590
600
|
attr_accessor :postal_code
|
|
591
601
|
# State, county, province, or region.
|
|
592
602
|
attr_accessor :state
|
|
593
|
-
# Town or
|
|
603
|
+
# Town or district.
|
|
594
604
|
attr_accessor :town
|
|
595
605
|
|
|
596
606
|
def initialize(
|
|
@@ -788,7 +798,7 @@ module Stripe
|
|
|
788
798
|
attr_accessor :postal_code
|
|
789
799
|
# State, county, province, or region.
|
|
790
800
|
attr_accessor :state
|
|
791
|
-
# Town or
|
|
801
|
+
# Town or district.
|
|
792
802
|
attr_accessor :town
|
|
793
803
|
|
|
794
804
|
def initialize(
|
|
@@ -823,7 +833,7 @@ module Stripe
|
|
|
823
833
|
attr_accessor :postal_code
|
|
824
834
|
# State, county, province, or region.
|
|
825
835
|
attr_accessor :state
|
|
826
|
-
# Town or
|
|
836
|
+
# Town or district.
|
|
827
837
|
attr_accessor :town
|
|
828
838
|
|
|
829
839
|
def initialize(
|
|
@@ -8,24 +8,16 @@ module Stripe
|
|
|
8
8
|
class Configuration < ::Stripe::RequestParams
|
|
9
9
|
class Customer < ::Stripe::RequestParams
|
|
10
10
|
class AutomaticIndirectTax < ::Stripe::RequestParams
|
|
11
|
-
#
|
|
11
|
+
# The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include "Reverse charge".
|
|
12
12
|
attr_accessor :exempt
|
|
13
13
|
# A recent IP address of the customer used for tax reporting and tax location inference.
|
|
14
14
|
attr_accessor :ip_address
|
|
15
|
-
#
|
|
16
|
-
attr_accessor :location_source
|
|
17
|
-
# A per-request flag that indicates when Stripe should validate the customer tax location - defaults to 'auto'.
|
|
15
|
+
# A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.
|
|
18
16
|
attr_accessor :validate_location
|
|
19
17
|
|
|
20
|
-
def initialize(
|
|
21
|
-
exempt: nil,
|
|
22
|
-
ip_address: nil,
|
|
23
|
-
location_source: nil,
|
|
24
|
-
validate_location: nil
|
|
25
|
-
)
|
|
18
|
+
def initialize(exempt: nil, ip_address: nil, validate_location: nil)
|
|
26
19
|
@exempt = exempt
|
|
27
20
|
@ip_address = ip_address
|
|
28
|
-
@location_source = location_source
|
|
29
21
|
@validate_location = validate_location
|
|
30
22
|
end
|
|
31
23
|
end
|
|
@@ -45,7 +37,7 @@ module Stripe
|
|
|
45
37
|
end
|
|
46
38
|
|
|
47
39
|
class Rendering < ::Stripe::RequestParams
|
|
48
|
-
#
|
|
40
|
+
# Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`.
|
|
49
41
|
attr_accessor :amount_tax_display
|
|
50
42
|
# ID of the invoice rendering template to use for future invoices.
|
|
51
43
|
attr_accessor :template
|
|
@@ -57,13 +49,13 @@ module Stripe
|
|
|
57
49
|
end
|
|
58
50
|
# The list of up to 4 default custom fields to be displayed on invoices for this customer.
|
|
59
51
|
attr_accessor :custom_fields
|
|
60
|
-
# Default footer
|
|
52
|
+
# Default invoice footer.
|
|
61
53
|
attr_accessor :footer
|
|
62
|
-
#
|
|
54
|
+
# Sequence number to use on the customer account's next invoice. Defaults to 1.
|
|
63
55
|
attr_accessor :next_sequence
|
|
64
|
-
#
|
|
56
|
+
# Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers.
|
|
65
57
|
attr_accessor :prefix
|
|
66
|
-
# Default
|
|
58
|
+
# Default invoice PDF rendering options.
|
|
67
59
|
attr_accessor :rendering
|
|
68
60
|
|
|
69
61
|
def initialize(
|
|
@@ -80,9 +72,9 @@ module Stripe
|
|
|
80
72
|
@rendering = rendering
|
|
81
73
|
end
|
|
82
74
|
end
|
|
83
|
-
# ID of a
|
|
75
|
+
# ID of a PaymentMethod attached to the customer account to use as the default for invoices and subscriptions.
|
|
84
76
|
attr_accessor :default_payment_method
|
|
85
|
-
# Default settings
|
|
77
|
+
# Default invoice settings for the customer account.
|
|
86
78
|
attr_accessor :invoice
|
|
87
79
|
|
|
88
80
|
def initialize(default_payment_method: nil, invoice: nil)
|
|
@@ -184,7 +176,7 @@ module Stripe
|
|
|
184
176
|
|
|
185
177
|
class Merchant < ::Stripe::RequestParams
|
|
186
178
|
class BacsDebitPayments < ::Stripe::RequestParams
|
|
187
|
-
# Display name for Bacs
|
|
179
|
+
# Display name for Bacs Direct Debit payments.
|
|
188
180
|
attr_accessor :display_name
|
|
189
181
|
|
|
190
182
|
def initialize(display_name: nil)
|
|
@@ -903,7 +895,7 @@ module Stripe
|
|
|
903
895
|
attr_accessor :postal_code
|
|
904
896
|
# State, county, province, or region.
|
|
905
897
|
attr_accessor :state
|
|
906
|
-
# Town or
|
|
898
|
+
# Town or district.
|
|
907
899
|
attr_accessor :town
|
|
908
900
|
|
|
909
901
|
def initialize(
|
|
@@ -942,7 +934,7 @@ module Stripe
|
|
|
942
934
|
end
|
|
943
935
|
# Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
944
936
|
attr_accessor :applied
|
|
945
|
-
# Settings
|
|
937
|
+
# Settings for Bacs Direct Debit payments.
|
|
946
938
|
attr_accessor :bacs_debit_payments
|
|
947
939
|
# Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products.
|
|
948
940
|
attr_accessor :branding
|
|
@@ -952,11 +944,11 @@ module Stripe
|
|
|
952
944
|
attr_accessor :card_payments
|
|
953
945
|
# Settings specific to Konbini payments on the account.
|
|
954
946
|
attr_accessor :konbini_payments
|
|
955
|
-
# The
|
|
947
|
+
# The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide.
|
|
956
948
|
attr_accessor :mcc
|
|
957
949
|
# Settings for the default text that appears on statements for language variations.
|
|
958
950
|
attr_accessor :script_statement_descriptor
|
|
959
|
-
#
|
|
951
|
+
# Settings for the default [statement descriptor](/connect/statement-descriptors) text.
|
|
960
952
|
attr_accessor :statement_descriptor
|
|
961
953
|
# Publicly available contact information for sending support issues to.
|
|
962
954
|
attr_accessor :support
|
|
@@ -988,44 +980,6 @@ module Stripe
|
|
|
988
980
|
|
|
989
981
|
class Recipient < ::Stripe::RequestParams
|
|
990
982
|
class Capabilities < ::Stripe::RequestParams
|
|
991
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
992
|
-
class Local < ::Stripe::RequestParams
|
|
993
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
994
|
-
attr_accessor :requested
|
|
995
|
-
|
|
996
|
-
def initialize(requested: nil)
|
|
997
|
-
@requested = requested
|
|
998
|
-
end
|
|
999
|
-
end
|
|
1000
|
-
|
|
1001
|
-
class Wire < ::Stripe::RequestParams
|
|
1002
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1003
|
-
attr_accessor :requested
|
|
1004
|
-
|
|
1005
|
-
def initialize(requested: nil)
|
|
1006
|
-
@requested = requested
|
|
1007
|
-
end
|
|
1008
|
-
end
|
|
1009
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
1010
|
-
attr_accessor :local
|
|
1011
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
1012
|
-
attr_accessor :wire
|
|
1013
|
-
|
|
1014
|
-
def initialize(local: nil, wire: nil)
|
|
1015
|
-
@local = local
|
|
1016
|
-
@wire = wire
|
|
1017
|
-
end
|
|
1018
|
-
end
|
|
1019
|
-
|
|
1020
|
-
class Cards < ::Stripe::RequestParams
|
|
1021
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1022
|
-
attr_accessor :requested
|
|
1023
|
-
|
|
1024
|
-
def initialize(requested: nil)
|
|
1025
|
-
@requested = requested
|
|
1026
|
-
end
|
|
1027
|
-
end
|
|
1028
|
-
|
|
1029
983
|
class StripeBalance < ::Stripe::RequestParams
|
|
1030
984
|
class StripeTransfers < ::Stripe::RequestParams
|
|
1031
985
|
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
@@ -1035,23 +989,17 @@ module Stripe
|
|
|
1035
989
|
@requested = requested
|
|
1036
990
|
end
|
|
1037
991
|
end
|
|
1038
|
-
#
|
|
992
|
+
# Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
1039
993
|
attr_accessor :stripe_transfers
|
|
1040
994
|
|
|
1041
995
|
def initialize(stripe_transfers: nil)
|
|
1042
996
|
@stripe_transfers = stripe_transfers
|
|
1043
997
|
end
|
|
1044
998
|
end
|
|
1045
|
-
# Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
1046
|
-
attr_accessor :bank_accounts
|
|
1047
|
-
# Capability that enable OutboundPayments to a debit card linked to this Account.
|
|
1048
|
-
attr_accessor :cards
|
|
1049
999
|
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
1050
1000
|
attr_accessor :stripe_balance
|
|
1051
1001
|
|
|
1052
|
-
def initialize(
|
|
1053
|
-
@bank_accounts = bank_accounts
|
|
1054
|
-
@cards = cards
|
|
1002
|
+
def initialize(stripe_balance: nil)
|
|
1055
1003
|
@stripe_balance = stripe_balance
|
|
1056
1004
|
end
|
|
1057
1005
|
end
|
|
@@ -1059,191 +1007,6 @@ module Stripe
|
|
|
1059
1007
|
attr_accessor :applied
|
|
1060
1008
|
# Capabilities to request on the Recipient Configuration.
|
|
1061
1009
|
attr_accessor :capabilities
|
|
1062
|
-
# The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details).
|
|
1063
|
-
attr_accessor :default_outbound_destination
|
|
1064
|
-
|
|
1065
|
-
def initialize(applied: nil, capabilities: nil, default_outbound_destination: nil)
|
|
1066
|
-
@applied = applied
|
|
1067
|
-
@capabilities = capabilities
|
|
1068
|
-
@default_outbound_destination = default_outbound_destination
|
|
1069
|
-
end
|
|
1070
|
-
end
|
|
1071
|
-
|
|
1072
|
-
class Storer < ::Stripe::RequestParams
|
|
1073
|
-
class Capabilities < ::Stripe::RequestParams
|
|
1074
|
-
class FinancialAddresses < ::Stripe::RequestParams
|
|
1075
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1076
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1077
|
-
attr_accessor :requested
|
|
1078
|
-
|
|
1079
|
-
def initialize(requested: nil)
|
|
1080
|
-
@requested = requested
|
|
1081
|
-
end
|
|
1082
|
-
end
|
|
1083
|
-
# Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
1084
|
-
attr_accessor :bank_accounts
|
|
1085
|
-
|
|
1086
|
-
def initialize(bank_accounts: nil)
|
|
1087
|
-
@bank_accounts = bank_accounts
|
|
1088
|
-
end
|
|
1089
|
-
end
|
|
1090
|
-
|
|
1091
|
-
class HoldsCurrencies < ::Stripe::RequestParams
|
|
1092
|
-
class Eur < ::Stripe::RequestParams
|
|
1093
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1094
|
-
attr_accessor :requested
|
|
1095
|
-
|
|
1096
|
-
def initialize(requested: nil)
|
|
1097
|
-
@requested = requested
|
|
1098
|
-
end
|
|
1099
|
-
end
|
|
1100
|
-
|
|
1101
|
-
class Gbp < ::Stripe::RequestParams
|
|
1102
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1103
|
-
attr_accessor :requested
|
|
1104
|
-
|
|
1105
|
-
def initialize(requested: nil)
|
|
1106
|
-
@requested = requested
|
|
1107
|
-
end
|
|
1108
|
-
end
|
|
1109
|
-
|
|
1110
|
-
class Usd < ::Stripe::RequestParams
|
|
1111
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1112
|
-
attr_accessor :requested
|
|
1113
|
-
|
|
1114
|
-
def initialize(requested: nil)
|
|
1115
|
-
@requested = requested
|
|
1116
|
-
end
|
|
1117
|
-
end
|
|
1118
|
-
# Can hold storage-type funds on Stripe in EUR.
|
|
1119
|
-
attr_accessor :eur
|
|
1120
|
-
# Can hold storage-type funds on Stripe in GBP.
|
|
1121
|
-
attr_accessor :gbp
|
|
1122
|
-
# Can hold storage-type funds on Stripe in USD.
|
|
1123
|
-
attr_accessor :usd
|
|
1124
|
-
|
|
1125
|
-
def initialize(eur: nil, gbp: nil, usd: nil)
|
|
1126
|
-
@eur = eur
|
|
1127
|
-
@gbp = gbp
|
|
1128
|
-
@usd = usd
|
|
1129
|
-
end
|
|
1130
|
-
end
|
|
1131
|
-
|
|
1132
|
-
class InboundTransfers < ::Stripe::RequestParams
|
|
1133
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1134
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1135
|
-
attr_accessor :requested
|
|
1136
|
-
|
|
1137
|
-
def initialize(requested: nil)
|
|
1138
|
-
@requested = requested
|
|
1139
|
-
end
|
|
1140
|
-
end
|
|
1141
|
-
# Can pull funds from an external bank account owned by yourself to a FinancialAccount.
|
|
1142
|
-
attr_accessor :bank_accounts
|
|
1143
|
-
|
|
1144
|
-
def initialize(bank_accounts: nil)
|
|
1145
|
-
@bank_accounts = bank_accounts
|
|
1146
|
-
end
|
|
1147
|
-
end
|
|
1148
|
-
|
|
1149
|
-
class OutboundPayments < ::Stripe::RequestParams
|
|
1150
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1151
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1152
|
-
attr_accessor :requested
|
|
1153
|
-
|
|
1154
|
-
def initialize(requested: nil)
|
|
1155
|
-
@requested = requested
|
|
1156
|
-
end
|
|
1157
|
-
end
|
|
1158
|
-
|
|
1159
|
-
class Cards < ::Stripe::RequestParams
|
|
1160
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1161
|
-
attr_accessor :requested
|
|
1162
|
-
|
|
1163
|
-
def initialize(requested: nil)
|
|
1164
|
-
@requested = requested
|
|
1165
|
-
end
|
|
1166
|
-
end
|
|
1167
|
-
|
|
1168
|
-
class FinancialAccounts < ::Stripe::RequestParams
|
|
1169
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1170
|
-
attr_accessor :requested
|
|
1171
|
-
|
|
1172
|
-
def initialize(requested: nil)
|
|
1173
|
-
@requested = requested
|
|
1174
|
-
end
|
|
1175
|
-
end
|
|
1176
|
-
# Can send funds from a FinancialAccount to a bank account owned by someone else.
|
|
1177
|
-
attr_accessor :bank_accounts
|
|
1178
|
-
# Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
1179
|
-
attr_accessor :cards
|
|
1180
|
-
# Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
1181
|
-
attr_accessor :financial_accounts
|
|
1182
|
-
|
|
1183
|
-
def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil)
|
|
1184
|
-
@bank_accounts = bank_accounts
|
|
1185
|
-
@cards = cards
|
|
1186
|
-
@financial_accounts = financial_accounts
|
|
1187
|
-
end
|
|
1188
|
-
end
|
|
1189
|
-
|
|
1190
|
-
class OutboundTransfers < ::Stripe::RequestParams
|
|
1191
|
-
class BankAccounts < ::Stripe::RequestParams
|
|
1192
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1193
|
-
attr_accessor :requested
|
|
1194
|
-
|
|
1195
|
-
def initialize(requested: nil)
|
|
1196
|
-
@requested = requested
|
|
1197
|
-
end
|
|
1198
|
-
end
|
|
1199
|
-
|
|
1200
|
-
class FinancialAccounts < ::Stripe::RequestParams
|
|
1201
|
-
# To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1202
|
-
attr_accessor :requested
|
|
1203
|
-
|
|
1204
|
-
def initialize(requested: nil)
|
|
1205
|
-
@requested = requested
|
|
1206
|
-
end
|
|
1207
|
-
end
|
|
1208
|
-
# Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
1209
|
-
attr_accessor :bank_accounts
|
|
1210
|
-
# Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
|
|
1211
|
-
attr_accessor :financial_accounts
|
|
1212
|
-
|
|
1213
|
-
def initialize(bank_accounts: nil, financial_accounts: nil)
|
|
1214
|
-
@bank_accounts = bank_accounts
|
|
1215
|
-
@financial_accounts = financial_accounts
|
|
1216
|
-
end
|
|
1217
|
-
end
|
|
1218
|
-
# Can provision a financial address to credit/debit a FinancialAccount.
|
|
1219
|
-
attr_accessor :financial_addresses
|
|
1220
|
-
# Can hold storage-type funds on Stripe.
|
|
1221
|
-
attr_accessor :holds_currencies
|
|
1222
|
-
# Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
1223
|
-
attr_accessor :inbound_transfers
|
|
1224
|
-
# Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
1225
|
-
attr_accessor :outbound_payments
|
|
1226
|
-
# Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
1227
|
-
attr_accessor :outbound_transfers
|
|
1228
|
-
|
|
1229
|
-
def initialize(
|
|
1230
|
-
financial_addresses: nil,
|
|
1231
|
-
holds_currencies: nil,
|
|
1232
|
-
inbound_transfers: nil,
|
|
1233
|
-
outbound_payments: nil,
|
|
1234
|
-
outbound_transfers: nil
|
|
1235
|
-
)
|
|
1236
|
-
@financial_addresses = financial_addresses
|
|
1237
|
-
@holds_currencies = holds_currencies
|
|
1238
|
-
@inbound_transfers = inbound_transfers
|
|
1239
|
-
@outbound_payments = outbound_payments
|
|
1240
|
-
@outbound_transfers = outbound_transfers
|
|
1241
|
-
end
|
|
1242
|
-
end
|
|
1243
|
-
# Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
1244
|
-
attr_accessor :applied
|
|
1245
|
-
# Capabilities to request on the Storer Configuration.
|
|
1246
|
-
attr_accessor :capabilities
|
|
1247
1010
|
|
|
1248
1011
|
def initialize(applied: nil, capabilities: nil)
|
|
1249
1012
|
@applied = applied
|
|
@@ -1252,18 +1015,15 @@ module Stripe
|
|
|
1252
1015
|
end
|
|
1253
1016
|
# The Customer Configuration allows the Account to be charged.
|
|
1254
1017
|
attr_accessor :customer
|
|
1255
|
-
#
|
|
1018
|
+
# Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set.
|
|
1256
1019
|
attr_accessor :merchant
|
|
1257
|
-
# The Recipient Configuration allows the Account to receive funds.
|
|
1020
|
+
# The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
|
|
1258
1021
|
attr_accessor :recipient
|
|
1259
|
-
# The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
1260
|
-
attr_accessor :storer
|
|
1261
1022
|
|
|
1262
|
-
def initialize(customer: nil, merchant: nil, recipient: nil
|
|
1023
|
+
def initialize(customer: nil, merchant: nil, recipient: nil)
|
|
1263
1024
|
@customer = customer
|
|
1264
1025
|
@merchant = merchant
|
|
1265
1026
|
@recipient = recipient
|
|
1266
|
-
@storer = storer
|
|
1267
1027
|
end
|
|
1268
1028
|
end
|
|
1269
1029
|
|
|
@@ -1479,7 +1239,7 @@ module Stripe
|
|
|
1479
1239
|
attr_accessor :postal_code
|
|
1480
1240
|
# State, county, province, or region.
|
|
1481
1241
|
attr_accessor :state
|
|
1482
|
-
# Town or
|
|
1242
|
+
# Town or district.
|
|
1483
1243
|
attr_accessor :town
|
|
1484
1244
|
|
|
1485
1245
|
def initialize(
|
|
@@ -1502,6 +1262,17 @@ module Stripe
|
|
|
1502
1262
|
end
|
|
1503
1263
|
|
|
1504
1264
|
class AnnualRevenue < ::Stripe::RequestParams
|
|
1265
|
+
class Amount < ::Stripe::RequestParams
|
|
1266
|
+
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
1267
|
+
attr_accessor :value
|
|
1268
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
1269
|
+
attr_accessor :currency
|
|
1270
|
+
|
|
1271
|
+
def initialize(value: nil, currency: nil)
|
|
1272
|
+
@value = value
|
|
1273
|
+
@currency = currency
|
|
1274
|
+
end
|
|
1275
|
+
end
|
|
1505
1276
|
# A non-negative integer representing the amount in the smallest currency unit.
|
|
1506
1277
|
attr_accessor :amount
|
|
1507
1278
|
# The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
|
@@ -1706,6 +1477,17 @@ module Stripe
|
|
|
1706
1477
|
end
|
|
1707
1478
|
|
|
1708
1479
|
class MonthlyEstimatedRevenue < ::Stripe::RequestParams
|
|
1480
|
+
class Amount < ::Stripe::RequestParams
|
|
1481
|
+
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
1482
|
+
attr_accessor :value
|
|
1483
|
+
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
1484
|
+
attr_accessor :currency
|
|
1485
|
+
|
|
1486
|
+
def initialize(value: nil, currency: nil)
|
|
1487
|
+
@value = value
|
|
1488
|
+
@currency = currency
|
|
1489
|
+
end
|
|
1490
|
+
end
|
|
1709
1491
|
# A non-negative integer representing the amount in the smallest currency unit.
|
|
1710
1492
|
attr_accessor :amount
|
|
1711
1493
|
|
|
@@ -1728,7 +1510,7 @@ module Stripe
|
|
|
1728
1510
|
attr_accessor :postal_code
|
|
1729
1511
|
# State, county, province, or region.
|
|
1730
1512
|
attr_accessor :state
|
|
1731
|
-
# Town or
|
|
1513
|
+
# Town or district.
|
|
1732
1514
|
attr_accessor :town
|
|
1733
1515
|
|
|
1734
1516
|
def initialize(
|
|
@@ -1763,7 +1545,7 @@ module Stripe
|
|
|
1763
1545
|
attr_accessor :postal_code
|
|
1764
1546
|
# State, county, province, or region.
|
|
1765
1547
|
attr_accessor :state
|
|
1766
|
-
# Town or
|
|
1548
|
+
# Town or district.
|
|
1767
1549
|
attr_accessor :town
|
|
1768
1550
|
|
|
1769
1551
|
def initialize(
|
|
@@ -1829,7 +1611,7 @@ module Stripe
|
|
|
1829
1611
|
attr_accessor :annual_revenue
|
|
1830
1612
|
# A document verifying the business.
|
|
1831
1613
|
attr_accessor :documents
|
|
1832
|
-
#
|
|
1614
|
+
# Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
|
|
1833
1615
|
attr_accessor :estimated_worker_count
|
|
1834
1616
|
# The ID numbers of a business entity.
|
|
1835
1617
|
attr_accessor :id_numbers
|
|
@@ -1889,7 +1671,7 @@ module Stripe
|
|
|
1889
1671
|
attr_accessor :purpose
|
|
1890
1672
|
# State, county, province, or region.
|
|
1891
1673
|
attr_accessor :state
|
|
1892
|
-
# Town or
|
|
1674
|
+
# Town or district.
|
|
1893
1675
|
attr_accessor :town
|
|
1894
1676
|
|
|
1895
1677
|
def initialize(
|
|
@@ -1944,7 +1726,7 @@ module Stripe
|
|
|
1944
1726
|
attr_accessor :postal_code
|
|
1945
1727
|
# State, county, province, or region.
|
|
1946
1728
|
attr_accessor :state
|
|
1947
|
-
# Town or
|
|
1729
|
+
# Town or district.
|
|
1948
1730
|
attr_accessor :town
|
|
1949
1731
|
|
|
1950
1732
|
def initialize(
|
|
@@ -2142,7 +1924,7 @@ module Stripe
|
|
|
2142
1924
|
attr_accessor :postal_code
|
|
2143
1925
|
# State, county, province, or region.
|
|
2144
1926
|
attr_accessor :state
|
|
2145
|
-
# Town or
|
|
1927
|
+
# Town or district.
|
|
2146
1928
|
attr_accessor :town
|
|
2147
1929
|
|
|
2148
1930
|
def initialize(
|
|
@@ -2177,7 +1959,7 @@ module Stripe
|
|
|
2177
1959
|
attr_accessor :postal_code
|
|
2178
1960
|
# State, county, province, or region.
|
|
2179
1961
|
attr_accessor :state
|
|
2180
|
-
# Town or
|
|
1962
|
+
# Town or district.
|
|
2181
1963
|
attr_accessor :town
|
|
2182
1964
|
|
|
2183
1965
|
def initialize(
|