stripe 19.2.0.pre.beta.2 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/api_requestor.rb +3 -36
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -228
- data/lib/stripe/object_types.rb +0 -61
- data/lib/stripe/params/account_create_params.rb +17 -364
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +16 -326
- data/lib/stripe/params/balance_settings_update_params.rb +42 -2
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_create_params.rb +4 -1
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +31 -141
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/dispute_update_params.rb +1 -10
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -70
- data/lib/stripe/params/invoice_create_preview_params.rb +13 -790
- data/lib/stripe/params/invoice_item_create_params.rb +1 -33
- data/lib/stripe/params/invoice_item_update_params.rb +1 -33
- data/lib/stripe/params/invoice_line_item_update_params.rb +1 -48
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -48
- data/lib/stripe/params/invoice_update_params.rb +2 -70
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +3 -1645
- data/lib/stripe/params/payment_intent_confirm_params.rb +136 -3038
- data/lib/stripe/params/payment_intent_create_params.rb +167 -3043
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +2 -39
- data/lib/stripe/params/payment_intent_update_params.rb +121 -3034
- data/lib/stripe/params/payment_link_create_params.rb +30 -16
- data/lib/stripe/params/payment_link_update_params.rb +29 -0
- data/lib/stripe/params/payment_method_configuration_create_params.rb +24 -87
- data/lib/stripe/params/payment_method_configuration_list_params.rb +4 -0
- data/lib/stripe/params/payment_method_configuration_update_params.rb +24 -87
- data/lib/stripe/params/payment_method_create_params.rb +11 -75
- data/lib/stripe/params/payout_create_params.rb +1 -1
- data/lib/stripe/params/plan_create_params.rb +0 -15
- data/lib/stripe/params/price_create_params.rb +0 -15
- data/lib/stripe/params/price_update_params.rb +0 -19
- data/lib/stripe/params/product_create_params.rb +0 -16
- data/lib/stripe/params/product_update_params.rb +0 -16
- data/lib/stripe/params/quote_create_params.rb +3 -809
- data/lib/stripe/params/quote_list_params.rb +0 -4
- data/lib/stripe/params/quote_update_params.rb +4 -817
- data/lib/stripe/params/setup_intent_confirm_params.rb +21 -110
- data/lib/stripe/params/setup_intent_create_params.rb +21 -110
- data/lib/stripe/params/setup_intent_update_params.rb +21 -110
- data/lib/stripe/params/subscription_create_params.rb +11 -181
- data/lib/stripe/params/subscription_item_create_params.rb +3 -69
- data/lib/stripe/params/subscription_item_delete_params.rb +1 -7
- data/lib/stripe/params/subscription_item_update_params.rb +2 -52
- data/lib/stripe/params/subscription_schedule_create_params.rb +9 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +9 -167
- data/lib/stripe/params/subscription_update_params.rb +11 -161
- data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
- data/lib/stripe/params/tax/registration_create_params.rb +0 -104
- data/lib/stripe/params/terminal/configuration_create_params.rb +52 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +52 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +11 -79
- data/lib/stripe/params/test_helpers/test_clock_create_params.rb +4 -1
- data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
- data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
- data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
- data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -4
- data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
- data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
- data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
- data/lib/stripe/params/v2/core/account_create_params.rb +33 -288
- data/lib/stripe/params/v2/core/account_token_create_params.rb +28 -18
- data/lib/stripe/params/v2/core/account_update_params.rb +33 -281
- data/lib/stripe/params.rb +1342 -795
- data/lib/stripe/railtie.rb +8 -0
- data/lib/stripe/resources/account.rb +5 -259
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +42 -2
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/charge.rb +36 -211
- data/lib/stripe/resources/checkout/session.rb +26 -82
- data/lib/stripe/resources/confirmation_token.rb +20 -125
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/discount.rb +2 -2
- data/lib/stripe/resources/dispute.rb +0 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +0 -57
- data/lib/stripe/resources/financial_connections/session.rb +1 -125
- data/lib/stripe/resources/invoice.rb +3 -117
- data/lib/stripe/resources/invoice_item.rb +34 -3
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/dispute.rb +1 -1
- data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +13 -12
- data/lib/stripe/resources/payment_attempt_record.rb +41 -187
- data/lib/stripe/resources/payment_intent.rb +96 -1583
- data/lib/stripe/resources/payment_link.rb +40 -0
- data/lib/stripe/resources/payment_method.rb +21 -130
- data/lib/stripe/resources/payment_method_configuration.rb +20 -122
- data/lib/stripe/resources/payment_record.rb +41 -187
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/product.rb +0 -18
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/payment_evaluation.rb +1 -1
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +4 -26
- data/lib/stripe/resources/setup_intent.rb +27 -22
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +10 -107
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +5 -198
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +0 -128
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/terminal/configuration.rb +64 -16
- data/lib/stripe/resources/terminal/reader.rb +116 -8
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
- data/lib/stripe/resources/treasury/received_credit.rb +0 -30
- data/lib/stripe/resources/treasury/received_debit.rb +0 -32
- data/lib/stripe/resources/v2/commerce/product_catalog_import.rb +1 -1
- data/lib/stripe/resources/v2/core/account.rb +40 -607
- data/lib/stripe/resources/v2/core/account_token.rb +1 -1
- data/lib/stripe/resources/v2/core/event.rb +1 -0
- data/lib/stripe/resources.rb +500 -301
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/credit_note_service.rb +0 -14
- data/lib/stripe/services/customer_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections_service.rb +1 -3
- data/lib/stripe/services/invoice_service.rb +0 -41
- 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 +3 -38
- data/lib/stripe/services/promotion_code_service.rb +0 -29
- data/lib/stripe/services/quote_service.rb +1 -49
- data/lib/stripe/services/subscription_schedule_service.rb +0 -55
- data/lib/stripe/services/subscription_service.rb +2 -32
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -11
- data/lib/stripe/services/v2/billing_service.rb +1 -5
- data/lib/stripe/services/v2/core/account_service.rb +1 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +5 -1
- data/lib/stripe/services/v2/core/event_service.rb +2 -1
- data/lib/stripe/services/v2/core_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +469 -268
- data/lib/stripe/stripe_client.rb +1 -8
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_object.rb +1 -1
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +25 -58
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +53183 -118054
- metadata +5 -377
- 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_batch_job_batch_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_completed_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validating_event.rb +0 -44
- data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
- data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +0 -75
- data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +0 -44
- data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_payout_method_created_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 -63
- data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +0 -97
- data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +0 -97
- 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/authorization_retrieve_params.rb +0 -15
- 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/invoice_detach_payment_params.rb +0 -16
- 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_create_params.rb +0 -2083
- data/lib/stripe/params/order_list_params.rb +0 -25
- 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 -2087
- data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -297
- 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/product_catalog/trial_offer_create_params.rb +0 -63
- 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/reserve/hold_list_params.rb +0 -53
- data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
- data/lib/stripe/params/reserve/release_list_params.rb +0 -41
- data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -67
- data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
- 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/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
- data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- 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 -257
- 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 -263
- 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/batch_job_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -58
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -58
- 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 -37
- 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/data/reporting/query_run_create_params.rb +0 -31
- data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
- data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
- data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
- data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
- 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 -102
- data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -92
- 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 -87
- 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/network/business_profile_me_params.rb +0 -10
- data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_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 -82
- 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/authorization.rb +0 -82
- 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 -927
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
- data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -103
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1181
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -734
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1766
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -291
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/tax/location.rb +0 -72
- 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 -91
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -710
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -327
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -316
- data/lib/stripe/resources/v2/billing/profile.rb +0 -47
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -492
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -136
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -105
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/extend/workflow.rb +0 -80
- data/lib/stripe/resources/v2/extend/workflow_run.rb +0 -158
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -29
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -31
- data/lib/stripe/resources/v2/iam/activity_log.rb +0 -187
- 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 -160
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -181
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -219
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -196
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -145
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -83
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -230
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -135
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
- data/lib/stripe/resources/v2/network/business_profile.rb +0 -84
- data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +0 -93
- 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/authorization_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_service.rb +0 -53
- 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/product_catalog/trial_offer_service.rb +0 -19
- data/lib/stripe/services/product_catalog_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/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -19
- data/lib/stripe/services/reserve/release_service.rb +0 -30
- data/lib/stripe/services/reserve_service.rb +0 -15
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment/issued_token_service.rb +0 -41
- data/lib/stripe/services/shared_payment_service.rb +0 -14
- data/lib/stripe/services/tax/form_service.rb +0 -37
- data/lib/stripe/services/tax/location_service.rb +0 -45
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
- data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -69
- 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/batch_job_service.rb +0 -43
- 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/data/reporting/query_run_service.rb +0 -35
- data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
- data/lib/stripe/services/v2/datum_service.rb +0 -15
- data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
- data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
- data/lib/stripe/services/v2/extend_service.rb +0 -16
- data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -21
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- 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 -75
- 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 -66
- 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/network/business_profile_service.rb +0 -32
- data/lib/stripe/services/v2/network_service.rb +0 -15
- data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
- data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
- data/lib/stripe/services/v2/test_helper_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
- data/lib/stripe/stripe_event_notification_handler.rb +0 -581
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
module Stripe
|
|
5
5
|
module V2
|
|
6
6
|
module Core
|
|
7
|
-
# An Account v2 object represents a company, individual, or other entity that
|
|
8
|
-
# The Accounts v2 API
|
|
9
|
-
# The Connect-Billing integration preview feature allows an Account v2 to pay subscription fees to a platform. An Account v1 required a separate Customer object to pay subscription fees.
|
|
7
|
+
# An Account v2 object represents a company, individual, or other entity that your Stripe integration interacts with. It contains both identifying information and properties that control its behavior and functionality. An Account can have one or more configurations that enable sets of related features, such as allowing it to act as a merchant or customer.
|
|
8
|
+
# The Accounts v2 API is broadly available to Connect platforms, and to other users in preview. The Accounts v2 API also supports the Global Payouts preview feature.
|
|
10
9
|
class Account < APIResource
|
|
11
10
|
OBJECT_NAME = "v2.core.account"
|
|
12
11
|
def self.object_name
|
|
@@ -98,7 +97,7 @@ module Stripe
|
|
|
98
97
|
@field_remappings = {}
|
|
99
98
|
end
|
|
100
99
|
end
|
|
101
|
-
# ID of a PaymentMethod attached to
|
|
100
|
+
# The ID of a `PaymentMethod` attached to this Account's `customer` configuration, used as the default payment method for invoices and subscriptions.
|
|
102
101
|
attr_reader :default_payment_method
|
|
103
102
|
# Default invoice settings for the customer account.
|
|
104
103
|
attr_reader :invoice
|
|
@@ -1843,33 +1842,6 @@ module Stripe
|
|
|
1843
1842
|
end
|
|
1844
1843
|
end
|
|
1845
1844
|
|
|
1846
|
-
class SmartDisputes < ::Stripe::StripeObject
|
|
1847
|
-
class AutoRespond < ::Stripe::StripeObject
|
|
1848
|
-
# The preference for automatic dispute responses.
|
|
1849
|
-
attr_reader :preference
|
|
1850
|
-
# The effective value for automatic dispute responses.
|
|
1851
|
-
attr_reader :value
|
|
1852
|
-
|
|
1853
|
-
def self.inner_class_types
|
|
1854
|
-
@inner_class_types = {}
|
|
1855
|
-
end
|
|
1856
|
-
|
|
1857
|
-
def self.field_remappings
|
|
1858
|
-
@field_remappings = {}
|
|
1859
|
-
end
|
|
1860
|
-
end
|
|
1861
|
-
# Settings for Smart Disputes auto_respond.
|
|
1862
|
-
attr_reader :auto_respond
|
|
1863
|
-
|
|
1864
|
-
def self.inner_class_types
|
|
1865
|
-
@inner_class_types = { auto_respond: AutoRespond }
|
|
1866
|
-
end
|
|
1867
|
-
|
|
1868
|
-
def self.field_remappings
|
|
1869
|
-
@field_remappings = {}
|
|
1870
|
-
end
|
|
1871
|
-
end
|
|
1872
|
-
|
|
1873
1845
|
class StatementDescriptor < ::Stripe::StripeObject
|
|
1874
1846
|
# The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
|
|
1875
1847
|
attr_reader :descriptor
|
|
@@ -1945,8 +1917,6 @@ module Stripe
|
|
|
1945
1917
|
attr_reader :script_statement_descriptor
|
|
1946
1918
|
# Settings for SEPA Direct Debit payments.
|
|
1947
1919
|
attr_reader :sepa_debit_payments
|
|
1948
|
-
# Settings for Smart Disputes automatic response feature.
|
|
1949
|
-
attr_reader :smart_disputes
|
|
1950
1920
|
# Statement descriptor.
|
|
1951
1921
|
attr_reader :statement_descriptor
|
|
1952
1922
|
# Publicly available contact information for sending support issues to.
|
|
@@ -1961,7 +1931,6 @@ module Stripe
|
|
|
1961
1931
|
konbini_payments: KonbiniPayments,
|
|
1962
1932
|
script_statement_descriptor: ScriptStatementDescriptor,
|
|
1963
1933
|
sepa_debit_payments: SepaDebitPayments,
|
|
1964
|
-
smart_disputes: SmartDisputes,
|
|
1965
1934
|
statement_descriptor: StatementDescriptor,
|
|
1966
1935
|
support: Support,
|
|
1967
1936
|
}
|
|
@@ -1974,107 +1943,6 @@ module Stripe
|
|
|
1974
1943
|
|
|
1975
1944
|
class Recipient < ::Stripe::StripeObject
|
|
1976
1945
|
class Capabilities < ::Stripe::StripeObject
|
|
1977
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
1978
|
-
class Local < ::Stripe::StripeObject
|
|
1979
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
1980
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
1981
|
-
attr_reader :code
|
|
1982
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
1983
|
-
attr_reader :resolution
|
|
1984
|
-
|
|
1985
|
-
def self.inner_class_types
|
|
1986
|
-
@inner_class_types = {}
|
|
1987
|
-
end
|
|
1988
|
-
|
|
1989
|
-
def self.field_remappings
|
|
1990
|
-
@field_remappings = {}
|
|
1991
|
-
end
|
|
1992
|
-
end
|
|
1993
|
-
# The status of the Capability.
|
|
1994
|
-
attr_reader :status
|
|
1995
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1996
|
-
attr_reader :status_details
|
|
1997
|
-
|
|
1998
|
-
def self.inner_class_types
|
|
1999
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2000
|
-
end
|
|
2001
|
-
|
|
2002
|
-
def self.field_remappings
|
|
2003
|
-
@field_remappings = {}
|
|
2004
|
-
end
|
|
2005
|
-
end
|
|
2006
|
-
|
|
2007
|
-
class Wire < ::Stripe::StripeObject
|
|
2008
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2009
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2010
|
-
attr_reader :code
|
|
2011
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2012
|
-
attr_reader :resolution
|
|
2013
|
-
|
|
2014
|
-
def self.inner_class_types
|
|
2015
|
-
@inner_class_types = {}
|
|
2016
|
-
end
|
|
2017
|
-
|
|
2018
|
-
def self.field_remappings
|
|
2019
|
-
@field_remappings = {}
|
|
2020
|
-
end
|
|
2021
|
-
end
|
|
2022
|
-
# The status of the Capability.
|
|
2023
|
-
attr_reader :status
|
|
2024
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2025
|
-
attr_reader :status_details
|
|
2026
|
-
|
|
2027
|
-
def self.inner_class_types
|
|
2028
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2029
|
-
end
|
|
2030
|
-
|
|
2031
|
-
def self.field_remappings
|
|
2032
|
-
@field_remappings = {}
|
|
2033
|
-
end
|
|
2034
|
-
end
|
|
2035
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
2036
|
-
attr_reader :local
|
|
2037
|
-
# Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
2038
|
-
attr_reader :wire
|
|
2039
|
-
|
|
2040
|
-
def self.inner_class_types
|
|
2041
|
-
@inner_class_types = { local: Local, wire: Wire }
|
|
2042
|
-
end
|
|
2043
|
-
|
|
2044
|
-
def self.field_remappings
|
|
2045
|
-
@field_remappings = {}
|
|
2046
|
-
end
|
|
2047
|
-
end
|
|
2048
|
-
|
|
2049
|
-
class Cards < ::Stripe::StripeObject
|
|
2050
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2051
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2052
|
-
attr_reader :code
|
|
2053
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2054
|
-
attr_reader :resolution
|
|
2055
|
-
|
|
2056
|
-
def self.inner_class_types
|
|
2057
|
-
@inner_class_types = {}
|
|
2058
|
-
end
|
|
2059
|
-
|
|
2060
|
-
def self.field_remappings
|
|
2061
|
-
@field_remappings = {}
|
|
2062
|
-
end
|
|
2063
|
-
end
|
|
2064
|
-
# The status of the Capability.
|
|
2065
|
-
attr_reader :status
|
|
2066
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2067
|
-
attr_reader :status_details
|
|
2068
|
-
|
|
2069
|
-
def self.inner_class_types
|
|
2070
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2071
|
-
end
|
|
2072
|
-
|
|
2073
|
-
def self.field_remappings
|
|
2074
|
-
@field_remappings = {}
|
|
2075
|
-
end
|
|
2076
|
-
end
|
|
2077
|
-
|
|
2078
1946
|
class StripeBalance < ::Stripe::StripeObject
|
|
2079
1947
|
class Payouts < ::Stripe::StripeObject
|
|
2080
1948
|
class StatusDetail < ::Stripe::StripeObject
|
|
@@ -2146,34 +2014,11 @@ module Stripe
|
|
|
2146
2014
|
@field_remappings = {}
|
|
2147
2015
|
end
|
|
2148
2016
|
end
|
|
2149
|
-
# Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
2150
|
-
attr_reader :bank_accounts
|
|
2151
|
-
# Enables this Account to receive OutboundPayments to a linked debit card.
|
|
2152
|
-
attr_reader :cards
|
|
2153
2017
|
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
2154
2018
|
attr_reader :stripe_balance
|
|
2155
2019
|
|
|
2156
2020
|
def self.inner_class_types
|
|
2157
|
-
@inner_class_types = {
|
|
2158
|
-
bank_accounts: BankAccounts,
|
|
2159
|
-
cards: Cards,
|
|
2160
|
-
stripe_balance: StripeBalance,
|
|
2161
|
-
}
|
|
2162
|
-
end
|
|
2163
|
-
|
|
2164
|
-
def self.field_remappings
|
|
2165
|
-
@field_remappings = {}
|
|
2166
|
-
end
|
|
2167
|
-
end
|
|
2168
|
-
|
|
2169
|
-
class DefaultOutboundDestination < ::Stripe::StripeObject
|
|
2170
|
-
# The payout method ID of the default outbound destination.
|
|
2171
|
-
attr_reader :id
|
|
2172
|
-
# Closed Enum. The payout method type of the default outbound destination.
|
|
2173
|
-
attr_reader :type
|
|
2174
|
-
|
|
2175
|
-
def self.inner_class_types
|
|
2176
|
-
@inner_class_types = {}
|
|
2021
|
+
@inner_class_types = { stripe_balance: StripeBalance }
|
|
2177
2022
|
end
|
|
2178
2023
|
|
|
2179
2024
|
def self.field_remappings
|
|
@@ -2184,418 +2029,6 @@ module Stripe
|
|
|
2184
2029
|
attr_reader :applied
|
|
2185
2030
|
# Capabilities that have been requested on the Recipient Configuration.
|
|
2186
2031
|
attr_reader :capabilities
|
|
2187
|
-
# 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.
|
|
2188
|
-
attr_reader :default_outbound_destination
|
|
2189
|
-
|
|
2190
|
-
def self.inner_class_types
|
|
2191
|
-
@inner_class_types = {
|
|
2192
|
-
capabilities: Capabilities,
|
|
2193
|
-
default_outbound_destination: DefaultOutboundDestination,
|
|
2194
|
-
}
|
|
2195
|
-
end
|
|
2196
|
-
|
|
2197
|
-
def self.field_remappings
|
|
2198
|
-
@field_remappings = {}
|
|
2199
|
-
end
|
|
2200
|
-
end
|
|
2201
|
-
|
|
2202
|
-
class Storer < ::Stripe::StripeObject
|
|
2203
|
-
class Capabilities < ::Stripe::StripeObject
|
|
2204
|
-
class FinancialAddresses < ::Stripe::StripeObject
|
|
2205
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2206
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2207
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2208
|
-
attr_reader :code
|
|
2209
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2210
|
-
attr_reader :resolution
|
|
2211
|
-
|
|
2212
|
-
def self.inner_class_types
|
|
2213
|
-
@inner_class_types = {}
|
|
2214
|
-
end
|
|
2215
|
-
|
|
2216
|
-
def self.field_remappings
|
|
2217
|
-
@field_remappings = {}
|
|
2218
|
-
end
|
|
2219
|
-
end
|
|
2220
|
-
# The status of the Capability.
|
|
2221
|
-
attr_reader :status
|
|
2222
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2223
|
-
attr_reader :status_details
|
|
2224
|
-
|
|
2225
|
-
def self.inner_class_types
|
|
2226
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2227
|
-
end
|
|
2228
|
-
|
|
2229
|
-
def self.field_remappings
|
|
2230
|
-
@field_remappings = {}
|
|
2231
|
-
end
|
|
2232
|
-
end
|
|
2233
|
-
# Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
2234
|
-
attr_reader :bank_accounts
|
|
2235
|
-
|
|
2236
|
-
def self.inner_class_types
|
|
2237
|
-
@inner_class_types = { bank_accounts: BankAccounts }
|
|
2238
|
-
end
|
|
2239
|
-
|
|
2240
|
-
def self.field_remappings
|
|
2241
|
-
@field_remappings = {}
|
|
2242
|
-
end
|
|
2243
|
-
end
|
|
2244
|
-
|
|
2245
|
-
class HoldsCurrencies < ::Stripe::StripeObject
|
|
2246
|
-
class Eur < ::Stripe::StripeObject
|
|
2247
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2248
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2249
|
-
attr_reader :code
|
|
2250
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2251
|
-
attr_reader :resolution
|
|
2252
|
-
|
|
2253
|
-
def self.inner_class_types
|
|
2254
|
-
@inner_class_types = {}
|
|
2255
|
-
end
|
|
2256
|
-
|
|
2257
|
-
def self.field_remappings
|
|
2258
|
-
@field_remappings = {}
|
|
2259
|
-
end
|
|
2260
|
-
end
|
|
2261
|
-
# The status of the Capability.
|
|
2262
|
-
attr_reader :status
|
|
2263
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2264
|
-
attr_reader :status_details
|
|
2265
|
-
|
|
2266
|
-
def self.inner_class_types
|
|
2267
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2268
|
-
end
|
|
2269
|
-
|
|
2270
|
-
def self.field_remappings
|
|
2271
|
-
@field_remappings = {}
|
|
2272
|
-
end
|
|
2273
|
-
end
|
|
2274
|
-
|
|
2275
|
-
class Gbp < ::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
|
-
# The status of the Capability.
|
|
2291
|
-
attr_reader :status
|
|
2292
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2293
|
-
attr_reader :status_details
|
|
2294
|
-
|
|
2295
|
-
def self.inner_class_types
|
|
2296
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2297
|
-
end
|
|
2298
|
-
|
|
2299
|
-
def self.field_remappings
|
|
2300
|
-
@field_remappings = {}
|
|
2301
|
-
end
|
|
2302
|
-
end
|
|
2303
|
-
|
|
2304
|
-
class Usd < ::Stripe::StripeObject
|
|
2305
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2306
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2307
|
-
attr_reader :code
|
|
2308
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2309
|
-
attr_reader :resolution
|
|
2310
|
-
|
|
2311
|
-
def self.inner_class_types
|
|
2312
|
-
@inner_class_types = {}
|
|
2313
|
-
end
|
|
2314
|
-
|
|
2315
|
-
def self.field_remappings
|
|
2316
|
-
@field_remappings = {}
|
|
2317
|
-
end
|
|
2318
|
-
end
|
|
2319
|
-
# The status of the Capability.
|
|
2320
|
-
attr_reader :status
|
|
2321
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2322
|
-
attr_reader :status_details
|
|
2323
|
-
|
|
2324
|
-
def self.inner_class_types
|
|
2325
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2326
|
-
end
|
|
2327
|
-
|
|
2328
|
-
def self.field_remappings
|
|
2329
|
-
@field_remappings = {}
|
|
2330
|
-
end
|
|
2331
|
-
end
|
|
2332
|
-
# Can hold storage-type funds on Stripe in EUR.
|
|
2333
|
-
attr_reader :eur
|
|
2334
|
-
# Can hold storage-type funds on Stripe in GBP.
|
|
2335
|
-
attr_reader :gbp
|
|
2336
|
-
# Can hold storage-type funds on Stripe in USD.
|
|
2337
|
-
attr_reader :usd
|
|
2338
|
-
|
|
2339
|
-
def self.inner_class_types
|
|
2340
|
-
@inner_class_types = { eur: Eur, gbp: Gbp, usd: Usd }
|
|
2341
|
-
end
|
|
2342
|
-
|
|
2343
|
-
def self.field_remappings
|
|
2344
|
-
@field_remappings = {}
|
|
2345
|
-
end
|
|
2346
|
-
end
|
|
2347
|
-
|
|
2348
|
-
class InboundTransfers < ::Stripe::StripeObject
|
|
2349
|
-
class BankAccounts < ::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
|
-
# The status of the Capability.
|
|
2365
|
-
attr_reader :status
|
|
2366
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2367
|
-
attr_reader :status_details
|
|
2368
|
-
|
|
2369
|
-
def self.inner_class_types
|
|
2370
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2371
|
-
end
|
|
2372
|
-
|
|
2373
|
-
def self.field_remappings
|
|
2374
|
-
@field_remappings = {}
|
|
2375
|
-
end
|
|
2376
|
-
end
|
|
2377
|
-
# Can pull funds into a FinancialAccount from an external bank account owned by the user.
|
|
2378
|
-
attr_reader :bank_accounts
|
|
2379
|
-
|
|
2380
|
-
def self.inner_class_types
|
|
2381
|
-
@inner_class_types = { bank_accounts: BankAccounts }
|
|
2382
|
-
end
|
|
2383
|
-
|
|
2384
|
-
def self.field_remappings
|
|
2385
|
-
@field_remappings = {}
|
|
2386
|
-
end
|
|
2387
|
-
end
|
|
2388
|
-
|
|
2389
|
-
class OutboundPayments < ::Stripe::StripeObject
|
|
2390
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2391
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2392
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2393
|
-
attr_reader :code
|
|
2394
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2395
|
-
attr_reader :resolution
|
|
2396
|
-
|
|
2397
|
-
def self.inner_class_types
|
|
2398
|
-
@inner_class_types = {}
|
|
2399
|
-
end
|
|
2400
|
-
|
|
2401
|
-
def self.field_remappings
|
|
2402
|
-
@field_remappings = {}
|
|
2403
|
-
end
|
|
2404
|
-
end
|
|
2405
|
-
# The status of the Capability.
|
|
2406
|
-
attr_reader :status
|
|
2407
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2408
|
-
attr_reader :status_details
|
|
2409
|
-
|
|
2410
|
-
def self.inner_class_types
|
|
2411
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2412
|
-
end
|
|
2413
|
-
|
|
2414
|
-
def self.field_remappings
|
|
2415
|
-
@field_remappings = {}
|
|
2416
|
-
end
|
|
2417
|
-
end
|
|
2418
|
-
|
|
2419
|
-
class Cards < ::Stripe::StripeObject
|
|
2420
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2421
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2422
|
-
attr_reader :code
|
|
2423
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2424
|
-
attr_reader :resolution
|
|
2425
|
-
|
|
2426
|
-
def self.inner_class_types
|
|
2427
|
-
@inner_class_types = {}
|
|
2428
|
-
end
|
|
2429
|
-
|
|
2430
|
-
def self.field_remappings
|
|
2431
|
-
@field_remappings = {}
|
|
2432
|
-
end
|
|
2433
|
-
end
|
|
2434
|
-
# The status of the Capability.
|
|
2435
|
-
attr_reader :status
|
|
2436
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2437
|
-
attr_reader :status_details
|
|
2438
|
-
|
|
2439
|
-
def self.inner_class_types
|
|
2440
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2441
|
-
end
|
|
2442
|
-
|
|
2443
|
-
def self.field_remappings
|
|
2444
|
-
@field_remappings = {}
|
|
2445
|
-
end
|
|
2446
|
-
end
|
|
2447
|
-
|
|
2448
|
-
class FinancialAccounts < ::Stripe::StripeObject
|
|
2449
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2450
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2451
|
-
attr_reader :code
|
|
2452
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2453
|
-
attr_reader :resolution
|
|
2454
|
-
|
|
2455
|
-
def self.inner_class_types
|
|
2456
|
-
@inner_class_types = {}
|
|
2457
|
-
end
|
|
2458
|
-
|
|
2459
|
-
def self.field_remappings
|
|
2460
|
-
@field_remappings = {}
|
|
2461
|
-
end
|
|
2462
|
-
end
|
|
2463
|
-
# The status of the Capability.
|
|
2464
|
-
attr_reader :status
|
|
2465
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2466
|
-
attr_reader :status_details
|
|
2467
|
-
|
|
2468
|
-
def self.inner_class_types
|
|
2469
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2470
|
-
end
|
|
2471
|
-
|
|
2472
|
-
def self.field_remappings
|
|
2473
|
-
@field_remappings = {}
|
|
2474
|
-
end
|
|
2475
|
-
end
|
|
2476
|
-
# Can send funds from a FinancialAccount to a bank account owned by a different entity.
|
|
2477
|
-
attr_reader :bank_accounts
|
|
2478
|
-
# Can send funds from a FinancialAccount to a debit card owned by a different entity.
|
|
2479
|
-
attr_reader :cards
|
|
2480
|
-
# Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity.
|
|
2481
|
-
attr_reader :financial_accounts
|
|
2482
|
-
|
|
2483
|
-
def self.inner_class_types
|
|
2484
|
-
@inner_class_types = {
|
|
2485
|
-
bank_accounts: BankAccounts,
|
|
2486
|
-
cards: Cards,
|
|
2487
|
-
financial_accounts: FinancialAccounts,
|
|
2488
|
-
}
|
|
2489
|
-
end
|
|
2490
|
-
|
|
2491
|
-
def self.field_remappings
|
|
2492
|
-
@field_remappings = {}
|
|
2493
|
-
end
|
|
2494
|
-
end
|
|
2495
|
-
|
|
2496
|
-
class OutboundTransfers < ::Stripe::StripeObject
|
|
2497
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2498
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2499
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2500
|
-
attr_reader :code
|
|
2501
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2502
|
-
attr_reader :resolution
|
|
2503
|
-
|
|
2504
|
-
def self.inner_class_types
|
|
2505
|
-
@inner_class_types = {}
|
|
2506
|
-
end
|
|
2507
|
-
|
|
2508
|
-
def self.field_remappings
|
|
2509
|
-
@field_remappings = {}
|
|
2510
|
-
end
|
|
2511
|
-
end
|
|
2512
|
-
# The status of the Capability.
|
|
2513
|
-
attr_reader :status
|
|
2514
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2515
|
-
attr_reader :status_details
|
|
2516
|
-
|
|
2517
|
-
def self.inner_class_types
|
|
2518
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2519
|
-
end
|
|
2520
|
-
|
|
2521
|
-
def self.field_remappings
|
|
2522
|
-
@field_remappings = {}
|
|
2523
|
-
end
|
|
2524
|
-
end
|
|
2525
|
-
|
|
2526
|
-
class FinancialAccounts < ::Stripe::StripeObject
|
|
2527
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2528
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2529
|
-
attr_reader :code
|
|
2530
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2531
|
-
attr_reader :resolution
|
|
2532
|
-
|
|
2533
|
-
def self.inner_class_types
|
|
2534
|
-
@inner_class_types = {}
|
|
2535
|
-
end
|
|
2536
|
-
|
|
2537
|
-
def self.field_remappings
|
|
2538
|
-
@field_remappings = {}
|
|
2539
|
-
end
|
|
2540
|
-
end
|
|
2541
|
-
# The status of the Capability.
|
|
2542
|
-
attr_reader :status
|
|
2543
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2544
|
-
attr_reader :status_details
|
|
2545
|
-
|
|
2546
|
-
def self.inner_class_types
|
|
2547
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2548
|
-
end
|
|
2549
|
-
|
|
2550
|
-
def self.field_remappings
|
|
2551
|
-
@field_remappings = {}
|
|
2552
|
-
end
|
|
2553
|
-
end
|
|
2554
|
-
# Can send funds from a FinancialAccount to a bank account belonging to the same user.
|
|
2555
|
-
attr_reader :bank_accounts
|
|
2556
|
-
# Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user.
|
|
2557
|
-
attr_reader :financial_accounts
|
|
2558
|
-
|
|
2559
|
-
def self.inner_class_types
|
|
2560
|
-
@inner_class_types = {
|
|
2561
|
-
bank_accounts: BankAccounts,
|
|
2562
|
-
financial_accounts: FinancialAccounts,
|
|
2563
|
-
}
|
|
2564
|
-
end
|
|
2565
|
-
|
|
2566
|
-
def self.field_remappings
|
|
2567
|
-
@field_remappings = {}
|
|
2568
|
-
end
|
|
2569
|
-
end
|
|
2570
|
-
# Can provision a financial address to credit/debit a FinancialAccount.
|
|
2571
|
-
attr_reader :financial_addresses
|
|
2572
|
-
# Can hold storage-type funds on Stripe.
|
|
2573
|
-
attr_reader :holds_currencies
|
|
2574
|
-
# Hash containing capabilities related to InboundTransfers.
|
|
2575
|
-
attr_reader :inbound_transfers
|
|
2576
|
-
# Hash containing capabilities related to [OutboundPayments](/api/treasury/outbound_payments?api-version=preview).
|
|
2577
|
-
attr_reader :outbound_payments
|
|
2578
|
-
# Hash containing capabilities related to [OutboundTransfers](/api/treasury/outbound_transfers?api-version=preview).
|
|
2579
|
-
attr_reader :outbound_transfers
|
|
2580
|
-
|
|
2581
|
-
def self.inner_class_types
|
|
2582
|
-
@inner_class_types = {
|
|
2583
|
-
financial_addresses: FinancialAddresses,
|
|
2584
|
-
holds_currencies: HoldsCurrencies,
|
|
2585
|
-
inbound_transfers: InboundTransfers,
|
|
2586
|
-
outbound_payments: OutboundPayments,
|
|
2587
|
-
outbound_transfers: OutboundTransfers,
|
|
2588
|
-
}
|
|
2589
|
-
end
|
|
2590
|
-
|
|
2591
|
-
def self.field_remappings
|
|
2592
|
-
@field_remappings = {}
|
|
2593
|
-
end
|
|
2594
|
-
end
|
|
2595
|
-
# Indicates whether the storer configuration is active. You cannot deactivate (or reactivate) the storer configuration by updating this property.
|
|
2596
|
-
attr_reader :applied
|
|
2597
|
-
# Capabilities that have been requested on the Storer Configuration.
|
|
2598
|
-
attr_reader :capabilities
|
|
2599
2032
|
|
|
2600
2033
|
def self.inner_class_types
|
|
2601
2034
|
@inner_class_types = { capabilities: Capabilities }
|
|
@@ -2605,22 +2038,15 @@ module Stripe
|
|
|
2605
2038
|
@field_remappings = {}
|
|
2606
2039
|
end
|
|
2607
2040
|
end
|
|
2608
|
-
# The Customer Configuration allows the Account to be used in inbound payment flows.
|
|
2041
|
+
# The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows).
|
|
2609
2042
|
attr_reader :customer
|
|
2610
2043
|
# 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.
|
|
2611
2044
|
attr_reader :merchant
|
|
2612
2045
|
# 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.
|
|
2613
2046
|
attr_reader :recipient
|
|
2614
|
-
# The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
2615
|
-
attr_reader :storer
|
|
2616
2047
|
|
|
2617
2048
|
def self.inner_class_types
|
|
2618
|
-
@inner_class_types = {
|
|
2619
|
-
customer: Customer,
|
|
2620
|
-
merchant: Merchant,
|
|
2621
|
-
recipient: Recipient,
|
|
2622
|
-
storer: Storer,
|
|
2623
|
-
}
|
|
2049
|
+
@inner_class_types = { customer: Customer, merchant: Merchant, recipient: Recipient }
|
|
2624
2050
|
end
|
|
2625
2051
|
|
|
2626
2052
|
def self.field_remappings
|
|
@@ -2670,8 +2096,6 @@ module Stripe
|
|
|
2670
2096
|
attr_reader :profile
|
|
2671
2097
|
# Default responsibilities held by either Stripe or the platform.
|
|
2672
2098
|
attr_reader :responsibilities
|
|
2673
|
-
# The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).
|
|
2674
|
-
attr_reader :timezone
|
|
2675
2099
|
|
|
2676
2100
|
def self.inner_class_types
|
|
2677
2101
|
@inner_class_types = { profile: Profile, responsibilities: Responsibilities }
|
|
@@ -2944,30 +2368,11 @@ module Stripe
|
|
|
2944
2368
|
@field_remappings = {}
|
|
2945
2369
|
end
|
|
2946
2370
|
end
|
|
2947
|
-
|
|
2948
|
-
class Storer < ::Stripe::StripeObject
|
|
2949
|
-
# 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.
|
|
2950
|
-
attr_reader :date
|
|
2951
|
-
# The IP address from which the Account's representative accepted the terms of service.
|
|
2952
|
-
attr_reader :ip
|
|
2953
|
-
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
2954
|
-
attr_reader :user_agent
|
|
2955
|
-
|
|
2956
|
-
def self.inner_class_types
|
|
2957
|
-
@inner_class_types = {}
|
|
2958
|
-
end
|
|
2959
|
-
|
|
2960
|
-
def self.field_remappings
|
|
2961
|
-
@field_remappings = {}
|
|
2962
|
-
end
|
|
2963
|
-
end
|
|
2964
2371
|
# Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
|
|
2965
2372
|
attr_reader :account
|
|
2966
|
-
# Details on the Account's acceptance of Treasury-specific terms of service.
|
|
2967
|
-
attr_reader :storer
|
|
2968
2373
|
|
|
2969
2374
|
def self.inner_class_types
|
|
2970
|
-
@inner_class_types = { account: Account
|
|
2375
|
+
@inner_class_types = { account: Account }
|
|
2971
2376
|
end
|
|
2972
2377
|
|
|
2973
2378
|
def self.field_remappings
|
|
@@ -3177,13 +2582,27 @@ module Stripe
|
|
|
3177
2582
|
end
|
|
3178
2583
|
|
|
3179
2584
|
class ProofOfRegistration < ::Stripe::StripeObject
|
|
2585
|
+
class Signer < ::Stripe::StripeObject
|
|
2586
|
+
# Person signing the document.
|
|
2587
|
+
attr_reader :person
|
|
2588
|
+
|
|
2589
|
+
def self.inner_class_types
|
|
2590
|
+
@inner_class_types = {}
|
|
2591
|
+
end
|
|
2592
|
+
|
|
2593
|
+
def self.field_remappings
|
|
2594
|
+
@field_remappings = {}
|
|
2595
|
+
end
|
|
2596
|
+
end
|
|
3180
2597
|
# One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
3181
2598
|
attr_reader :files
|
|
2599
|
+
# Person that is signing the document.
|
|
2600
|
+
attr_reader :signer
|
|
3182
2601
|
# The format of the document. Currently supports `files` only.
|
|
3183
2602
|
attr_reader :type
|
|
3184
2603
|
|
|
3185
2604
|
def self.inner_class_types
|
|
3186
|
-
@inner_class_types = {}
|
|
2605
|
+
@inner_class_types = { signer: Signer }
|
|
3187
2606
|
end
|
|
3188
2607
|
|
|
3189
2608
|
def self.field_remappings
|
|
@@ -3192,13 +2611,27 @@ module Stripe
|
|
|
3192
2611
|
end
|
|
3193
2612
|
|
|
3194
2613
|
class ProofOfUltimateBeneficialOwnership < ::Stripe::StripeObject
|
|
2614
|
+
class Signer < ::Stripe::StripeObject
|
|
2615
|
+
# Person signing the document.
|
|
2616
|
+
attr_reader :person
|
|
2617
|
+
|
|
2618
|
+
def self.inner_class_types
|
|
2619
|
+
@inner_class_types = {}
|
|
2620
|
+
end
|
|
2621
|
+
|
|
2622
|
+
def self.field_remappings
|
|
2623
|
+
@field_remappings = {}
|
|
2624
|
+
end
|
|
2625
|
+
end
|
|
3195
2626
|
# One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
|
|
3196
2627
|
attr_reader :files
|
|
2628
|
+
# Person that is signing the document.
|
|
2629
|
+
attr_reader :signer
|
|
3197
2630
|
# The format of the document. Currently supports `files` only.
|
|
3198
2631
|
attr_reader :type
|
|
3199
2632
|
|
|
3200
2633
|
def self.inner_class_types
|
|
3201
|
-
@inner_class_types = {}
|
|
2634
|
+
@inner_class_types = { signer: Signer }
|
|
3202
2635
|
end
|
|
3203
2636
|
|
|
3204
2637
|
def self.field_remappings
|
|
@@ -3851,7 +3284,7 @@ module Stripe
|
|
|
3851
3284
|
attr_reader :date_of_birth
|
|
3852
3285
|
# Documents that may be submitted to satisfy various informational requests.
|
|
3853
3286
|
attr_reader :documents
|
|
3854
|
-
# The individual's email address.
|
|
3287
|
+
# The individual's email address. You can only set this field when the Account is configured as a `merchant` or `recipient`. Use `contact_email` as the primary contact email for this Account.
|
|
3855
3288
|
attr_reader :email
|
|
3856
3289
|
# The individual's first name.
|
|
3857
3290
|
attr_reader :given_name
|
|
@@ -3913,7 +3346,7 @@ module Stripe
|
|
|
3913
3346
|
attr_reader :business_details
|
|
3914
3347
|
# The country in which the account holder resides, or in which the business is legally established. This should be an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
|
|
3915
3348
|
attr_reader :country
|
|
3916
|
-
# The entity type.
|
|
3349
|
+
# The entity type represented by the Account. Ensure this field is accurate before adding configurations that rely on identity information, as it determines which identity fields apply and how the Account is validated.
|
|
3917
3350
|
attr_reader :entity_type
|
|
3918
3351
|
# Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
|
|
3919
3352
|
attr_reader :individual
|
|
@@ -4118,7 +3551,7 @@ module Stripe
|
|
|
4118
3551
|
attr_reader :closed
|
|
4119
3552
|
# 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.
|
|
4120
3553
|
attr_reader :configuration
|
|
4121
|
-
# The
|
|
3554
|
+
# The primary contact email address for the Account.
|
|
4122
3555
|
attr_reader :contact_email
|
|
4123
3556
|
# The default contact phone for the Account.
|
|
4124
3557
|
attr_reader :contact_phone
|