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
|
@@ -28,13 +28,13 @@ module Stripe
|
|
|
28
28
|
@field_remappings = {}
|
|
29
29
|
end
|
|
30
30
|
end
|
|
31
|
-
#
|
|
31
|
+
# The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include "Reverse charge".
|
|
32
32
|
attr_reader :exempt
|
|
33
33
|
# A recent IP address of the customer used for tax reporting and tax location inference.
|
|
34
34
|
attr_reader :ip_address
|
|
35
|
-
# The
|
|
35
|
+
# The customer account's identified tax location, derived from `location_source`. Only rendered if the `automatic_indirect_tax` feature is requested and `active`.
|
|
36
36
|
attr_reader :location
|
|
37
|
-
#
|
|
37
|
+
# Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.
|
|
38
38
|
attr_reader :location_source
|
|
39
39
|
|
|
40
40
|
def self.inner_class_types
|
|
@@ -64,7 +64,7 @@ module Stripe
|
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
class Rendering < ::Stripe::StripeObject
|
|
67
|
-
#
|
|
67
|
+
# Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`.
|
|
68
68
|
attr_reader :amount_tax_display
|
|
69
69
|
# ID of the invoice rendering template to use for future invoices.
|
|
70
70
|
attr_reader :template
|
|
@@ -79,13 +79,13 @@ module Stripe
|
|
|
79
79
|
end
|
|
80
80
|
# The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
|
|
81
81
|
attr_reader :custom_fields
|
|
82
|
-
# Default footer
|
|
82
|
+
# Default invoice footer.
|
|
83
83
|
attr_reader :footer
|
|
84
|
-
#
|
|
84
|
+
# Sequence number to use on the customer account's next invoice. Defaults to 1.
|
|
85
85
|
attr_reader :next_sequence
|
|
86
|
-
#
|
|
86
|
+
# Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers.
|
|
87
87
|
attr_reader :prefix
|
|
88
|
-
# Default
|
|
88
|
+
# Default invoice PDF rendering options.
|
|
89
89
|
attr_reader :rendering
|
|
90
90
|
|
|
91
91
|
def self.inner_class_types
|
|
@@ -96,9 +96,9 @@ module Stripe
|
|
|
96
96
|
@field_remappings = {}
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
|
-
# ID of a
|
|
99
|
+
# ID of a PaymentMethod attached to the customer account to use as the default for invoices and subscriptions.
|
|
100
100
|
attr_reader :default_payment_method
|
|
101
|
-
# Default settings
|
|
101
|
+
# Default invoice settings for the customer account.
|
|
102
102
|
attr_reader :invoice
|
|
103
103
|
|
|
104
104
|
def self.inner_class_types
|
|
@@ -126,11 +126,9 @@ module Stripe
|
|
|
126
126
|
@field_remappings = {}
|
|
127
127
|
end
|
|
128
128
|
end
|
|
129
|
-
# Whether the Capability has been requested.
|
|
130
|
-
attr_reader :requested
|
|
131
129
|
# The status of the Capability.
|
|
132
130
|
attr_reader :status
|
|
133
|
-
# Additional details
|
|
131
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
134
132
|
attr_reader :status_details
|
|
135
133
|
|
|
136
134
|
def self.inner_class_types
|
|
@@ -191,11 +189,11 @@ module Stripe
|
|
|
191
189
|
@field_remappings = {}
|
|
192
190
|
end
|
|
193
191
|
end
|
|
194
|
-
#
|
|
192
|
+
# Indicates whether the customer configuration is active. You can deactivate or reactivate the customer configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties.
|
|
195
193
|
attr_reader :applied
|
|
196
|
-
#
|
|
194
|
+
# Settings for automatic indirect tax calculation on the customer's invoices, subscriptions, Checkout Sessions, and Payment Links. Available when automatic tax calculation is available for the customer account's location.
|
|
197
195
|
attr_reader :automatic_indirect_tax
|
|
198
|
-
# Billing settings
|
|
196
|
+
# Default Billing settings for the customer account, used in Invoices and Subscriptions.
|
|
199
197
|
attr_reader :billing
|
|
200
198
|
# Capabilities that have been requested on the Customer Configuration.
|
|
201
199
|
attr_reader :capabilities
|
|
@@ -220,9 +218,9 @@ module Stripe
|
|
|
220
218
|
|
|
221
219
|
class Merchant < ::Stripe::StripeObject
|
|
222
220
|
class BacsDebitPayments < ::Stripe::StripeObject
|
|
223
|
-
# Display name for Bacs
|
|
221
|
+
# Display name for Bacs Direct Debit payments.
|
|
224
222
|
attr_reader :display_name
|
|
225
|
-
# Service
|
|
223
|
+
# Service User Number (SUN) for Bacs Direct Debit payments.
|
|
226
224
|
attr_reader :service_user_number
|
|
227
225
|
|
|
228
226
|
def self.inner_class_types
|
|
@@ -269,11 +267,9 @@ module Stripe
|
|
|
269
267
|
@field_remappings = {}
|
|
270
268
|
end
|
|
271
269
|
end
|
|
272
|
-
# Whether the Capability has been requested.
|
|
273
|
-
attr_reader :requested
|
|
274
270
|
# The status of the Capability.
|
|
275
271
|
attr_reader :status
|
|
276
|
-
# Additional details
|
|
272
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
277
273
|
attr_reader :status_details
|
|
278
274
|
|
|
279
275
|
def self.inner_class_types
|
|
@@ -300,11 +296,9 @@ module Stripe
|
|
|
300
296
|
@field_remappings = {}
|
|
301
297
|
end
|
|
302
298
|
end
|
|
303
|
-
# Whether the Capability has been requested.
|
|
304
|
-
attr_reader :requested
|
|
305
299
|
# The status of the Capability.
|
|
306
300
|
attr_reader :status
|
|
307
|
-
# Additional details
|
|
301
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
308
302
|
attr_reader :status_details
|
|
309
303
|
|
|
310
304
|
def self.inner_class_types
|
|
@@ -331,11 +325,9 @@ module Stripe
|
|
|
331
325
|
@field_remappings = {}
|
|
332
326
|
end
|
|
333
327
|
end
|
|
334
|
-
# Whether the Capability has been requested.
|
|
335
|
-
attr_reader :requested
|
|
336
328
|
# The status of the Capability.
|
|
337
329
|
attr_reader :status
|
|
338
|
-
# Additional details
|
|
330
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
339
331
|
attr_reader :status_details
|
|
340
332
|
|
|
341
333
|
def self.inner_class_types
|
|
@@ -362,11 +354,9 @@ module Stripe
|
|
|
362
354
|
@field_remappings = {}
|
|
363
355
|
end
|
|
364
356
|
end
|
|
365
|
-
# Whether the Capability has been requested.
|
|
366
|
-
attr_reader :requested
|
|
367
357
|
# The status of the Capability.
|
|
368
358
|
attr_reader :status
|
|
369
|
-
# Additional details
|
|
359
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
370
360
|
attr_reader :status_details
|
|
371
361
|
|
|
372
362
|
def self.inner_class_types
|
|
@@ -393,11 +383,9 @@ module Stripe
|
|
|
393
383
|
@field_remappings = {}
|
|
394
384
|
end
|
|
395
385
|
end
|
|
396
|
-
# Whether the Capability has been requested.
|
|
397
|
-
attr_reader :requested
|
|
398
386
|
# The status of the Capability.
|
|
399
387
|
attr_reader :status
|
|
400
|
-
# Additional details
|
|
388
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
401
389
|
attr_reader :status_details
|
|
402
390
|
|
|
403
391
|
def self.inner_class_types
|
|
@@ -424,11 +412,9 @@ module Stripe
|
|
|
424
412
|
@field_remappings = {}
|
|
425
413
|
end
|
|
426
414
|
end
|
|
427
|
-
# Whether the Capability has been requested.
|
|
428
|
-
attr_reader :requested
|
|
429
415
|
# The status of the Capability.
|
|
430
416
|
attr_reader :status
|
|
431
|
-
# Additional details
|
|
417
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
432
418
|
attr_reader :status_details
|
|
433
419
|
|
|
434
420
|
def self.inner_class_types
|
|
@@ -455,11 +441,9 @@ module Stripe
|
|
|
455
441
|
@field_remappings = {}
|
|
456
442
|
end
|
|
457
443
|
end
|
|
458
|
-
# Whether the Capability has been requested.
|
|
459
|
-
attr_reader :requested
|
|
460
444
|
# The status of the Capability.
|
|
461
445
|
attr_reader :status
|
|
462
|
-
# Additional details
|
|
446
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
463
447
|
attr_reader :status_details
|
|
464
448
|
|
|
465
449
|
def self.inner_class_types
|
|
@@ -486,11 +470,9 @@ module Stripe
|
|
|
486
470
|
@field_remappings = {}
|
|
487
471
|
end
|
|
488
472
|
end
|
|
489
|
-
# Whether the Capability has been requested.
|
|
490
|
-
attr_reader :requested
|
|
491
473
|
# The status of the Capability.
|
|
492
474
|
attr_reader :status
|
|
493
|
-
# Additional details
|
|
475
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
494
476
|
attr_reader :status_details
|
|
495
477
|
|
|
496
478
|
def self.inner_class_types
|
|
@@ -517,11 +499,9 @@ module Stripe
|
|
|
517
499
|
@field_remappings = {}
|
|
518
500
|
end
|
|
519
501
|
end
|
|
520
|
-
# Whether the Capability has been requested.
|
|
521
|
-
attr_reader :requested
|
|
522
502
|
# The status of the Capability.
|
|
523
503
|
attr_reader :status
|
|
524
|
-
# Additional details
|
|
504
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
525
505
|
attr_reader :status_details
|
|
526
506
|
|
|
527
507
|
def self.inner_class_types
|
|
@@ -548,11 +528,9 @@ module Stripe
|
|
|
548
528
|
@field_remappings = {}
|
|
549
529
|
end
|
|
550
530
|
end
|
|
551
|
-
# Whether the Capability has been requested.
|
|
552
|
-
attr_reader :requested
|
|
553
531
|
# The status of the Capability.
|
|
554
532
|
attr_reader :status
|
|
555
|
-
# Additional details
|
|
533
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
556
534
|
attr_reader :status_details
|
|
557
535
|
|
|
558
536
|
def self.inner_class_types
|
|
@@ -579,11 +557,9 @@ module Stripe
|
|
|
579
557
|
@field_remappings = {}
|
|
580
558
|
end
|
|
581
559
|
end
|
|
582
|
-
# Whether the Capability has been requested.
|
|
583
|
-
attr_reader :requested
|
|
584
560
|
# The status of the Capability.
|
|
585
561
|
attr_reader :status
|
|
586
|
-
# Additional details
|
|
562
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
587
563
|
attr_reader :status_details
|
|
588
564
|
|
|
589
565
|
def self.inner_class_types
|
|
@@ -610,11 +586,9 @@ module Stripe
|
|
|
610
586
|
@field_remappings = {}
|
|
611
587
|
end
|
|
612
588
|
end
|
|
613
|
-
# Whether the Capability has been requested.
|
|
614
|
-
attr_reader :requested
|
|
615
589
|
# The status of the Capability.
|
|
616
590
|
attr_reader :status
|
|
617
|
-
# Additional details
|
|
591
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
618
592
|
attr_reader :status_details
|
|
619
593
|
|
|
620
594
|
def self.inner_class_types
|
|
@@ -641,11 +615,9 @@ module Stripe
|
|
|
641
615
|
@field_remappings = {}
|
|
642
616
|
end
|
|
643
617
|
end
|
|
644
|
-
# Whether the Capability has been requested.
|
|
645
|
-
attr_reader :requested
|
|
646
618
|
# The status of the Capability.
|
|
647
619
|
attr_reader :status
|
|
648
|
-
# Additional details
|
|
620
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
649
621
|
attr_reader :status_details
|
|
650
622
|
|
|
651
623
|
def self.inner_class_types
|
|
@@ -672,11 +644,9 @@ module Stripe
|
|
|
672
644
|
@field_remappings = {}
|
|
673
645
|
end
|
|
674
646
|
end
|
|
675
|
-
# Whether the Capability has been requested.
|
|
676
|
-
attr_reader :requested
|
|
677
647
|
# The status of the Capability.
|
|
678
648
|
attr_reader :status
|
|
679
|
-
# Additional details
|
|
649
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
680
650
|
attr_reader :status_details
|
|
681
651
|
|
|
682
652
|
def self.inner_class_types
|
|
@@ -703,11 +673,9 @@ module Stripe
|
|
|
703
673
|
@field_remappings = {}
|
|
704
674
|
end
|
|
705
675
|
end
|
|
706
|
-
# Whether the Capability has been requested.
|
|
707
|
-
attr_reader :requested
|
|
708
676
|
# The status of the Capability.
|
|
709
677
|
attr_reader :status
|
|
710
|
-
# Additional details
|
|
678
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
711
679
|
attr_reader :status_details
|
|
712
680
|
|
|
713
681
|
def self.inner_class_types
|
|
@@ -734,11 +702,9 @@ module Stripe
|
|
|
734
702
|
@field_remappings = {}
|
|
735
703
|
end
|
|
736
704
|
end
|
|
737
|
-
# Whether the Capability has been requested.
|
|
738
|
-
attr_reader :requested
|
|
739
705
|
# The status of the Capability.
|
|
740
706
|
attr_reader :status
|
|
741
|
-
# Additional details
|
|
707
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
742
708
|
attr_reader :status_details
|
|
743
709
|
|
|
744
710
|
def self.inner_class_types
|
|
@@ -765,11 +731,9 @@ module Stripe
|
|
|
765
731
|
@field_remappings = {}
|
|
766
732
|
end
|
|
767
733
|
end
|
|
768
|
-
# Whether the Capability has been requested.
|
|
769
|
-
attr_reader :requested
|
|
770
734
|
# The status of the Capability.
|
|
771
735
|
attr_reader :status
|
|
772
|
-
# Additional details
|
|
736
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
773
737
|
attr_reader :status_details
|
|
774
738
|
|
|
775
739
|
def self.inner_class_types
|
|
@@ -796,11 +760,9 @@ module Stripe
|
|
|
796
760
|
@field_remappings = {}
|
|
797
761
|
end
|
|
798
762
|
end
|
|
799
|
-
# Whether the Capability has been requested.
|
|
800
|
-
attr_reader :requested
|
|
801
763
|
# The status of the Capability.
|
|
802
764
|
attr_reader :status
|
|
803
|
-
# Additional details
|
|
765
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
804
766
|
attr_reader :status_details
|
|
805
767
|
|
|
806
768
|
def self.inner_class_types
|
|
@@ -827,11 +789,9 @@ module Stripe
|
|
|
827
789
|
@field_remappings = {}
|
|
828
790
|
end
|
|
829
791
|
end
|
|
830
|
-
# Whether the Capability has been requested.
|
|
831
|
-
attr_reader :requested
|
|
832
792
|
# The status of the Capability.
|
|
833
793
|
attr_reader :status
|
|
834
|
-
# Additional details
|
|
794
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
835
795
|
attr_reader :status_details
|
|
836
796
|
|
|
837
797
|
def self.inner_class_types
|
|
@@ -858,11 +818,9 @@ module Stripe
|
|
|
858
818
|
@field_remappings = {}
|
|
859
819
|
end
|
|
860
820
|
end
|
|
861
|
-
# Whether the Capability has been requested.
|
|
862
|
-
attr_reader :requested
|
|
863
821
|
# The status of the Capability.
|
|
864
822
|
attr_reader :status
|
|
865
|
-
# Additional details
|
|
823
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
866
824
|
attr_reader :status_details
|
|
867
825
|
|
|
868
826
|
def self.inner_class_types
|
|
@@ -889,11 +847,9 @@ module Stripe
|
|
|
889
847
|
@field_remappings = {}
|
|
890
848
|
end
|
|
891
849
|
end
|
|
892
|
-
# Whether the Capability has been requested.
|
|
893
|
-
attr_reader :requested
|
|
894
850
|
# The status of the Capability.
|
|
895
851
|
attr_reader :status
|
|
896
|
-
# Additional details
|
|
852
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
897
853
|
attr_reader :status_details
|
|
898
854
|
|
|
899
855
|
def self.inner_class_types
|
|
@@ -920,11 +876,9 @@ module Stripe
|
|
|
920
876
|
@field_remappings = {}
|
|
921
877
|
end
|
|
922
878
|
end
|
|
923
|
-
# Whether the Capability has been requested.
|
|
924
|
-
attr_reader :requested
|
|
925
879
|
# The status of the Capability.
|
|
926
880
|
attr_reader :status
|
|
927
|
-
# Additional details
|
|
881
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
928
882
|
attr_reader :status_details
|
|
929
883
|
|
|
930
884
|
def self.inner_class_types
|
|
@@ -951,11 +905,9 @@ module Stripe
|
|
|
951
905
|
@field_remappings = {}
|
|
952
906
|
end
|
|
953
907
|
end
|
|
954
|
-
# Whether the Capability has been requested.
|
|
955
|
-
attr_reader :requested
|
|
956
908
|
# The status of the Capability.
|
|
957
909
|
attr_reader :status
|
|
958
|
-
# Additional details
|
|
910
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
959
911
|
attr_reader :status_details
|
|
960
912
|
|
|
961
913
|
def self.inner_class_types
|
|
@@ -982,11 +934,9 @@ module Stripe
|
|
|
982
934
|
@field_remappings = {}
|
|
983
935
|
end
|
|
984
936
|
end
|
|
985
|
-
# Whether the Capability has been requested.
|
|
986
|
-
attr_reader :requested
|
|
987
937
|
# The status of the Capability.
|
|
988
938
|
attr_reader :status
|
|
989
|
-
# Additional details
|
|
939
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
990
940
|
attr_reader :status_details
|
|
991
941
|
|
|
992
942
|
def self.inner_class_types
|
|
@@ -1013,11 +963,9 @@ module Stripe
|
|
|
1013
963
|
@field_remappings = {}
|
|
1014
964
|
end
|
|
1015
965
|
end
|
|
1016
|
-
# Whether the Capability has been requested.
|
|
1017
|
-
attr_reader :requested
|
|
1018
966
|
# The status of the Capability.
|
|
1019
967
|
attr_reader :status
|
|
1020
|
-
# Additional details
|
|
968
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1021
969
|
attr_reader :status_details
|
|
1022
970
|
|
|
1023
971
|
def self.inner_class_types
|
|
@@ -1044,11 +992,9 @@ module Stripe
|
|
|
1044
992
|
@field_remappings = {}
|
|
1045
993
|
end
|
|
1046
994
|
end
|
|
1047
|
-
# Whether the Capability has been requested.
|
|
1048
|
-
attr_reader :requested
|
|
1049
995
|
# The status of the Capability.
|
|
1050
996
|
attr_reader :status
|
|
1051
|
-
# Additional details
|
|
997
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1052
998
|
attr_reader :status_details
|
|
1053
999
|
|
|
1054
1000
|
def self.inner_class_types
|
|
@@ -1075,11 +1021,9 @@ module Stripe
|
|
|
1075
1021
|
@field_remappings = {}
|
|
1076
1022
|
end
|
|
1077
1023
|
end
|
|
1078
|
-
# Whether the Capability has been requested.
|
|
1079
|
-
attr_reader :requested
|
|
1080
1024
|
# The status of the Capability.
|
|
1081
1025
|
attr_reader :status
|
|
1082
|
-
# Additional details
|
|
1026
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1083
1027
|
attr_reader :status_details
|
|
1084
1028
|
|
|
1085
1029
|
def self.inner_class_types
|
|
@@ -1106,11 +1050,9 @@ module Stripe
|
|
|
1106
1050
|
@field_remappings = {}
|
|
1107
1051
|
end
|
|
1108
1052
|
end
|
|
1109
|
-
# Whether the Capability has been requested.
|
|
1110
|
-
attr_reader :requested
|
|
1111
1053
|
# The status of the Capability.
|
|
1112
1054
|
attr_reader :status
|
|
1113
|
-
# Additional details
|
|
1055
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1114
1056
|
attr_reader :status_details
|
|
1115
1057
|
|
|
1116
1058
|
def self.inner_class_types
|
|
@@ -1137,11 +1079,9 @@ module Stripe
|
|
|
1137
1079
|
@field_remappings = {}
|
|
1138
1080
|
end
|
|
1139
1081
|
end
|
|
1140
|
-
# Whether the Capability has been requested.
|
|
1141
|
-
attr_reader :requested
|
|
1142
1082
|
# The status of the Capability.
|
|
1143
1083
|
attr_reader :status
|
|
1144
|
-
# Additional details
|
|
1084
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1145
1085
|
attr_reader :status_details
|
|
1146
1086
|
|
|
1147
1087
|
def self.inner_class_types
|
|
@@ -1168,11 +1108,9 @@ module Stripe
|
|
|
1168
1108
|
@field_remappings = {}
|
|
1169
1109
|
end
|
|
1170
1110
|
end
|
|
1171
|
-
# Whether the Capability has been requested.
|
|
1172
|
-
attr_reader :requested
|
|
1173
1111
|
# The status of the Capability.
|
|
1174
1112
|
attr_reader :status
|
|
1175
|
-
# Additional details
|
|
1113
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1176
1114
|
attr_reader :status_details
|
|
1177
1115
|
|
|
1178
1116
|
def self.inner_class_types
|
|
@@ -1199,11 +1137,9 @@ module Stripe
|
|
|
1199
1137
|
@field_remappings = {}
|
|
1200
1138
|
end
|
|
1201
1139
|
end
|
|
1202
|
-
# Whether the Capability has been requested.
|
|
1203
|
-
attr_reader :requested
|
|
1204
1140
|
# The status of the Capability.
|
|
1205
1141
|
attr_reader :status
|
|
1206
|
-
# Additional details
|
|
1142
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1207
1143
|
attr_reader :status_details
|
|
1208
1144
|
|
|
1209
1145
|
def self.inner_class_types
|
|
@@ -1230,11 +1166,9 @@ module Stripe
|
|
|
1230
1166
|
@field_remappings = {}
|
|
1231
1167
|
end
|
|
1232
1168
|
end
|
|
1233
|
-
# Whether the Capability has been requested.
|
|
1234
|
-
attr_reader :requested
|
|
1235
1169
|
# The status of the Capability.
|
|
1236
1170
|
attr_reader :status
|
|
1237
|
-
# Additional details
|
|
1171
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1238
1172
|
attr_reader :status_details
|
|
1239
1173
|
|
|
1240
1174
|
def self.inner_class_types
|
|
@@ -1261,11 +1195,9 @@ module Stripe
|
|
|
1261
1195
|
@field_remappings = {}
|
|
1262
1196
|
end
|
|
1263
1197
|
end
|
|
1264
|
-
# Whether the Capability has been requested.
|
|
1265
|
-
attr_reader :requested
|
|
1266
1198
|
# The status of the Capability.
|
|
1267
1199
|
attr_reader :status
|
|
1268
|
-
# Additional details
|
|
1200
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1269
1201
|
attr_reader :status_details
|
|
1270
1202
|
|
|
1271
1203
|
def self.inner_class_types
|
|
@@ -1292,11 +1224,9 @@ module Stripe
|
|
|
1292
1224
|
@field_remappings = {}
|
|
1293
1225
|
end
|
|
1294
1226
|
end
|
|
1295
|
-
# Whether the Capability has been requested.
|
|
1296
|
-
attr_reader :requested
|
|
1297
1227
|
# The status of the Capability.
|
|
1298
1228
|
attr_reader :status
|
|
1299
|
-
# Additional details
|
|
1229
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1300
1230
|
attr_reader :status_details
|
|
1301
1231
|
|
|
1302
1232
|
def self.inner_class_types
|
|
@@ -1323,11 +1253,9 @@ module Stripe
|
|
|
1323
1253
|
@field_remappings = {}
|
|
1324
1254
|
end
|
|
1325
1255
|
end
|
|
1326
|
-
# Whether the Capability has been requested.
|
|
1327
|
-
attr_reader :requested
|
|
1328
1256
|
# The status of the Capability.
|
|
1329
1257
|
attr_reader :status
|
|
1330
|
-
# Additional details
|
|
1258
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1331
1259
|
attr_reader :status_details
|
|
1332
1260
|
|
|
1333
1261
|
def self.inner_class_types
|
|
@@ -1354,11 +1282,9 @@ module Stripe
|
|
|
1354
1282
|
@field_remappings = {}
|
|
1355
1283
|
end
|
|
1356
1284
|
end
|
|
1357
|
-
# Whether the Capability has been requested.
|
|
1358
|
-
attr_reader :requested
|
|
1359
1285
|
# The status of the Capability.
|
|
1360
1286
|
attr_reader :status
|
|
1361
|
-
# Additional details
|
|
1287
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1362
1288
|
attr_reader :status_details
|
|
1363
1289
|
|
|
1364
1290
|
def self.inner_class_types
|
|
@@ -1385,11 +1311,9 @@ module Stripe
|
|
|
1385
1311
|
@field_remappings = {}
|
|
1386
1312
|
end
|
|
1387
1313
|
end
|
|
1388
|
-
# Whether the Capability has been requested.
|
|
1389
|
-
attr_reader :requested
|
|
1390
1314
|
# The status of the Capability.
|
|
1391
1315
|
attr_reader :status
|
|
1392
|
-
# Additional details
|
|
1316
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1393
1317
|
attr_reader :status_details
|
|
1394
1318
|
|
|
1395
1319
|
def self.inner_class_types
|
|
@@ -1416,11 +1340,9 @@ module Stripe
|
|
|
1416
1340
|
@field_remappings = {}
|
|
1417
1341
|
end
|
|
1418
1342
|
end
|
|
1419
|
-
# Whether the Capability has been requested.
|
|
1420
|
-
attr_reader :requested
|
|
1421
1343
|
# The status of the Capability.
|
|
1422
1344
|
attr_reader :status
|
|
1423
|
-
# Additional details
|
|
1345
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1424
1346
|
attr_reader :status_details
|
|
1425
1347
|
|
|
1426
1348
|
def self.inner_class_types
|
|
@@ -1447,11 +1369,9 @@ module Stripe
|
|
|
1447
1369
|
@field_remappings = {}
|
|
1448
1370
|
end
|
|
1449
1371
|
end
|
|
1450
|
-
# Whether the Capability has been requested.
|
|
1451
|
-
attr_reader :requested
|
|
1452
1372
|
# The status of the Capability.
|
|
1453
1373
|
attr_reader :status
|
|
1454
|
-
# Additional details
|
|
1374
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1455
1375
|
attr_reader :status_details
|
|
1456
1376
|
|
|
1457
1377
|
def self.inner_class_types
|
|
@@ -1478,11 +1398,9 @@ module Stripe
|
|
|
1478
1398
|
@field_remappings = {}
|
|
1479
1399
|
end
|
|
1480
1400
|
end
|
|
1481
|
-
# Whether the Capability has been requested.
|
|
1482
|
-
attr_reader :requested
|
|
1483
1401
|
# The status of the Capability.
|
|
1484
1402
|
attr_reader :status
|
|
1485
|
-
# Additional details
|
|
1403
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1486
1404
|
attr_reader :status_details
|
|
1487
1405
|
|
|
1488
1406
|
def self.inner_class_types
|
|
@@ -1510,11 +1428,9 @@ module Stripe
|
|
|
1510
1428
|
@field_remappings = {}
|
|
1511
1429
|
end
|
|
1512
1430
|
end
|
|
1513
|
-
# Whether the Capability has been requested.
|
|
1514
|
-
attr_reader :requested
|
|
1515
1431
|
# The status of the Capability.
|
|
1516
1432
|
attr_reader :status
|
|
1517
|
-
# Additional details
|
|
1433
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1518
1434
|
attr_reader :status_details
|
|
1519
1435
|
|
|
1520
1436
|
def self.inner_class_types
|
|
@@ -1525,7 +1441,7 @@ module Stripe
|
|
|
1525
1441
|
@field_remappings = {}
|
|
1526
1442
|
end
|
|
1527
1443
|
end
|
|
1528
|
-
#
|
|
1444
|
+
# Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
|
|
1529
1445
|
attr_reader :payouts
|
|
1530
1446
|
|
|
1531
1447
|
def self.inner_class_types
|
|
@@ -1552,11 +1468,9 @@ module Stripe
|
|
|
1552
1468
|
@field_remappings = {}
|
|
1553
1469
|
end
|
|
1554
1470
|
end
|
|
1555
|
-
# Whether the Capability has been requested.
|
|
1556
|
-
attr_reader :requested
|
|
1557
1471
|
# The status of the Capability.
|
|
1558
1472
|
attr_reader :status
|
|
1559
|
-
# Additional details
|
|
1473
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1560
1474
|
attr_reader :status_details
|
|
1561
1475
|
|
|
1562
1476
|
def self.inner_class_types
|
|
@@ -1583,11 +1497,9 @@ module Stripe
|
|
|
1583
1497
|
@field_remappings = {}
|
|
1584
1498
|
end
|
|
1585
1499
|
end
|
|
1586
|
-
# Whether the Capability has been requested.
|
|
1587
|
-
attr_reader :requested
|
|
1588
1500
|
# The status of the Capability.
|
|
1589
1501
|
attr_reader :status
|
|
1590
|
-
# Additional details
|
|
1502
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1591
1503
|
attr_reader :status_details
|
|
1592
1504
|
|
|
1593
1505
|
def self.inner_class_types
|
|
@@ -1614,11 +1526,9 @@ module Stripe
|
|
|
1614
1526
|
@field_remappings = {}
|
|
1615
1527
|
end
|
|
1616
1528
|
end
|
|
1617
|
-
# Whether the Capability has been requested.
|
|
1618
|
-
attr_reader :requested
|
|
1619
1529
|
# The status of the Capability.
|
|
1620
1530
|
attr_reader :status
|
|
1621
|
-
# Additional details
|
|
1531
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1622
1532
|
attr_reader :status_details
|
|
1623
1533
|
|
|
1624
1534
|
def self.inner_class_types
|
|
@@ -1645,11 +1555,9 @@ module Stripe
|
|
|
1645
1555
|
@field_remappings = {}
|
|
1646
1556
|
end
|
|
1647
1557
|
end
|
|
1648
|
-
# Whether the Capability has been requested.
|
|
1649
|
-
attr_reader :requested
|
|
1650
1558
|
# The status of the Capability.
|
|
1651
1559
|
attr_reader :status
|
|
1652
|
-
# Additional details
|
|
1560
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1653
1561
|
attr_reader :status_details
|
|
1654
1562
|
|
|
1655
1563
|
def self.inner_class_types
|
|
@@ -1921,7 +1829,7 @@ module Stripe
|
|
|
1921
1829
|
end
|
|
1922
1830
|
|
|
1923
1831
|
class SepaDebitPayments < ::Stripe::StripeObject
|
|
1924
|
-
# Creditor ID for SEPA
|
|
1832
|
+
# Creditor ID for SEPA Direct Debit payments.
|
|
1925
1833
|
attr_reader :creditor_id
|
|
1926
1834
|
|
|
1927
1835
|
def self.inner_class_types
|
|
@@ -1962,7 +1870,7 @@ module Stripe
|
|
|
1962
1870
|
attr_reader :postal_code
|
|
1963
1871
|
# State, county, province, or region.
|
|
1964
1872
|
attr_reader :state
|
|
1965
|
-
# Town or
|
|
1873
|
+
# Town or district.
|
|
1966
1874
|
attr_reader :town
|
|
1967
1875
|
|
|
1968
1876
|
def self.inner_class_types
|
|
@@ -1990,9 +1898,9 @@ module Stripe
|
|
|
1990
1898
|
@field_remappings = {}
|
|
1991
1899
|
end
|
|
1992
1900
|
end
|
|
1993
|
-
#
|
|
1901
|
+
# Indicates whether the merchant configuration is active. You can deactivate or reactivate the merchant configuration by updating this property. Deactivating the configuration by setting this value to false doesn't delete the configuration's properties.
|
|
1994
1902
|
attr_reader :applied
|
|
1995
|
-
# Settings
|
|
1903
|
+
# Settings for Bacs Direct Debit payments.
|
|
1996
1904
|
attr_reader :bacs_debit_payments
|
|
1997
1905
|
# Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products.
|
|
1998
1906
|
attr_reader :branding
|
|
@@ -2002,11 +1910,11 @@ module Stripe
|
|
|
2002
1910
|
attr_reader :card_payments
|
|
2003
1911
|
# Settings specific to Konbini payments on the account.
|
|
2004
1912
|
attr_reader :konbini_payments
|
|
2005
|
-
# The
|
|
1913
|
+
# The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide.
|
|
2006
1914
|
attr_reader :mcc
|
|
2007
1915
|
# Settings for the default text that appears on statements for language variations.
|
|
2008
1916
|
attr_reader :script_statement_descriptor
|
|
2009
|
-
# Settings
|
|
1917
|
+
# Settings for SEPA Direct Debit payments.
|
|
2010
1918
|
attr_reader :sepa_debit_payments
|
|
2011
1919
|
# Statement descriptor.
|
|
2012
1920
|
attr_reader :statement_descriptor
|
|
@@ -2034,113 +1942,6 @@ module Stripe
|
|
|
2034
1942
|
|
|
2035
1943
|
class Recipient < ::Stripe::StripeObject
|
|
2036
1944
|
class Capabilities < ::Stripe::StripeObject
|
|
2037
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2038
|
-
class Local < ::Stripe::StripeObject
|
|
2039
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2040
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2041
|
-
attr_reader :code
|
|
2042
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2043
|
-
attr_reader :resolution
|
|
2044
|
-
|
|
2045
|
-
def self.inner_class_types
|
|
2046
|
-
@inner_class_types = {}
|
|
2047
|
-
end
|
|
2048
|
-
|
|
2049
|
-
def self.field_remappings
|
|
2050
|
-
@field_remappings = {}
|
|
2051
|
-
end
|
|
2052
|
-
end
|
|
2053
|
-
# Whether the Capability has been requested.
|
|
2054
|
-
attr_reader :requested
|
|
2055
|
-
# The status of the Capability.
|
|
2056
|
-
attr_reader :status
|
|
2057
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2058
|
-
attr_reader :status_details
|
|
2059
|
-
|
|
2060
|
-
def self.inner_class_types
|
|
2061
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2062
|
-
end
|
|
2063
|
-
|
|
2064
|
-
def self.field_remappings
|
|
2065
|
-
@field_remappings = {}
|
|
2066
|
-
end
|
|
2067
|
-
end
|
|
2068
|
-
|
|
2069
|
-
class Wire < ::Stripe::StripeObject
|
|
2070
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2071
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2072
|
-
attr_reader :code
|
|
2073
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2074
|
-
attr_reader :resolution
|
|
2075
|
-
|
|
2076
|
-
def self.inner_class_types
|
|
2077
|
-
@inner_class_types = {}
|
|
2078
|
-
end
|
|
2079
|
-
|
|
2080
|
-
def self.field_remappings
|
|
2081
|
-
@field_remappings = {}
|
|
2082
|
-
end
|
|
2083
|
-
end
|
|
2084
|
-
# Whether the Capability has been requested.
|
|
2085
|
-
attr_reader :requested
|
|
2086
|
-
# The status of the Capability.
|
|
2087
|
-
attr_reader :status
|
|
2088
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2089
|
-
attr_reader :status_details
|
|
2090
|
-
|
|
2091
|
-
def self.inner_class_types
|
|
2092
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2093
|
-
end
|
|
2094
|
-
|
|
2095
|
-
def self.field_remappings
|
|
2096
|
-
@field_remappings = {}
|
|
2097
|
-
end
|
|
2098
|
-
end
|
|
2099
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
2100
|
-
attr_reader :local
|
|
2101
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
2102
|
-
attr_reader :wire
|
|
2103
|
-
|
|
2104
|
-
def self.inner_class_types
|
|
2105
|
-
@inner_class_types = { local: Local, wire: Wire }
|
|
2106
|
-
end
|
|
2107
|
-
|
|
2108
|
-
def self.field_remappings
|
|
2109
|
-
@field_remappings = {}
|
|
2110
|
-
end
|
|
2111
|
-
end
|
|
2112
|
-
|
|
2113
|
-
class Cards < ::Stripe::StripeObject
|
|
2114
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2115
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2116
|
-
attr_reader :code
|
|
2117
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2118
|
-
attr_reader :resolution
|
|
2119
|
-
|
|
2120
|
-
def self.inner_class_types
|
|
2121
|
-
@inner_class_types = {}
|
|
2122
|
-
end
|
|
2123
|
-
|
|
2124
|
-
def self.field_remappings
|
|
2125
|
-
@field_remappings = {}
|
|
2126
|
-
end
|
|
2127
|
-
end
|
|
2128
|
-
# Whether the Capability has been requested.
|
|
2129
|
-
attr_reader :requested
|
|
2130
|
-
# The status of the Capability.
|
|
2131
|
-
attr_reader :status
|
|
2132
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2133
|
-
attr_reader :status_details
|
|
2134
|
-
|
|
2135
|
-
def self.inner_class_types
|
|
2136
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2137
|
-
end
|
|
2138
|
-
|
|
2139
|
-
def self.field_remappings
|
|
2140
|
-
@field_remappings = {}
|
|
2141
|
-
end
|
|
2142
|
-
end
|
|
2143
|
-
|
|
2144
1945
|
class StripeBalance < ::Stripe::StripeObject
|
|
2145
1946
|
class Payouts < ::Stripe::StripeObject
|
|
2146
1947
|
class StatusDetail < ::Stripe::StripeObject
|
|
@@ -2157,11 +1958,9 @@ module Stripe
|
|
|
2157
1958
|
@field_remappings = {}
|
|
2158
1959
|
end
|
|
2159
1960
|
end
|
|
2160
|
-
# Whether the Capability has been requested.
|
|
2161
|
-
attr_reader :requested
|
|
2162
1961
|
# The status of the Capability.
|
|
2163
1962
|
attr_reader :status
|
|
2164
|
-
# Additional details
|
|
1963
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2165
1964
|
attr_reader :status_details
|
|
2166
1965
|
|
|
2167
1966
|
def self.inner_class_types
|
|
@@ -2188,11 +1987,9 @@ module Stripe
|
|
|
2188
1987
|
@field_remappings = {}
|
|
2189
1988
|
end
|
|
2190
1989
|
end
|
|
2191
|
-
# Whether the Capability has been requested.
|
|
2192
|
-
attr_reader :requested
|
|
2193
1990
|
# The status of the Capability.
|
|
2194
1991
|
attr_reader :status
|
|
2195
|
-
# Additional details
|
|
1992
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2196
1993
|
attr_reader :status_details
|
|
2197
1994
|
|
|
2198
1995
|
def self.inner_class_types
|
|
@@ -2203,9 +2000,9 @@ module Stripe
|
|
|
2203
2000
|
@field_remappings = {}
|
|
2204
2001
|
end
|
|
2205
2002
|
end
|
|
2206
|
-
#
|
|
2003
|
+
# Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
|
|
2207
2004
|
attr_reader :payouts
|
|
2208
|
-
#
|
|
2005
|
+
# Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
2209
2006
|
attr_reader :stripe_transfers
|
|
2210
2007
|
|
|
2211
2008
|
def self.inner_class_types
|
|
@@ -2216,476 +2013,21 @@ module Stripe
|
|
|
2216
2013
|
@field_remappings = {}
|
|
2217
2014
|
end
|
|
2218
2015
|
end
|
|
2219
|
-
# Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
2220
|
-
attr_reader :bank_accounts
|
|
2221
|
-
# Capability that enable OutboundPayments to a debit card linked to this Account.
|
|
2222
|
-
attr_reader :cards
|
|
2223
2016
|
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
2224
2017
|
attr_reader :stripe_balance
|
|
2225
2018
|
|
|
2226
2019
|
def self.inner_class_types
|
|
2227
|
-
@inner_class_types = {
|
|
2228
|
-
bank_accounts: BankAccounts,
|
|
2229
|
-
cards: Cards,
|
|
2230
|
-
stripe_balance: StripeBalance,
|
|
2231
|
-
}
|
|
2232
|
-
end
|
|
2233
|
-
|
|
2234
|
-
def self.field_remappings
|
|
2235
|
-
@field_remappings = {}
|
|
2236
|
-
end
|
|
2237
|
-
end
|
|
2238
|
-
|
|
2239
|
-
class DefaultOutboundDestination < ::Stripe::StripeObject
|
|
2240
|
-
# The payout method ID of the default outbound destination.
|
|
2241
|
-
attr_reader :id
|
|
2242
|
-
# Closed Enum. The payout method type of the default outbound destination.
|
|
2243
|
-
attr_reader :type
|
|
2244
|
-
|
|
2245
|
-
def self.inner_class_types
|
|
2246
|
-
@inner_class_types = {}
|
|
2020
|
+
@inner_class_types = { stripe_balance: StripeBalance }
|
|
2247
2021
|
end
|
|
2248
2022
|
|
|
2249
2023
|
def self.field_remappings
|
|
2250
2024
|
@field_remappings = {}
|
|
2251
2025
|
end
|
|
2252
2026
|
end
|
|
2253
|
-
#
|
|
2027
|
+
# Indicates whether the recipient configuration is active. You can deactivate or reactivate the recipient configuration by updating this property. Deactivating the configuration by setting this value to false unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties.
|
|
2254
2028
|
attr_reader :applied
|
|
2255
2029
|
# Capabilities that have been requested on the Recipient Configuration.
|
|
2256
2030
|
attr_reader :capabilities
|
|
2257
|
-
# The payout method to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through the dashboard or APIs.
|
|
2258
|
-
attr_reader :default_outbound_destination
|
|
2259
|
-
|
|
2260
|
-
def self.inner_class_types
|
|
2261
|
-
@inner_class_types = {
|
|
2262
|
-
capabilities: Capabilities,
|
|
2263
|
-
default_outbound_destination: DefaultOutboundDestination,
|
|
2264
|
-
}
|
|
2265
|
-
end
|
|
2266
|
-
|
|
2267
|
-
def self.field_remappings
|
|
2268
|
-
@field_remappings = {}
|
|
2269
|
-
end
|
|
2270
|
-
end
|
|
2271
|
-
|
|
2272
|
-
class Storer < ::Stripe::StripeObject
|
|
2273
|
-
class Capabilities < ::Stripe::StripeObject
|
|
2274
|
-
class FinancialAddresses < ::Stripe::StripeObject
|
|
2275
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2276
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2277
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2278
|
-
attr_reader :code
|
|
2279
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2280
|
-
attr_reader :resolution
|
|
2281
|
-
|
|
2282
|
-
def self.inner_class_types
|
|
2283
|
-
@inner_class_types = {}
|
|
2284
|
-
end
|
|
2285
|
-
|
|
2286
|
-
def self.field_remappings
|
|
2287
|
-
@field_remappings = {}
|
|
2288
|
-
end
|
|
2289
|
-
end
|
|
2290
|
-
# Whether the Capability has been requested.
|
|
2291
|
-
attr_reader :requested
|
|
2292
|
-
# The status of the Capability.
|
|
2293
|
-
attr_reader :status
|
|
2294
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2295
|
-
attr_reader :status_details
|
|
2296
|
-
|
|
2297
|
-
def self.inner_class_types
|
|
2298
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2299
|
-
end
|
|
2300
|
-
|
|
2301
|
-
def self.field_remappings
|
|
2302
|
-
@field_remappings = {}
|
|
2303
|
-
end
|
|
2304
|
-
end
|
|
2305
|
-
# Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
2306
|
-
attr_reader :bank_accounts
|
|
2307
|
-
|
|
2308
|
-
def self.inner_class_types
|
|
2309
|
-
@inner_class_types = { bank_accounts: BankAccounts }
|
|
2310
|
-
end
|
|
2311
|
-
|
|
2312
|
-
def self.field_remappings
|
|
2313
|
-
@field_remappings = {}
|
|
2314
|
-
end
|
|
2315
|
-
end
|
|
2316
|
-
|
|
2317
|
-
class HoldsCurrencies < ::Stripe::StripeObject
|
|
2318
|
-
class Eur < ::Stripe::StripeObject
|
|
2319
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2320
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2321
|
-
attr_reader :code
|
|
2322
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2323
|
-
attr_reader :resolution
|
|
2324
|
-
|
|
2325
|
-
def self.inner_class_types
|
|
2326
|
-
@inner_class_types = {}
|
|
2327
|
-
end
|
|
2328
|
-
|
|
2329
|
-
def self.field_remappings
|
|
2330
|
-
@field_remappings = {}
|
|
2331
|
-
end
|
|
2332
|
-
end
|
|
2333
|
-
# Whether the Capability has been requested.
|
|
2334
|
-
attr_reader :requested
|
|
2335
|
-
# The status of the Capability.
|
|
2336
|
-
attr_reader :status
|
|
2337
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2338
|
-
attr_reader :status_details
|
|
2339
|
-
|
|
2340
|
-
def self.inner_class_types
|
|
2341
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2342
|
-
end
|
|
2343
|
-
|
|
2344
|
-
def self.field_remappings
|
|
2345
|
-
@field_remappings = {}
|
|
2346
|
-
end
|
|
2347
|
-
end
|
|
2348
|
-
|
|
2349
|
-
class Gbp < ::Stripe::StripeObject
|
|
2350
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2351
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2352
|
-
attr_reader :code
|
|
2353
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2354
|
-
attr_reader :resolution
|
|
2355
|
-
|
|
2356
|
-
def self.inner_class_types
|
|
2357
|
-
@inner_class_types = {}
|
|
2358
|
-
end
|
|
2359
|
-
|
|
2360
|
-
def self.field_remappings
|
|
2361
|
-
@field_remappings = {}
|
|
2362
|
-
end
|
|
2363
|
-
end
|
|
2364
|
-
# Whether the Capability has been requested.
|
|
2365
|
-
attr_reader :requested
|
|
2366
|
-
# The status of the Capability.
|
|
2367
|
-
attr_reader :status
|
|
2368
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2369
|
-
attr_reader :status_details
|
|
2370
|
-
|
|
2371
|
-
def self.inner_class_types
|
|
2372
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2373
|
-
end
|
|
2374
|
-
|
|
2375
|
-
def self.field_remappings
|
|
2376
|
-
@field_remappings = {}
|
|
2377
|
-
end
|
|
2378
|
-
end
|
|
2379
|
-
|
|
2380
|
-
class Usd < ::Stripe::StripeObject
|
|
2381
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2382
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2383
|
-
attr_reader :code
|
|
2384
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2385
|
-
attr_reader :resolution
|
|
2386
|
-
|
|
2387
|
-
def self.inner_class_types
|
|
2388
|
-
@inner_class_types = {}
|
|
2389
|
-
end
|
|
2390
|
-
|
|
2391
|
-
def self.field_remappings
|
|
2392
|
-
@field_remappings = {}
|
|
2393
|
-
end
|
|
2394
|
-
end
|
|
2395
|
-
# Whether the Capability has been requested.
|
|
2396
|
-
attr_reader :requested
|
|
2397
|
-
# The status of the Capability.
|
|
2398
|
-
attr_reader :status
|
|
2399
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2400
|
-
attr_reader :status_details
|
|
2401
|
-
|
|
2402
|
-
def self.inner_class_types
|
|
2403
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2404
|
-
end
|
|
2405
|
-
|
|
2406
|
-
def self.field_remappings
|
|
2407
|
-
@field_remappings = {}
|
|
2408
|
-
end
|
|
2409
|
-
end
|
|
2410
|
-
# Can hold storage-type funds on Stripe in EUR.
|
|
2411
|
-
attr_reader :eur
|
|
2412
|
-
# Can hold storage-type funds on Stripe in GBP.
|
|
2413
|
-
attr_reader :gbp
|
|
2414
|
-
# Can hold storage-type funds on Stripe in USD.
|
|
2415
|
-
attr_reader :usd
|
|
2416
|
-
|
|
2417
|
-
def self.inner_class_types
|
|
2418
|
-
@inner_class_types = { eur: Eur, gbp: Gbp, usd: Usd }
|
|
2419
|
-
end
|
|
2420
|
-
|
|
2421
|
-
def self.field_remappings
|
|
2422
|
-
@field_remappings = {}
|
|
2423
|
-
end
|
|
2424
|
-
end
|
|
2425
|
-
|
|
2426
|
-
class InboundTransfers < ::Stripe::StripeObject
|
|
2427
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2428
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2429
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2430
|
-
attr_reader :code
|
|
2431
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2432
|
-
attr_reader :resolution
|
|
2433
|
-
|
|
2434
|
-
def self.inner_class_types
|
|
2435
|
-
@inner_class_types = {}
|
|
2436
|
-
end
|
|
2437
|
-
|
|
2438
|
-
def self.field_remappings
|
|
2439
|
-
@field_remappings = {}
|
|
2440
|
-
end
|
|
2441
|
-
end
|
|
2442
|
-
# Whether the Capability has been requested.
|
|
2443
|
-
attr_reader :requested
|
|
2444
|
-
# The status of the Capability.
|
|
2445
|
-
attr_reader :status
|
|
2446
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2447
|
-
attr_reader :status_details
|
|
2448
|
-
|
|
2449
|
-
def self.inner_class_types
|
|
2450
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2451
|
-
end
|
|
2452
|
-
|
|
2453
|
-
def self.field_remappings
|
|
2454
|
-
@field_remappings = {}
|
|
2455
|
-
end
|
|
2456
|
-
end
|
|
2457
|
-
# Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
|
|
2458
|
-
attr_reader :bank_accounts
|
|
2459
|
-
|
|
2460
|
-
def self.inner_class_types
|
|
2461
|
-
@inner_class_types = { bank_accounts: BankAccounts }
|
|
2462
|
-
end
|
|
2463
|
-
|
|
2464
|
-
def self.field_remappings
|
|
2465
|
-
@field_remappings = {}
|
|
2466
|
-
end
|
|
2467
|
-
end
|
|
2468
|
-
|
|
2469
|
-
class OutboundPayments < ::Stripe::StripeObject
|
|
2470
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2471
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2472
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2473
|
-
attr_reader :code
|
|
2474
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2475
|
-
attr_reader :resolution
|
|
2476
|
-
|
|
2477
|
-
def self.inner_class_types
|
|
2478
|
-
@inner_class_types = {}
|
|
2479
|
-
end
|
|
2480
|
-
|
|
2481
|
-
def self.field_remappings
|
|
2482
|
-
@field_remappings = {}
|
|
2483
|
-
end
|
|
2484
|
-
end
|
|
2485
|
-
# Whether the Capability has been requested.
|
|
2486
|
-
attr_reader :requested
|
|
2487
|
-
# The status of the Capability.
|
|
2488
|
-
attr_reader :status
|
|
2489
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2490
|
-
attr_reader :status_details
|
|
2491
|
-
|
|
2492
|
-
def self.inner_class_types
|
|
2493
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2494
|
-
end
|
|
2495
|
-
|
|
2496
|
-
def self.field_remappings
|
|
2497
|
-
@field_remappings = {}
|
|
2498
|
-
end
|
|
2499
|
-
end
|
|
2500
|
-
|
|
2501
|
-
class Cards < ::Stripe::StripeObject
|
|
2502
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2503
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2504
|
-
attr_reader :code
|
|
2505
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2506
|
-
attr_reader :resolution
|
|
2507
|
-
|
|
2508
|
-
def self.inner_class_types
|
|
2509
|
-
@inner_class_types = {}
|
|
2510
|
-
end
|
|
2511
|
-
|
|
2512
|
-
def self.field_remappings
|
|
2513
|
-
@field_remappings = {}
|
|
2514
|
-
end
|
|
2515
|
-
end
|
|
2516
|
-
# Whether the Capability has been requested.
|
|
2517
|
-
attr_reader :requested
|
|
2518
|
-
# The status of the Capability.
|
|
2519
|
-
attr_reader :status
|
|
2520
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2521
|
-
attr_reader :status_details
|
|
2522
|
-
|
|
2523
|
-
def self.inner_class_types
|
|
2524
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2525
|
-
end
|
|
2526
|
-
|
|
2527
|
-
def self.field_remappings
|
|
2528
|
-
@field_remappings = {}
|
|
2529
|
-
end
|
|
2530
|
-
end
|
|
2531
|
-
|
|
2532
|
-
class FinancialAccounts < ::Stripe::StripeObject
|
|
2533
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2534
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2535
|
-
attr_reader :code
|
|
2536
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2537
|
-
attr_reader :resolution
|
|
2538
|
-
|
|
2539
|
-
def self.inner_class_types
|
|
2540
|
-
@inner_class_types = {}
|
|
2541
|
-
end
|
|
2542
|
-
|
|
2543
|
-
def self.field_remappings
|
|
2544
|
-
@field_remappings = {}
|
|
2545
|
-
end
|
|
2546
|
-
end
|
|
2547
|
-
# Whether the Capability has been requested.
|
|
2548
|
-
attr_reader :requested
|
|
2549
|
-
# The status of the Capability.
|
|
2550
|
-
attr_reader :status
|
|
2551
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2552
|
-
attr_reader :status_details
|
|
2553
|
-
|
|
2554
|
-
def self.inner_class_types
|
|
2555
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2556
|
-
end
|
|
2557
|
-
|
|
2558
|
-
def self.field_remappings
|
|
2559
|
-
@field_remappings = {}
|
|
2560
|
-
end
|
|
2561
|
-
end
|
|
2562
|
-
# Can send funds from a FinancialAccount to a bank account, owned by someone else.
|
|
2563
|
-
attr_reader :bank_accounts
|
|
2564
|
-
# Can send funds from a FinancialAccount to a debit card, owned by someone else.
|
|
2565
|
-
attr_reader :cards
|
|
2566
|
-
# Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
|
|
2567
|
-
attr_reader :financial_accounts
|
|
2568
|
-
|
|
2569
|
-
def self.inner_class_types
|
|
2570
|
-
@inner_class_types = {
|
|
2571
|
-
bank_accounts: BankAccounts,
|
|
2572
|
-
cards: Cards,
|
|
2573
|
-
financial_accounts: FinancialAccounts,
|
|
2574
|
-
}
|
|
2575
|
-
end
|
|
2576
|
-
|
|
2577
|
-
def self.field_remappings
|
|
2578
|
-
@field_remappings = {}
|
|
2579
|
-
end
|
|
2580
|
-
end
|
|
2581
|
-
|
|
2582
|
-
class OutboundTransfers < ::Stripe::StripeObject
|
|
2583
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2584
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2585
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2586
|
-
attr_reader :code
|
|
2587
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2588
|
-
attr_reader :resolution
|
|
2589
|
-
|
|
2590
|
-
def self.inner_class_types
|
|
2591
|
-
@inner_class_types = {}
|
|
2592
|
-
end
|
|
2593
|
-
|
|
2594
|
-
def self.field_remappings
|
|
2595
|
-
@field_remappings = {}
|
|
2596
|
-
end
|
|
2597
|
-
end
|
|
2598
|
-
# Whether the Capability has been requested.
|
|
2599
|
-
attr_reader :requested
|
|
2600
|
-
# The status of the Capability.
|
|
2601
|
-
attr_reader :status
|
|
2602
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2603
|
-
attr_reader :status_details
|
|
2604
|
-
|
|
2605
|
-
def self.inner_class_types
|
|
2606
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2607
|
-
end
|
|
2608
|
-
|
|
2609
|
-
def self.field_remappings
|
|
2610
|
-
@field_remappings = {}
|
|
2611
|
-
end
|
|
2612
|
-
end
|
|
2613
|
-
|
|
2614
|
-
class FinancialAccounts < ::Stripe::StripeObject
|
|
2615
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2616
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2617
|
-
attr_reader :code
|
|
2618
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2619
|
-
attr_reader :resolution
|
|
2620
|
-
|
|
2621
|
-
def self.inner_class_types
|
|
2622
|
-
@inner_class_types = {}
|
|
2623
|
-
end
|
|
2624
|
-
|
|
2625
|
-
def self.field_remappings
|
|
2626
|
-
@field_remappings = {}
|
|
2627
|
-
end
|
|
2628
|
-
end
|
|
2629
|
-
# Whether the Capability has been requested.
|
|
2630
|
-
attr_reader :requested
|
|
2631
|
-
# The status of the Capability.
|
|
2632
|
-
attr_reader :status
|
|
2633
|
-
# Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
2634
|
-
attr_reader :status_details
|
|
2635
|
-
|
|
2636
|
-
def self.inner_class_types
|
|
2637
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2638
|
-
end
|
|
2639
|
-
|
|
2640
|
-
def self.field_remappings
|
|
2641
|
-
@field_remappings = {}
|
|
2642
|
-
end
|
|
2643
|
-
end
|
|
2644
|
-
# Can send funds from a FinancialAccount, to a bank account, owned by yourself.
|
|
2645
|
-
attr_reader :bank_accounts
|
|
2646
|
-
# Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
|
|
2647
|
-
attr_reader :financial_accounts
|
|
2648
|
-
|
|
2649
|
-
def self.inner_class_types
|
|
2650
|
-
@inner_class_types = {
|
|
2651
|
-
bank_accounts: BankAccounts,
|
|
2652
|
-
financial_accounts: FinancialAccounts,
|
|
2653
|
-
}
|
|
2654
|
-
end
|
|
2655
|
-
|
|
2656
|
-
def self.field_remappings
|
|
2657
|
-
@field_remappings = {}
|
|
2658
|
-
end
|
|
2659
|
-
end
|
|
2660
|
-
# Can provision a financial address to credit/debit a FinancialAccount.
|
|
2661
|
-
attr_reader :financial_addresses
|
|
2662
|
-
# Can hold storage-type funds on Stripe.
|
|
2663
|
-
attr_reader :holds_currencies
|
|
2664
|
-
# Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
2665
|
-
attr_reader :inbound_transfers
|
|
2666
|
-
# Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
2667
|
-
attr_reader :outbound_payments
|
|
2668
|
-
# Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
2669
|
-
attr_reader :outbound_transfers
|
|
2670
|
-
|
|
2671
|
-
def self.inner_class_types
|
|
2672
|
-
@inner_class_types = {
|
|
2673
|
-
financial_addresses: FinancialAddresses,
|
|
2674
|
-
holds_currencies: HoldsCurrencies,
|
|
2675
|
-
inbound_transfers: InboundTransfers,
|
|
2676
|
-
outbound_payments: OutboundPayments,
|
|
2677
|
-
outbound_transfers: OutboundTransfers,
|
|
2678
|
-
}
|
|
2679
|
-
end
|
|
2680
|
-
|
|
2681
|
-
def self.field_remappings
|
|
2682
|
-
@field_remappings = {}
|
|
2683
|
-
end
|
|
2684
|
-
end
|
|
2685
|
-
# Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
2686
|
-
attr_reader :applied
|
|
2687
|
-
# Capabilities that have been requested on the Storer Configuration.
|
|
2688
|
-
attr_reader :capabilities
|
|
2689
2031
|
|
|
2690
2032
|
def self.inner_class_types
|
|
2691
2033
|
@inner_class_types = { capabilities: Capabilities }
|
|
@@ -2697,20 +2039,13 @@ module Stripe
|
|
|
2697
2039
|
end
|
|
2698
2040
|
# The Customer Configuration allows the Account to be used in inbound payment flows.
|
|
2699
2041
|
attr_reader :customer
|
|
2700
|
-
#
|
|
2042
|
+
# 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.
|
|
2701
2043
|
attr_reader :merchant
|
|
2702
|
-
# The Recipient Configuration allows the Account to receive funds.
|
|
2044
|
+
# 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.
|
|
2703
2045
|
attr_reader :recipient
|
|
2704
|
-
# The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
2705
|
-
attr_reader :storer
|
|
2706
2046
|
|
|
2707
2047
|
def self.inner_class_types
|
|
2708
|
-
@inner_class_types = {
|
|
2709
|
-
customer: Customer,
|
|
2710
|
-
merchant: Merchant,
|
|
2711
|
-
recipient: Recipient,
|
|
2712
|
-
storer: Storer,
|
|
2713
|
-
}
|
|
2048
|
+
@inner_class_types = { customer: Customer, merchant: Merchant, recipient: Recipient }
|
|
2714
2049
|
end
|
|
2715
2050
|
|
|
2716
2051
|
def self.field_remappings
|
|
@@ -2722,7 +2057,7 @@ module Stripe
|
|
|
2722
2057
|
class Profile < ::Stripe::StripeObject
|
|
2723
2058
|
# The business's publicly-available website.
|
|
2724
2059
|
attr_reader :business_url
|
|
2725
|
-
# The
|
|
2060
|
+
# The customer-facing business name.
|
|
2726
2061
|
attr_reader :doing_business_as
|
|
2727
2062
|
# Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
|
|
2728
2063
|
attr_reader :product_description
|
|
@@ -2737,9 +2072,9 @@ module Stripe
|
|
|
2737
2072
|
end
|
|
2738
2073
|
|
|
2739
2074
|
class Responsibilities < ::Stripe::StripeObject
|
|
2740
|
-
#
|
|
2075
|
+
# Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products.
|
|
2741
2076
|
attr_reader :fees_collector
|
|
2742
|
-
# A value indicating
|
|
2077
|
+
# A value indicating responsibility for collecting requirements on this account.
|
|
2743
2078
|
attr_reader :losses_collector
|
|
2744
2079
|
# A value indicating responsibility for collecting requirements on this account.
|
|
2745
2080
|
attr_reader :requirements_collector
|
|
@@ -2871,7 +2206,7 @@ module Stripe
|
|
|
2871
2206
|
@field_remappings = {}
|
|
2872
2207
|
end
|
|
2873
2208
|
end
|
|
2874
|
-
#
|
|
2209
|
+
# Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`.
|
|
2875
2210
|
attr_reader :awaiting_action_from
|
|
2876
2211
|
# Machine-readable string describing the requirement.
|
|
2877
2212
|
attr_reader :description
|
|
@@ -3032,30 +2367,11 @@ module Stripe
|
|
|
3032
2367
|
@field_remappings = {}
|
|
3033
2368
|
end
|
|
3034
2369
|
end
|
|
3035
|
-
|
|
3036
|
-
class Storer < ::Stripe::StripeObject
|
|
3037
|
-
# The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
3038
|
-
attr_reader :date
|
|
3039
|
-
# The IP address from which the Account's representative accepted the terms of service.
|
|
3040
|
-
attr_reader :ip
|
|
3041
|
-
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
3042
|
-
attr_reader :user_agent
|
|
3043
|
-
|
|
3044
|
-
def self.inner_class_types
|
|
3045
|
-
@inner_class_types = {}
|
|
3046
|
-
end
|
|
3047
|
-
|
|
3048
|
-
def self.field_remappings
|
|
3049
|
-
@field_remappings = {}
|
|
3050
|
-
end
|
|
3051
|
-
end
|
|
3052
2370
|
# Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
|
|
3053
2371
|
attr_reader :account
|
|
3054
|
-
# Details on the Account's acceptance of Treasury-specific terms of service.
|
|
3055
|
-
attr_reader :storer
|
|
3056
2372
|
|
|
3057
2373
|
def self.inner_class_types
|
|
3058
|
-
@inner_class_types = { account: Account
|
|
2374
|
+
@inner_class_types = { account: Account }
|
|
3059
2375
|
end
|
|
3060
2376
|
|
|
3061
2377
|
def self.field_remappings
|
|
@@ -3102,7 +2418,7 @@ module Stripe
|
|
|
3102
2418
|
attr_reader :postal_code
|
|
3103
2419
|
# State, county, province, or region.
|
|
3104
2420
|
attr_reader :state
|
|
3105
|
-
# Town or
|
|
2421
|
+
# Town or district.
|
|
3106
2422
|
attr_reader :town
|
|
3107
2423
|
|
|
3108
2424
|
def self.inner_class_types
|
|
@@ -3115,13 +2431,27 @@ module Stripe
|
|
|
3115
2431
|
end
|
|
3116
2432
|
|
|
3117
2433
|
class AnnualRevenue < ::Stripe::StripeObject
|
|
3118
|
-
|
|
2434
|
+
class Amount < ::Stripe::StripeObject
|
|
2435
|
+
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
2436
|
+
attr_reader :value
|
|
2437
|
+
# 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).
|
|
2438
|
+
attr_reader :currency
|
|
2439
|
+
|
|
2440
|
+
def self.inner_class_types
|
|
2441
|
+
@inner_class_types = {}
|
|
2442
|
+
end
|
|
2443
|
+
|
|
2444
|
+
def self.field_remappings
|
|
2445
|
+
@field_remappings = {}
|
|
2446
|
+
end
|
|
2447
|
+
end
|
|
2448
|
+
# Annual revenue amount in minor currency units (for example, '123' for 1.23 USD).
|
|
3119
2449
|
attr_reader :amount
|
|
3120
2450
|
# The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
|
3121
2451
|
attr_reader :fiscal_year_end
|
|
3122
2452
|
|
|
3123
2453
|
def self.inner_class_types
|
|
3124
|
-
@inner_class_types = {}
|
|
2454
|
+
@inner_class_types = { amount: Amount }
|
|
3125
2455
|
end
|
|
3126
2456
|
|
|
3127
2457
|
def self.field_remappings
|
|
@@ -3350,11 +2680,25 @@ module Stripe
|
|
|
3350
2680
|
end
|
|
3351
2681
|
|
|
3352
2682
|
class MonthlyEstimatedRevenue < ::Stripe::StripeObject
|
|
3353
|
-
|
|
2683
|
+
class Amount < ::Stripe::StripeObject
|
|
2684
|
+
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
2685
|
+
attr_reader :value
|
|
2686
|
+
# 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).
|
|
2687
|
+
attr_reader :currency
|
|
2688
|
+
|
|
2689
|
+
def self.inner_class_types
|
|
2690
|
+
@inner_class_types = {}
|
|
2691
|
+
end
|
|
2692
|
+
|
|
2693
|
+
def self.field_remappings
|
|
2694
|
+
@field_remappings = {}
|
|
2695
|
+
end
|
|
2696
|
+
end
|
|
2697
|
+
# Estimated monthly revenue amount in minor currency units (for example, '123' for 1.23 USD).
|
|
3354
2698
|
attr_reader :amount
|
|
3355
2699
|
|
|
3356
2700
|
def self.inner_class_types
|
|
3357
|
-
@inner_class_types = {}
|
|
2701
|
+
@inner_class_types = { amount: Amount }
|
|
3358
2702
|
end
|
|
3359
2703
|
|
|
3360
2704
|
def self.field_remappings
|
|
@@ -3376,7 +2720,7 @@ module Stripe
|
|
|
3376
2720
|
attr_reader :postal_code
|
|
3377
2721
|
# State, county, province, or region.
|
|
3378
2722
|
attr_reader :state
|
|
3379
|
-
# Town or
|
|
2723
|
+
# Town or district.
|
|
3380
2724
|
attr_reader :town
|
|
3381
2725
|
|
|
3382
2726
|
def self.inner_class_types
|
|
@@ -3401,7 +2745,7 @@ module Stripe
|
|
|
3401
2745
|
attr_reader :postal_code
|
|
3402
2746
|
# State, county, province, or region.
|
|
3403
2747
|
attr_reader :state
|
|
3404
|
-
# Town or
|
|
2748
|
+
# Town or district.
|
|
3405
2749
|
attr_reader :town
|
|
3406
2750
|
|
|
3407
2751
|
def self.inner_class_types
|
|
@@ -3471,11 +2815,11 @@ module Stripe
|
|
|
3471
2815
|
attr_reader :annual_revenue
|
|
3472
2816
|
# Documents that may be submitted to satisfy various informational requests.
|
|
3473
2817
|
attr_reader :documents
|
|
3474
|
-
#
|
|
2818
|
+
# Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
|
|
3475
2819
|
attr_reader :estimated_worker_count
|
|
3476
2820
|
# The provided ID numbers of a business entity.
|
|
3477
2821
|
attr_reader :id_numbers
|
|
3478
|
-
# An estimate of the monthly revenue of the business.
|
|
2822
|
+
# An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
|
|
3479
2823
|
attr_reader :monthly_estimated_revenue
|
|
3480
2824
|
# The company’s phone number (used for verification).
|
|
3481
2825
|
attr_reader :phone
|
|
@@ -3521,7 +2865,7 @@ module Stripe
|
|
|
3521
2865
|
attr_reader :purpose
|
|
3522
2866
|
# State, county, province, or region.
|
|
3523
2867
|
attr_reader :state
|
|
3524
|
-
# Town or
|
|
2868
|
+
# Town or district.
|
|
3525
2869
|
attr_reader :town
|
|
3526
2870
|
|
|
3527
2871
|
def self.inner_class_types
|
|
@@ -3594,7 +2938,7 @@ module Stripe
|
|
|
3594
2938
|
attr_reader :postal_code
|
|
3595
2939
|
# State, county, province, or region.
|
|
3596
2940
|
attr_reader :state
|
|
3597
|
-
# Town or
|
|
2941
|
+
# Town or district.
|
|
3598
2942
|
attr_reader :town
|
|
3599
2943
|
|
|
3600
2944
|
def self.inner_class_types
|
|
@@ -3766,17 +3110,17 @@ module Stripe
|
|
|
3766
3110
|
end
|
|
3767
3111
|
|
|
3768
3112
|
class Relationship < ::Stripe::StripeObject
|
|
3769
|
-
# Whether the individual is an authorizer of the Account
|
|
3113
|
+
# Whether the individual is an authorizer of the Account's identity.
|
|
3770
3114
|
attr_reader :authorizer
|
|
3771
|
-
# Whether the individual is a director of the Account
|
|
3115
|
+
# Whether the individual is a director of the Account's identity. Directors are typically members of the governing board of the company or are responsible for making sure that the company meets its regulatory obligations.
|
|
3772
3116
|
attr_reader :director
|
|
3773
3117
|
# Whether the individual has significant responsibility to control, manage, or direct the organization.
|
|
3774
3118
|
attr_reader :executive
|
|
3775
|
-
# Whether the individual is the legal guardian of the Account
|
|
3119
|
+
# Whether the individual is the legal guardian of the Account's representative.
|
|
3776
3120
|
attr_reader :legal_guardian
|
|
3777
|
-
# Whether the individual is an owner of the Account
|
|
3121
|
+
# Whether the individual is an owner of the Account's identity.
|
|
3778
3122
|
attr_reader :owner
|
|
3779
|
-
# The
|
|
3123
|
+
# The percentage of the Account's identity that the individual owns.
|
|
3780
3124
|
attr_reader :percent_ownership
|
|
3781
3125
|
# Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.
|
|
3782
3126
|
attr_reader :representative
|
|
@@ -3806,7 +3150,7 @@ module Stripe
|
|
|
3806
3150
|
attr_reader :postal_code
|
|
3807
3151
|
# State, county, province, or region.
|
|
3808
3152
|
attr_reader :state
|
|
3809
|
-
# Town or
|
|
3153
|
+
# Town or district.
|
|
3810
3154
|
attr_reader :town
|
|
3811
3155
|
|
|
3812
3156
|
def self.inner_class_types
|
|
@@ -3831,7 +3175,7 @@ module Stripe
|
|
|
3831
3175
|
attr_reader :postal_code
|
|
3832
3176
|
# State, county, province, or region.
|
|
3833
3177
|
attr_reader :state
|
|
3834
|
-
# Town or
|
|
3178
|
+
# Town or district.
|
|
3835
3179
|
attr_reader :town
|
|
3836
3180
|
|
|
3837
3181
|
def self.inner_class_types
|
|
@@ -4090,7 +3434,7 @@ module Stripe
|
|
|
4090
3434
|
@field_remappings = {}
|
|
4091
3435
|
end
|
|
4092
3436
|
end
|
|
4093
|
-
#
|
|
3437
|
+
# Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`.
|
|
4094
3438
|
attr_reader :awaiting_action_from
|
|
4095
3439
|
# Machine-readable string describing the requirement.
|
|
4096
3440
|
attr_reader :description
|
|
@@ -4159,11 +3503,11 @@ module Stripe
|
|
|
4159
3503
|
@field_remappings = {}
|
|
4160
3504
|
end
|
|
4161
3505
|
end
|
|
4162
|
-
#
|
|
3506
|
+
# The configurations that have been applied to this account.
|
|
4163
3507
|
attr_reader :applied_configurations
|
|
4164
|
-
#
|
|
3508
|
+
# Indicates whether the account has been closed.
|
|
4165
3509
|
attr_reader :closed
|
|
4166
|
-
# An Account
|
|
3510
|
+
# An Account represents a company, individual, or other entity that a user interacts with. Accounts store identity information and one or more configurations that enable product-specific capabilities. You can assign configurations at creation or add them later.
|
|
4167
3511
|
attr_reader :configuration
|
|
4168
3512
|
# The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
|
|
4169
3513
|
attr_reader :contact_email
|
|
@@ -4171,7 +3515,7 @@ module Stripe
|
|
|
4171
3515
|
attr_reader :created
|
|
4172
3516
|
# A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
|
|
4173
3517
|
attr_reader :dashboard
|
|
4174
|
-
# Default values
|
|
3518
|
+
# Default values for settings shared across Account configurations.
|
|
4175
3519
|
attr_reader :defaults
|
|
4176
3520
|
# A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
|
|
4177
3521
|
attr_reader :display_name
|