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
|
@@ -77,7 +77,7 @@ module Stripe
|
|
|
77
77
|
attr_accessor :line2
|
|
78
78
|
# ZIP or postal code.
|
|
79
79
|
attr_accessor :postal_code
|
|
80
|
-
# State, county, province, or region.
|
|
80
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
81
81
|
attr_accessor :state
|
|
82
82
|
|
|
83
83
|
def initialize(
|
|
@@ -110,8 +110,6 @@ module Stripe
|
|
|
110
110
|
attr_accessor :name
|
|
111
111
|
# Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
|
|
112
112
|
attr_accessor :product_description
|
|
113
|
-
# A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Used by the Checkout product and for Japanese payment methods.
|
|
114
|
-
attr_accessor :specified_commercial_transactions_act_url
|
|
115
113
|
# A publicly available mailing address for sending support issues to.
|
|
116
114
|
attr_accessor :support_address
|
|
117
115
|
# A publicly available email address for sending support issues to.
|
|
@@ -131,7 +129,6 @@ module Stripe
|
|
|
131
129
|
monthly_estimated_revenue: nil,
|
|
132
130
|
name: nil,
|
|
133
131
|
product_description: nil,
|
|
134
|
-
specified_commercial_transactions_act_url: nil,
|
|
135
132
|
support_address: nil,
|
|
136
133
|
support_email: nil,
|
|
137
134
|
support_phone: nil,
|
|
@@ -145,7 +142,6 @@ module Stripe
|
|
|
145
142
|
@monthly_estimated_revenue = monthly_estimated_revenue
|
|
146
143
|
@name = name
|
|
147
144
|
@product_description = product_description
|
|
148
|
-
@specified_commercial_transactions_act_url = specified_commercial_transactions_act_url
|
|
149
145
|
@support_address = support_address
|
|
150
146
|
@support_email = support_email
|
|
151
147
|
@support_phone = support_phone
|
|
@@ -209,15 +205,6 @@ module Stripe
|
|
|
209
205
|
end
|
|
210
206
|
end
|
|
211
207
|
|
|
212
|
-
class AutomaticIndirectTax < ::Stripe::RequestParams
|
|
213
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
214
|
-
attr_accessor :requested
|
|
215
|
-
|
|
216
|
-
def initialize(requested: nil)
|
|
217
|
-
@requested = requested
|
|
218
|
-
end
|
|
219
|
-
end
|
|
220
|
-
|
|
221
208
|
class BacsDebitPayments < ::Stripe::RequestParams
|
|
222
209
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
223
210
|
attr_accessor :requested
|
|
@@ -353,15 +340,6 @@ module Stripe
|
|
|
353
340
|
end
|
|
354
341
|
end
|
|
355
342
|
|
|
356
|
-
class GopayPayments < ::Stripe::RequestParams
|
|
357
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
358
|
-
attr_accessor :requested
|
|
359
|
-
|
|
360
|
-
def initialize(requested: nil)
|
|
361
|
-
@requested = requested
|
|
362
|
-
end
|
|
363
|
-
end
|
|
364
|
-
|
|
365
343
|
class GrabpayPayments < ::Stripe::RequestParams
|
|
366
344
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
367
345
|
attr_accessor :requested
|
|
@@ -371,24 +349,6 @@ module Stripe
|
|
|
371
349
|
end
|
|
372
350
|
end
|
|
373
351
|
|
|
374
|
-
class IdBankTransferPayments < ::Stripe::RequestParams
|
|
375
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
376
|
-
attr_accessor :requested
|
|
377
|
-
|
|
378
|
-
def initialize(requested: nil)
|
|
379
|
-
@requested = requested
|
|
380
|
-
end
|
|
381
|
-
end
|
|
382
|
-
|
|
383
|
-
class IdBankTransferPaymentsBca < ::Stripe::RequestParams
|
|
384
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
385
|
-
attr_accessor :requested
|
|
386
|
-
|
|
387
|
-
def initialize(requested: nil)
|
|
388
|
-
@requested = requested
|
|
389
|
-
end
|
|
390
|
-
end
|
|
391
|
-
|
|
392
352
|
class IdealPayments < ::Stripe::RequestParams
|
|
393
353
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
394
354
|
attr_accessor :requested
|
|
@@ -578,24 +538,6 @@ module Stripe
|
|
|
578
538
|
end
|
|
579
539
|
end
|
|
580
540
|
|
|
581
|
-
class PaypalPayments < ::Stripe::RequestParams
|
|
582
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
583
|
-
attr_accessor :requested
|
|
584
|
-
|
|
585
|
-
def initialize(requested: nil)
|
|
586
|
-
@requested = requested
|
|
587
|
-
end
|
|
588
|
-
end
|
|
589
|
-
|
|
590
|
-
class PaypayPayments < ::Stripe::RequestParams
|
|
591
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
592
|
-
attr_accessor :requested
|
|
593
|
-
|
|
594
|
-
def initialize(requested: nil)
|
|
595
|
-
@requested = requested
|
|
596
|
-
end
|
|
597
|
-
end
|
|
598
|
-
|
|
599
541
|
class PaytoPayments < ::Stripe::RequestParams
|
|
600
542
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
601
543
|
attr_accessor :requested
|
|
@@ -623,24 +565,6 @@ module Stripe
|
|
|
623
565
|
end
|
|
624
566
|
end
|
|
625
567
|
|
|
626
|
-
class QrisPayments < ::Stripe::RequestParams
|
|
627
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
628
|
-
attr_accessor :requested
|
|
629
|
-
|
|
630
|
-
def initialize(requested: nil)
|
|
631
|
-
@requested = requested
|
|
632
|
-
end
|
|
633
|
-
end
|
|
634
|
-
|
|
635
|
-
class RechnungPayments < ::Stripe::RequestParams
|
|
636
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
637
|
-
attr_accessor :requested
|
|
638
|
-
|
|
639
|
-
def initialize(requested: nil)
|
|
640
|
-
@requested = requested
|
|
641
|
-
end
|
|
642
|
-
end
|
|
643
|
-
|
|
644
568
|
class RevolutPayPayments < ::Stripe::RequestParams
|
|
645
569
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
646
570
|
attr_accessor :requested
|
|
@@ -686,15 +610,6 @@ module Stripe
|
|
|
686
610
|
end
|
|
687
611
|
end
|
|
688
612
|
|
|
689
|
-
class ShopeepayPayments < ::Stripe::RequestParams
|
|
690
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
691
|
-
attr_accessor :requested
|
|
692
|
-
|
|
693
|
-
def initialize(requested: nil)
|
|
694
|
-
@requested = requested
|
|
695
|
-
end
|
|
696
|
-
end
|
|
697
|
-
|
|
698
613
|
class SofortPayments < ::Stripe::RequestParams
|
|
699
614
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
700
615
|
attr_accessor :requested
|
|
@@ -704,15 +619,6 @@ module Stripe
|
|
|
704
619
|
end
|
|
705
620
|
end
|
|
706
621
|
|
|
707
|
-
class StripeBalancePayments < ::Stripe::RequestParams
|
|
708
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
709
|
-
attr_accessor :requested
|
|
710
|
-
|
|
711
|
-
def initialize(requested: nil)
|
|
712
|
-
@requested = requested
|
|
713
|
-
end
|
|
714
|
-
end
|
|
715
|
-
|
|
716
622
|
class SwishPayments < ::Stripe::RequestParams
|
|
717
623
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
718
624
|
attr_accessor :requested
|
|
@@ -758,33 +664,6 @@ module Stripe
|
|
|
758
664
|
end
|
|
759
665
|
end
|
|
760
666
|
|
|
761
|
-
class TreasuryEvolve < ::Stripe::RequestParams
|
|
762
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
763
|
-
attr_accessor :requested
|
|
764
|
-
|
|
765
|
-
def initialize(requested: nil)
|
|
766
|
-
@requested = requested
|
|
767
|
-
end
|
|
768
|
-
end
|
|
769
|
-
|
|
770
|
-
class TreasuryFifthThird < ::Stripe::RequestParams
|
|
771
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
772
|
-
attr_accessor :requested
|
|
773
|
-
|
|
774
|
-
def initialize(requested: nil)
|
|
775
|
-
@requested = requested
|
|
776
|
-
end
|
|
777
|
-
end
|
|
778
|
-
|
|
779
|
-
class TreasuryGoldmanSachs < ::Stripe::RequestParams
|
|
780
|
-
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
781
|
-
attr_accessor :requested
|
|
782
|
-
|
|
783
|
-
def initialize(requested: nil)
|
|
784
|
-
@requested = requested
|
|
785
|
-
end
|
|
786
|
-
end
|
|
787
|
-
|
|
788
667
|
class TwintPayments < ::Stripe::RequestParams
|
|
789
668
|
# Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
790
669
|
attr_accessor :requested
|
|
@@ -832,8 +711,6 @@ module Stripe
|
|
|
832
711
|
attr_accessor :amazon_pay_payments
|
|
833
712
|
# The au_becs_debit_payments capability.
|
|
834
713
|
attr_accessor :au_becs_debit_payments
|
|
835
|
-
# The automatic_indirect_tax capability.
|
|
836
|
-
attr_accessor :automatic_indirect_tax
|
|
837
714
|
# The bacs_debit_payments capability.
|
|
838
715
|
attr_accessor :bacs_debit_payments
|
|
839
716
|
# The bancontact_payments capability.
|
|
@@ -864,14 +741,8 @@ module Stripe
|
|
|
864
741
|
attr_accessor :gb_bank_transfer_payments
|
|
865
742
|
# The giropay_payments capability.
|
|
866
743
|
attr_accessor :giropay_payments
|
|
867
|
-
# The gopay_payments capability.
|
|
868
|
-
attr_accessor :gopay_payments
|
|
869
744
|
# The grabpay_payments capability.
|
|
870
745
|
attr_accessor :grabpay_payments
|
|
871
|
-
# The id_bank_transfer_payments capability.
|
|
872
|
-
attr_accessor :id_bank_transfer_payments
|
|
873
|
-
# The id_bank_transfer_payments_bca capability.
|
|
874
|
-
attr_accessor :id_bank_transfer_payments_bca
|
|
875
746
|
# The ideal_payments capability.
|
|
876
747
|
attr_accessor :ideal_payments
|
|
877
748
|
# The india_international_payments capability.
|
|
@@ -914,20 +785,12 @@ module Stripe
|
|
|
914
785
|
attr_accessor :payco_payments
|
|
915
786
|
# The paynow_payments capability.
|
|
916
787
|
attr_accessor :paynow_payments
|
|
917
|
-
# The paypal_payments capability.
|
|
918
|
-
attr_accessor :paypal_payments
|
|
919
|
-
# The paypay_payments capability.
|
|
920
|
-
attr_accessor :paypay_payments
|
|
921
788
|
# The payto_payments capability.
|
|
922
789
|
attr_accessor :payto_payments
|
|
923
790
|
# The pix_payments capability.
|
|
924
791
|
attr_accessor :pix_payments
|
|
925
792
|
# The promptpay_payments capability.
|
|
926
793
|
attr_accessor :promptpay_payments
|
|
927
|
-
# The qris_payments capability.
|
|
928
|
-
attr_accessor :qris_payments
|
|
929
|
-
# The rechnung_payments capability.
|
|
930
|
-
attr_accessor :rechnung_payments
|
|
931
794
|
# The revolut_pay_payments capability.
|
|
932
795
|
attr_accessor :revolut_pay_payments
|
|
933
796
|
# The samsung_pay_payments capability.
|
|
@@ -938,12 +801,8 @@ module Stripe
|
|
|
938
801
|
attr_accessor :sepa_bank_transfer_payments
|
|
939
802
|
# The sepa_debit_payments capability.
|
|
940
803
|
attr_accessor :sepa_debit_payments
|
|
941
|
-
# The shopeepay_payments capability.
|
|
942
|
-
attr_accessor :shopeepay_payments
|
|
943
804
|
# The sofort_payments capability.
|
|
944
805
|
attr_accessor :sofort_payments
|
|
945
|
-
# The stripe_balance_payments capability.
|
|
946
|
-
attr_accessor :stripe_balance_payments
|
|
947
806
|
# The swish_payments capability.
|
|
948
807
|
attr_accessor :swish_payments
|
|
949
808
|
# The tax_reporting_us_1099_k capability.
|
|
@@ -954,12 +813,6 @@ module Stripe
|
|
|
954
813
|
attr_accessor :transfers
|
|
955
814
|
# The treasury capability.
|
|
956
815
|
attr_accessor :treasury
|
|
957
|
-
# The treasury_evolve capability.
|
|
958
|
-
attr_accessor :treasury_evolve
|
|
959
|
-
# The treasury_fifth_third capability.
|
|
960
|
-
attr_accessor :treasury_fifth_third
|
|
961
|
-
# The treasury_goldman_sachs capability.
|
|
962
|
-
attr_accessor :treasury_goldman_sachs
|
|
963
816
|
# The twint_payments capability.
|
|
964
817
|
attr_accessor :twint_payments
|
|
965
818
|
# The us_bank_account_ach_payments capability.
|
|
@@ -976,7 +829,6 @@ module Stripe
|
|
|
976
829
|
alma_payments: nil,
|
|
977
830
|
amazon_pay_payments: nil,
|
|
978
831
|
au_becs_debit_payments: nil,
|
|
979
|
-
automatic_indirect_tax: nil,
|
|
980
832
|
bacs_debit_payments: nil,
|
|
981
833
|
bancontact_payments: nil,
|
|
982
834
|
bank_transfer_payments: nil,
|
|
@@ -992,10 +844,7 @@ module Stripe
|
|
|
992
844
|
fpx_payments: nil,
|
|
993
845
|
gb_bank_transfer_payments: nil,
|
|
994
846
|
giropay_payments: nil,
|
|
995
|
-
gopay_payments: nil,
|
|
996
847
|
grabpay_payments: nil,
|
|
997
|
-
id_bank_transfer_payments: nil,
|
|
998
|
-
id_bank_transfer_payments_bca: nil,
|
|
999
848
|
ideal_payments: nil,
|
|
1000
849
|
india_international_payments: nil,
|
|
1001
850
|
jcb_payments: nil,
|
|
@@ -1017,29 +866,20 @@ module Stripe
|
|
|
1017
866
|
pay_by_bank_payments: nil,
|
|
1018
867
|
payco_payments: nil,
|
|
1019
868
|
paynow_payments: nil,
|
|
1020
|
-
paypal_payments: nil,
|
|
1021
|
-
paypay_payments: nil,
|
|
1022
869
|
payto_payments: nil,
|
|
1023
870
|
pix_payments: nil,
|
|
1024
871
|
promptpay_payments: nil,
|
|
1025
|
-
qris_payments: nil,
|
|
1026
|
-
rechnung_payments: nil,
|
|
1027
872
|
revolut_pay_payments: nil,
|
|
1028
873
|
samsung_pay_payments: nil,
|
|
1029
874
|
satispay_payments: nil,
|
|
1030
875
|
sepa_bank_transfer_payments: nil,
|
|
1031
876
|
sepa_debit_payments: nil,
|
|
1032
|
-
shopeepay_payments: nil,
|
|
1033
877
|
sofort_payments: nil,
|
|
1034
|
-
stripe_balance_payments: nil,
|
|
1035
878
|
swish_payments: nil,
|
|
1036
879
|
tax_reporting_us_1099_k: nil,
|
|
1037
880
|
tax_reporting_us_1099_misc: nil,
|
|
1038
881
|
transfers: nil,
|
|
1039
882
|
treasury: nil,
|
|
1040
|
-
treasury_evolve: nil,
|
|
1041
|
-
treasury_fifth_third: nil,
|
|
1042
|
-
treasury_goldman_sachs: nil,
|
|
1043
883
|
twint_payments: nil,
|
|
1044
884
|
us_bank_account_ach_payments: nil,
|
|
1045
885
|
us_bank_transfer_payments: nil,
|
|
@@ -1051,7 +891,6 @@ module Stripe
|
|
|
1051
891
|
@alma_payments = alma_payments
|
|
1052
892
|
@amazon_pay_payments = amazon_pay_payments
|
|
1053
893
|
@au_becs_debit_payments = au_becs_debit_payments
|
|
1054
|
-
@automatic_indirect_tax = automatic_indirect_tax
|
|
1055
894
|
@bacs_debit_payments = bacs_debit_payments
|
|
1056
895
|
@bancontact_payments = bancontact_payments
|
|
1057
896
|
@bank_transfer_payments = bank_transfer_payments
|
|
@@ -1067,10 +906,7 @@ module Stripe
|
|
|
1067
906
|
@fpx_payments = fpx_payments
|
|
1068
907
|
@gb_bank_transfer_payments = gb_bank_transfer_payments
|
|
1069
908
|
@giropay_payments = giropay_payments
|
|
1070
|
-
@gopay_payments = gopay_payments
|
|
1071
909
|
@grabpay_payments = grabpay_payments
|
|
1072
|
-
@id_bank_transfer_payments = id_bank_transfer_payments
|
|
1073
|
-
@id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
|
|
1074
910
|
@ideal_payments = ideal_payments
|
|
1075
911
|
@india_international_payments = india_international_payments
|
|
1076
912
|
@jcb_payments = jcb_payments
|
|
@@ -1092,29 +928,20 @@ module Stripe
|
|
|
1092
928
|
@pay_by_bank_payments = pay_by_bank_payments
|
|
1093
929
|
@payco_payments = payco_payments
|
|
1094
930
|
@paynow_payments = paynow_payments
|
|
1095
|
-
@paypal_payments = paypal_payments
|
|
1096
|
-
@paypay_payments = paypay_payments
|
|
1097
931
|
@payto_payments = payto_payments
|
|
1098
932
|
@pix_payments = pix_payments
|
|
1099
933
|
@promptpay_payments = promptpay_payments
|
|
1100
|
-
@qris_payments = qris_payments
|
|
1101
|
-
@rechnung_payments = rechnung_payments
|
|
1102
934
|
@revolut_pay_payments = revolut_pay_payments
|
|
1103
935
|
@samsung_pay_payments = samsung_pay_payments
|
|
1104
936
|
@satispay_payments = satispay_payments
|
|
1105
937
|
@sepa_bank_transfer_payments = sepa_bank_transfer_payments
|
|
1106
938
|
@sepa_debit_payments = sepa_debit_payments
|
|
1107
|
-
@shopeepay_payments = shopeepay_payments
|
|
1108
939
|
@sofort_payments = sofort_payments
|
|
1109
|
-
@stripe_balance_payments = stripe_balance_payments
|
|
1110
940
|
@swish_payments = swish_payments
|
|
1111
941
|
@tax_reporting_us_1099_k = tax_reporting_us_1099_k
|
|
1112
942
|
@tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
|
|
1113
943
|
@transfers = transfers
|
|
1114
944
|
@treasury = treasury
|
|
1115
|
-
@treasury_evolve = treasury_evolve
|
|
1116
|
-
@treasury_fifth_third = treasury_fifth_third
|
|
1117
|
-
@treasury_goldman_sachs = treasury_goldman_sachs
|
|
1118
945
|
@twint_payments = twint_payments
|
|
1119
946
|
@us_bank_account_ach_payments = us_bank_account_ach_payments
|
|
1120
947
|
@us_bank_transfer_payments = us_bank_transfer_payments
|
|
@@ -1216,7 +1043,7 @@ module Stripe
|
|
|
1216
1043
|
attr_accessor :line2
|
|
1217
1044
|
# ZIP or postal code.
|
|
1218
1045
|
attr_accessor :postal_code
|
|
1219
|
-
# State, county, province, or region.
|
|
1046
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1220
1047
|
attr_accessor :state
|
|
1221
1048
|
|
|
1222
1049
|
def initialize(
|
|
@@ -1368,9 +1195,9 @@ module Stripe
|
|
|
1368
1195
|
|
|
1369
1196
|
class Verification < ::Stripe::RequestParams
|
|
1370
1197
|
class Document < ::Stripe::RequestParams
|
|
1371
|
-
# The back of a document returned by a [file upload](https://stripe.com
|
|
1198
|
+
# The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1372
1199
|
attr_accessor :back
|
|
1373
|
-
# The front of a document returned by a [file upload](https://stripe.com
|
|
1200
|
+
# The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1374
1201
|
attr_accessor :front
|
|
1375
1202
|
|
|
1376
1203
|
def initialize(back: nil, front: nil)
|
|
@@ -1484,30 +1311,6 @@ module Stripe
|
|
|
1484
1311
|
end
|
|
1485
1312
|
|
|
1486
1313
|
class Controller < ::Stripe::RequestParams
|
|
1487
|
-
class Application < ::Stripe::RequestParams
|
|
1488
|
-
# Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1489
|
-
attr_accessor :loss_liable
|
|
1490
|
-
# Whether the controller owns onboarding for this account.
|
|
1491
|
-
attr_accessor :onboarding_owner
|
|
1492
|
-
# Whether the controller has pricing controls for this account.
|
|
1493
|
-
attr_accessor :pricing_controls
|
|
1494
|
-
|
|
1495
|
-
def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
|
|
1496
|
-
@loss_liable = loss_liable
|
|
1497
|
-
@onboarding_owner = onboarding_owner
|
|
1498
|
-
@pricing_controls = pricing_controls
|
|
1499
|
-
end
|
|
1500
|
-
end
|
|
1501
|
-
|
|
1502
|
-
class Dashboard < ::Stripe::RequestParams
|
|
1503
|
-
# Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
|
|
1504
|
-
attr_accessor :type
|
|
1505
|
-
|
|
1506
|
-
def initialize(type: nil)
|
|
1507
|
-
@type = type
|
|
1508
|
-
end
|
|
1509
|
-
end
|
|
1510
|
-
|
|
1511
1314
|
class Fees < ::Stripe::RequestParams
|
|
1512
1315
|
# A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
1513
1316
|
attr_accessor :payer
|
|
@@ -1534,10 +1337,6 @@ module Stripe
|
|
|
1534
1337
|
@type = type
|
|
1535
1338
|
end
|
|
1536
1339
|
end
|
|
1537
|
-
# A hash of configuration describing the Connect application that controls the account.
|
|
1538
|
-
attr_accessor :application
|
|
1539
|
-
# Properties of the account's dashboard.
|
|
1540
|
-
attr_accessor :dashboard
|
|
1541
1340
|
# A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1542
1341
|
attr_accessor :fees
|
|
1543
1342
|
# A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
|
|
@@ -1547,16 +1346,7 @@ module Stripe
|
|
|
1547
1346
|
# A hash of configuration for Stripe-hosted dashboards.
|
|
1548
1347
|
attr_accessor :stripe_dashboard
|
|
1549
1348
|
|
|
1550
|
-
def initialize(
|
|
1551
|
-
application: nil,
|
|
1552
|
-
dashboard: nil,
|
|
1553
|
-
fees: nil,
|
|
1554
|
-
losses: nil,
|
|
1555
|
-
requirement_collection: nil,
|
|
1556
|
-
stripe_dashboard: nil
|
|
1557
|
-
)
|
|
1558
|
-
@application = application
|
|
1559
|
-
@dashboard = dashboard
|
|
1349
|
+
def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
|
|
1560
1350
|
@fees = fees
|
|
1561
1351
|
@losses = losses
|
|
1562
1352
|
@requirement_collection = requirement_collection
|
|
@@ -1566,7 +1356,7 @@ module Stripe
|
|
|
1566
1356
|
|
|
1567
1357
|
class Documents < ::Stripe::RequestParams
|
|
1568
1358
|
class BankAccountOwnershipVerification < ::Stripe::RequestParams
|
|
1569
|
-
# One or more document ids returned by a [file upload](https://stripe.com
|
|
1359
|
+
# One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1570
1360
|
attr_accessor :files
|
|
1571
1361
|
|
|
1572
1362
|
def initialize(files: nil)
|
|
@@ -1575,7 +1365,7 @@ module Stripe
|
|
|
1575
1365
|
end
|
|
1576
1366
|
|
|
1577
1367
|
class CompanyLicense < ::Stripe::RequestParams
|
|
1578
|
-
# One or more document ids returned by a [file upload](https://stripe.com
|
|
1368
|
+
# One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1579
1369
|
attr_accessor :files
|
|
1580
1370
|
|
|
1581
1371
|
def initialize(files: nil)
|
|
@@ -1584,7 +1374,7 @@ module Stripe
|
|
|
1584
1374
|
end
|
|
1585
1375
|
|
|
1586
1376
|
class CompanyMemorandumOfAssociation < ::Stripe::RequestParams
|
|
1587
|
-
# One or more document ids returned by a [file upload](https://stripe.com
|
|
1377
|
+
# One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1588
1378
|
attr_accessor :files
|
|
1589
1379
|
|
|
1590
1380
|
def initialize(files: nil)
|
|
@@ -1593,7 +1383,7 @@ module Stripe
|
|
|
1593
1383
|
end
|
|
1594
1384
|
|
|
1595
1385
|
class CompanyMinisterialDecree < ::Stripe::RequestParams
|
|
1596
|
-
# One or more document ids returned by a [file upload](https://stripe.com
|
|
1386
|
+
# One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1597
1387
|
attr_accessor :files
|
|
1598
1388
|
|
|
1599
1389
|
def initialize(files: nil)
|
|
@@ -1602,7 +1392,7 @@ module Stripe
|
|
|
1602
1392
|
end
|
|
1603
1393
|
|
|
1604
1394
|
class CompanyRegistrationVerification < ::Stripe::RequestParams
|
|
1605
|
-
# One or more document ids returned by a [file upload](https://stripe.com
|
|
1395
|
+
# One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1606
1396
|
attr_accessor :files
|
|
1607
1397
|
|
|
1608
1398
|
def initialize(files: nil)
|
|
@@ -1611,7 +1401,7 @@ module Stripe
|
|
|
1611
1401
|
end
|
|
1612
1402
|
|
|
1613
1403
|
class CompanyTaxIdVerification < ::Stripe::RequestParams
|
|
1614
|
-
# One or more document ids returned by a [file upload](https://stripe.com
|
|
1404
|
+
# One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1615
1405
|
attr_accessor :files
|
|
1616
1406
|
|
|
1617
1407
|
def initialize(files: nil)
|
|
@@ -1620,7 +1410,7 @@ module Stripe
|
|
|
1620
1410
|
end
|
|
1621
1411
|
|
|
1622
1412
|
class ProofOfAddress < ::Stripe::RequestParams
|
|
1623
|
-
# One or more document ids returned by a [file upload](https://stripe.com
|
|
1413
|
+
# One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1624
1414
|
attr_accessor :files
|
|
1625
1415
|
|
|
1626
1416
|
def initialize(files: nil)
|
|
@@ -1629,20 +1419,42 @@ module Stripe
|
|
|
1629
1419
|
end
|
|
1630
1420
|
|
|
1631
1421
|
class ProofOfRegistration < ::Stripe::RequestParams
|
|
1632
|
-
|
|
1422
|
+
class Signer < ::Stripe::RequestParams
|
|
1423
|
+
# The token of the person signing the document, if applicable.
|
|
1424
|
+
attr_accessor :person
|
|
1425
|
+
|
|
1426
|
+
def initialize(person: nil)
|
|
1427
|
+
@person = person
|
|
1428
|
+
end
|
|
1429
|
+
end
|
|
1430
|
+
# One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1633
1431
|
attr_accessor :files
|
|
1432
|
+
# Information regarding the person signing the document if applicable.
|
|
1433
|
+
attr_accessor :signer
|
|
1634
1434
|
|
|
1635
|
-
def initialize(files: nil)
|
|
1435
|
+
def initialize(files: nil, signer: nil)
|
|
1636
1436
|
@files = files
|
|
1437
|
+
@signer = signer
|
|
1637
1438
|
end
|
|
1638
1439
|
end
|
|
1639
1440
|
|
|
1640
1441
|
class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams
|
|
1641
|
-
|
|
1442
|
+
class Signer < ::Stripe::RequestParams
|
|
1443
|
+
# The token of the person signing the document, if applicable.
|
|
1444
|
+
attr_accessor :person
|
|
1445
|
+
|
|
1446
|
+
def initialize(person: nil)
|
|
1447
|
+
@person = person
|
|
1448
|
+
end
|
|
1449
|
+
end
|
|
1450
|
+
# One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1642
1451
|
attr_accessor :files
|
|
1452
|
+
# Information regarding the person signing the document if applicable.
|
|
1453
|
+
attr_accessor :signer
|
|
1643
1454
|
|
|
1644
|
-
def initialize(files: nil)
|
|
1455
|
+
def initialize(files: nil, signer: nil)
|
|
1645
1456
|
@files = files
|
|
1457
|
+
@signer = signer
|
|
1646
1458
|
end
|
|
1647
1459
|
end
|
|
1648
1460
|
# One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/bank-account-ownership-verification) requirement. Must be a document associated with the account’s primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
|
|
@@ -1688,7 +1500,7 @@ module Stripe
|
|
|
1688
1500
|
end
|
|
1689
1501
|
|
|
1690
1502
|
class Groups < ::Stripe::RequestParams
|
|
1691
|
-
# The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/
|
|
1503
|
+
# The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://docs.stripe.com/connect/platform-pricing-tools) for details.
|
|
1692
1504
|
attr_accessor :payments_pricing
|
|
1693
1505
|
|
|
1694
1506
|
def initialize(payments_pricing: nil)
|
|
@@ -1708,7 +1520,7 @@ module Stripe
|
|
|
1708
1520
|
attr_accessor :line2
|
|
1709
1521
|
# ZIP or postal code.
|
|
1710
1522
|
attr_accessor :postal_code
|
|
1711
|
-
# State, county, province, or region.
|
|
1523
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1712
1524
|
attr_accessor :state
|
|
1713
1525
|
|
|
1714
1526
|
def initialize(
|
|
@@ -1824,7 +1636,7 @@ module Stripe
|
|
|
1824
1636
|
attr_accessor :line2
|
|
1825
1637
|
# ZIP or postal code.
|
|
1826
1638
|
attr_accessor :postal_code
|
|
1827
|
-
# State, county, province, or region.
|
|
1639
|
+
# State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1828
1640
|
attr_accessor :state
|
|
1829
1641
|
|
|
1830
1642
|
def initialize(
|
|
@@ -1873,9 +1685,9 @@ module Stripe
|
|
|
1873
1685
|
|
|
1874
1686
|
class Verification < ::Stripe::RequestParams
|
|
1875
1687
|
class AdditionalDocument < ::Stripe::RequestParams
|
|
1876
|
-
# The back of an ID returned by a [file upload](https://stripe.com
|
|
1688
|
+
# The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1877
1689
|
attr_accessor :back
|
|
1878
|
-
# The front of an ID returned by a [file upload](https://stripe.com
|
|
1690
|
+
# The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1879
1691
|
attr_accessor :front
|
|
1880
1692
|
|
|
1881
1693
|
def initialize(back: nil, front: nil)
|
|
@@ -1885,9 +1697,9 @@ module Stripe
|
|
|
1885
1697
|
end
|
|
1886
1698
|
|
|
1887
1699
|
class Document < ::Stripe::RequestParams
|
|
1888
|
-
# The back of an ID returned by a [file upload](https://stripe.com
|
|
1700
|
+
# The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1889
1701
|
attr_accessor :back
|
|
1890
|
-
# The front of an ID returned by a [file upload](https://stripe.com
|
|
1702
|
+
# The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1891
1703
|
attr_accessor :front
|
|
1892
1704
|
|
|
1893
1705
|
def initialize(back: nil, front: nil)
|
|
@@ -1937,7 +1749,7 @@ module Stripe
|
|
|
1937
1749
|
attr_accessor :last_name_kanji
|
|
1938
1750
|
# The individual's maiden name.
|
|
1939
1751
|
attr_accessor :maiden_name
|
|
1940
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
1752
|
+
# Set of [key-value pairs](https://docs.stripe.com/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`.
|
|
1941
1753
|
attr_accessor :metadata
|
|
1942
1754
|
# The individual's phone number.
|
|
1943
1755
|
attr_accessor :phone
|
|
@@ -2003,37 +1815,6 @@ module Stripe
|
|
|
2003
1815
|
end
|
|
2004
1816
|
end
|
|
2005
1817
|
|
|
2006
|
-
class RiskControls < ::Stripe::RequestParams
|
|
2007
|
-
class Charges < ::Stripe::RequestParams
|
|
2008
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
2009
|
-
# There can be a delay before the risk control is paused or unpaused.
|
|
2010
|
-
attr_accessor :pause_requested
|
|
2011
|
-
|
|
2012
|
-
def initialize(pause_requested: nil)
|
|
2013
|
-
@pause_requested = pause_requested
|
|
2014
|
-
end
|
|
2015
|
-
end
|
|
2016
|
-
|
|
2017
|
-
class Payouts < ::Stripe::RequestParams
|
|
2018
|
-
# To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
2019
|
-
# There can be a delay before the risk control is paused or unpaused.
|
|
2020
|
-
attr_accessor :pause_requested
|
|
2021
|
-
|
|
2022
|
-
def initialize(pause_requested: nil)
|
|
2023
|
-
@pause_requested = pause_requested
|
|
2024
|
-
end
|
|
2025
|
-
end
|
|
2026
|
-
# Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2027
|
-
attr_accessor :charges
|
|
2028
|
-
# Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2029
|
-
attr_accessor :payouts
|
|
2030
|
-
|
|
2031
|
-
def initialize(charges: nil, payouts: nil)
|
|
2032
|
-
@charges = charges
|
|
2033
|
-
@payouts = payouts
|
|
2034
|
-
end
|
|
2035
|
-
end
|
|
2036
|
-
|
|
2037
1818
|
class Settings < ::Stripe::RequestParams
|
|
2038
1819
|
class BacsDebitPayments < ::Stripe::RequestParams
|
|
2039
1820
|
# The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
|
|
@@ -2044,18 +1825,6 @@ module Stripe
|
|
|
2044
1825
|
end
|
|
2045
1826
|
end
|
|
2046
1827
|
|
|
2047
|
-
class BankBcaOnboarding < ::Stripe::RequestParams
|
|
2048
|
-
# Bank BCA business account holder name
|
|
2049
|
-
attr_accessor :account_holder_name
|
|
2050
|
-
# Bank BCA business account number
|
|
2051
|
-
attr_accessor :business_account_number
|
|
2052
|
-
|
|
2053
|
-
def initialize(account_holder_name: nil, business_account_number: nil)
|
|
2054
|
-
@account_holder_name = account_holder_name
|
|
2055
|
-
@business_account_number = business_account_number
|
|
2056
|
-
end
|
|
2057
|
-
end
|
|
2058
|
-
|
|
2059
1828
|
class Branding < ::Stripe::RequestParams
|
|
2060
1829
|
# (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
|
2061
1830
|
attr_accessor :icon
|
|
@@ -2074,18 +1843,6 @@ module Stripe
|
|
|
2074
1843
|
end
|
|
2075
1844
|
end
|
|
2076
1845
|
|
|
2077
|
-
class Capital < ::Stripe::RequestParams
|
|
2078
|
-
# Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
2079
|
-
attr_accessor :payout_destination
|
|
2080
|
-
# Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
2081
|
-
attr_accessor :payout_destination_selector
|
|
2082
|
-
|
|
2083
|
-
def initialize(payout_destination: nil, payout_destination_selector: nil)
|
|
2084
|
-
@payout_destination = payout_destination
|
|
2085
|
-
@payout_destination_selector = payout_destination_selector
|
|
2086
|
-
end
|
|
2087
|
-
end
|
|
2088
|
-
|
|
2089
1846
|
class CardIssuing < ::Stripe::RequestParams
|
|
2090
1847
|
class TosAcceptance < ::Stripe::RequestParams
|
|
2091
1848
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
|
@@ -2216,24 +1973,6 @@ module Stripe
|
|
|
2216
1973
|
end
|
|
2217
1974
|
end
|
|
2218
1975
|
|
|
2219
|
-
class PaypayPayments < ::Stripe::RequestParams
|
|
2220
|
-
# Whether your business sells digital content or not.
|
|
2221
|
-
attr_accessor :goods_type
|
|
2222
|
-
|
|
2223
|
-
def initialize(goods_type: nil)
|
|
2224
|
-
@goods_type = goods_type
|
|
2225
|
-
end
|
|
2226
|
-
end
|
|
2227
|
-
|
|
2228
|
-
class TaxForms < ::Stripe::RequestParams
|
|
2229
|
-
# Whether the account opted out of receiving their tax forms by postal delivery.
|
|
2230
|
-
attr_accessor :consented_to_paperless_delivery
|
|
2231
|
-
|
|
2232
|
-
def initialize(consented_to_paperless_delivery: nil)
|
|
2233
|
-
@consented_to_paperless_delivery = consented_to_paperless_delivery
|
|
2234
|
-
end
|
|
2235
|
-
end
|
|
2236
|
-
|
|
2237
1976
|
class Treasury < ::Stripe::RequestParams
|
|
2238
1977
|
class TosAcceptance < ::Stripe::RequestParams
|
|
2239
1978
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
|
@@ -2258,12 +1997,8 @@ module Stripe
|
|
|
2258
1997
|
end
|
|
2259
1998
|
# Settings specific to Bacs Direct Debit.
|
|
2260
1999
|
attr_accessor :bacs_debit_payments
|
|
2261
|
-
# Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
2262
|
-
attr_accessor :bank_bca_onboarding
|
|
2263
2000
|
# Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
2264
2001
|
attr_accessor :branding
|
|
2265
|
-
# Settings specific to the account's use of the Capital product.
|
|
2266
|
-
attr_accessor :capital
|
|
2267
2002
|
# Settings specific to the account's use of the Card Issuing product.
|
|
2268
2003
|
attr_accessor :card_issuing
|
|
2269
2004
|
# Settings specific to card charging on the account.
|
|
@@ -2274,38 +2009,26 @@ module Stripe
|
|
|
2274
2009
|
attr_accessor :payments
|
|
2275
2010
|
# Settings specific to the account's payouts.
|
|
2276
2011
|
attr_accessor :payouts
|
|
2277
|
-
# Settings specific to the PayPay payments method.
|
|
2278
|
-
attr_accessor :paypay_payments
|
|
2279
|
-
# Settings specific to the account's tax forms.
|
|
2280
|
-
attr_accessor :tax_forms
|
|
2281
2012
|
# Settings specific to the account's Treasury FinancialAccounts.
|
|
2282
2013
|
attr_accessor :treasury
|
|
2283
2014
|
|
|
2284
2015
|
def initialize(
|
|
2285
2016
|
bacs_debit_payments: nil,
|
|
2286
|
-
bank_bca_onboarding: nil,
|
|
2287
2017
|
branding: nil,
|
|
2288
|
-
capital: nil,
|
|
2289
2018
|
card_issuing: nil,
|
|
2290
2019
|
card_payments: nil,
|
|
2291
2020
|
invoices: nil,
|
|
2292
2021
|
payments: nil,
|
|
2293
2022
|
payouts: nil,
|
|
2294
|
-
paypay_payments: nil,
|
|
2295
|
-
tax_forms: nil,
|
|
2296
2023
|
treasury: nil
|
|
2297
2024
|
)
|
|
2298
2025
|
@bacs_debit_payments = bacs_debit_payments
|
|
2299
|
-
@bank_bca_onboarding = bank_bca_onboarding
|
|
2300
2026
|
@branding = branding
|
|
2301
|
-
@capital = capital
|
|
2302
2027
|
@card_issuing = card_issuing
|
|
2303
2028
|
@card_payments = card_payments
|
|
2304
2029
|
@invoices = invoices
|
|
2305
2030
|
@payments = payments
|
|
2306
2031
|
@payouts = payouts
|
|
2307
|
-
@paypay_payments = paypay_payments
|
|
2308
|
-
@tax_forms = tax_forms
|
|
2309
2032
|
@treasury = treasury
|
|
2310
2033
|
end
|
|
2311
2034
|
end
|
|
@@ -2327,7 +2050,7 @@ module Stripe
|
|
|
2327
2050
|
@user_agent = user_agent
|
|
2328
2051
|
end
|
|
2329
2052
|
end
|
|
2330
|
-
# An [account token](https://stripe.com
|
|
2053
|
+
# An [account token](https://api.stripe.com#create_account_token), used to securely provide details to the account.
|
|
2331
2054
|
attr_accessor :account_token
|
|
2332
2055
|
# Business information about the account.
|
|
2333
2056
|
attr_accessor :business_profile
|
|
@@ -2362,10 +2085,8 @@ module Stripe
|
|
|
2362
2085
|
attr_accessor :groups
|
|
2363
2086
|
# Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
2364
2087
|
attr_accessor :individual
|
|
2365
|
-
# Set of [key-value pairs](https://stripe.com/
|
|
2088
|
+
# Set of [key-value pairs](https://docs.stripe.com/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`.
|
|
2366
2089
|
attr_accessor :metadata
|
|
2367
|
-
# A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2368
|
-
attr_accessor :risk_controls
|
|
2369
2090
|
# Options for customizing how the account functions within Stripe.
|
|
2370
2091
|
attr_accessor :settings
|
|
2371
2092
|
# Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
|
|
@@ -2389,7 +2110,6 @@ module Stripe
|
|
|
2389
2110
|
groups: nil,
|
|
2390
2111
|
individual: nil,
|
|
2391
2112
|
metadata: nil,
|
|
2392
|
-
risk_controls: nil,
|
|
2393
2113
|
settings: nil,
|
|
2394
2114
|
tos_acceptance: nil,
|
|
2395
2115
|
type: nil
|
|
@@ -2409,7 +2129,6 @@ module Stripe
|
|
|
2409
2129
|
@groups = groups
|
|
2410
2130
|
@individual = individual
|
|
2411
2131
|
@metadata = metadata
|
|
2412
|
-
@risk_controls = risk_controls
|
|
2413
2132
|
@settings = settings
|
|
2414
2133
|
@tos_acceptance = tos_acceptance
|
|
2415
2134
|
@type = type
|