stripe 19.3.0.pre.beta.1 → 19.3.1
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 +9 -37
- data/lib/stripe/api_version.rb +2 -1
- data/lib/stripe/error_object.rb +43 -19
- data/lib/stripe/errors.rb +0 -87
- data/lib/stripe/event_types.rb +0 -228
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -61
- data/lib/stripe/params/account_create_params.rb +2 -375
- data/lib/stripe/params/account_session_create_params.rb +1 -226
- data/lib/stripe/params/account_update_params.rb +1 -337
- data/lib/stripe/params/balance_transaction_list_params.rb +1 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +1 -1
- data/lib/stripe/params/charge_capture_params.rb +0 -1646
- data/lib/stripe/params/charge_update_params.rb +0 -1646
- data/lib/stripe/params/checkout/session_create_params.rb +50 -128
- data/lib/stripe/params/checkout/session_update_params.rb +1 -176
- data/lib/stripe/params/confirmation_token_create_params.rb +1 -79
- data/lib/stripe/params/coupon_create_params.rb +1 -17
- data/lib/stripe/params/credit_note_create_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/customer_session_create_params.rb +1 -32
- data/lib/stripe/params/dispute_update_params.rb +18 -11
- data/lib/stripe/params/financial_connections/session_create_params.rb +2 -64
- data/lib/stripe/params/invoice_add_lines_params.rb +2 -49
- 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 +10 -791
- 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 +2 -49
- data/lib/stripe/params/invoice_update_lines_params.rb +2 -49
- 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 +1 -1643
- data/lib/stripe/params/payment_intent_confirm_params.rb +116 -3016
- data/lib/stripe/params/payment_intent_create_params.rb +128 -3028
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_search_params.rb +1 -1
- data/lib/stripe/params/payment_intent_update_params.rb +86 -3017
- data/lib/stripe/params/payment_link_create_params.rb +1 -16
- data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -105
- data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -105
- data/lib/stripe/params/payment_method_create_params.rb +1 -75
- 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 +4 -109
- data/lib/stripe/params/setup_intent_create_params.rb +4 -109
- data/lib/stripe/params/setup_intent_update_params.rb +4 -109
- data/lib/stripe/params/subscription_create_params.rb +34 -171
- data/lib/stripe/params/subscription_item_create_params.rb +2 -62
- data/lib/stripe/params/subscription_item_update_params.rb +1 -45
- data/lib/stripe/params/subscription_resume_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_create_params.rb +5 -167
- data/lib/stripe/params/subscription_schedule_update_params.rb +5 -167
- data/lib/stripe/params/subscription_update_params.rb +34 -155
- 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 +0 -13
- data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +1 -79
- 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/topup_create_params.rb +24 -0
- 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 +18 -282
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -13
- data/lib/stripe/params/v2/core/account_update_params.rb +25 -282
- data/lib/stripe/params.rb +0 -426
- data/lib/stripe/resources/account.rb +1 -259
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_transaction.rb +3 -3
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +0 -2
- data/lib/stripe/resources/charge.rb +7 -211
- data/lib/stripe/resources/checkout/session.rb +53 -75
- data/lib/stripe/resources/confirmation_token.rb +9 -131
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note.rb +2 -0
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +32 -22
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +8 -33
- data/lib/stripe/resources/financial_connections/session.rb +1 -125
- data/lib/stripe/resources/invoice.rb +1 -117
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/transaction.rb +0 -2
- data/lib/stripe/resources/line_item.rb +0 -42
- data/lib/stripe/resources/mandate.rb +0 -12
- data/lib/stripe/resources/payment_attempt_record.rb +3 -179
- data/lib/stripe/resources/payment_intent.rb +47 -1568
- data/lib/stripe/resources/payment_method.rb +9 -135
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +3 -179
- 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/refund.rb +0 -18
- data/lib/stripe/resources/reserve/hold.rb +18 -8
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +16 -35
- data/lib/stripe/resources/setup_intent.rb +1 -22
- data/lib/stripe/resources/source.rb +0 -38
- data/lib/stripe/resources/subscription.rb +23 -169
- data/lib/stripe/resources/subscription_item.rb +1 -41
- data/lib/stripe/resources/subscription_schedule.rb +3 -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 +0 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account.rb +0 -2
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/outbound_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 +2 -0
- data/lib/stripe/resources/v2/core/account.rb +155 -717
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources.rb +0 -417
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/balance_transaction_service.rb +2 -2
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_service.rb +0 -14
- data/lib/stripe/services/credit_note_service.rb +2 -0
- 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 -11
- 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/promotion_code_service.rb +0 -29
- 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 +1 -57
- 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_service.rb +1 -3
- data/lib/stripe/services/v2_services.rb +1 -8
- data/lib/stripe/services.rb +0 -209
- 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/telemetry_id.rb +65 -0
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +2 -54
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -3
- data/rbi/stripe/stripe_client.rbi +0 -13
- data/rbi/stripe.rbi +52694 -118800
- metadata +8 -382
- 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_pause_params.rb +0 -50
- 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/iam/activity_log_retrieve_params.rb +0 -10
- 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 -88
- 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 -106
- data/lib/stripe/resources/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1183
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -736
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1792
- 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 -488
- 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/data_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 -32
- 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 -582
|
@@ -1454,6 +1454,35 @@ module Stripe
|
|
|
1454
1454
|
end
|
|
1455
1455
|
end
|
|
1456
1456
|
|
|
1457
|
+
class SunbitPayments < ::Stripe::StripeObject
|
|
1458
|
+
class StatusDetail < ::Stripe::StripeObject
|
|
1459
|
+
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
1460
|
+
attr_reader :code
|
|
1461
|
+
# Machine-readable code explaining how to make the Capability active.
|
|
1462
|
+
attr_reader :resolution
|
|
1463
|
+
|
|
1464
|
+
def self.inner_class_types
|
|
1465
|
+
@inner_class_types = {}
|
|
1466
|
+
end
|
|
1467
|
+
|
|
1468
|
+
def self.field_remappings
|
|
1469
|
+
@field_remappings = {}
|
|
1470
|
+
end
|
|
1471
|
+
end
|
|
1472
|
+
# The status of the Capability.
|
|
1473
|
+
attr_reader :status
|
|
1474
|
+
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
1475
|
+
attr_reader :status_details
|
|
1476
|
+
|
|
1477
|
+
def self.inner_class_types
|
|
1478
|
+
@inner_class_types = { status_details: StatusDetail }
|
|
1479
|
+
end
|
|
1480
|
+
|
|
1481
|
+
def self.field_remappings
|
|
1482
|
+
@field_remappings = {}
|
|
1483
|
+
end
|
|
1484
|
+
end
|
|
1485
|
+
|
|
1457
1486
|
class SwishPayments < ::Stripe::StripeObject
|
|
1458
1487
|
class StatusDetail < ::Stripe::StripeObject
|
|
1459
1488
|
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
@@ -1651,6 +1680,8 @@ module Stripe
|
|
|
1651
1680
|
attr_reader :sepa_debit_payments
|
|
1652
1681
|
# Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance).
|
|
1653
1682
|
attr_reader :stripe_balance
|
|
1683
|
+
# Allow the merchant to process Sunbit payments.
|
|
1684
|
+
attr_reader :sunbit_payments
|
|
1654
1685
|
# Allow the merchant to process Swish payments.
|
|
1655
1686
|
attr_reader :swish_payments
|
|
1656
1687
|
# Allow the merchant to process TWINT payments.
|
|
@@ -1703,6 +1734,7 @@ module Stripe
|
|
|
1703
1734
|
sepa_bank_transfer_payments: SepaBankTransferPayments,
|
|
1704
1735
|
sepa_debit_payments: SepaDebitPayments,
|
|
1705
1736
|
stripe_balance: StripeBalance,
|
|
1737
|
+
sunbit_payments: SunbitPayments,
|
|
1706
1738
|
swish_payments: SwishPayments,
|
|
1707
1739
|
twint_payments: TwintPayments,
|
|
1708
1740
|
us_bank_transfer_payments: UsBankTransferPayments,
|
|
@@ -1842,33 +1874,6 @@ module Stripe
|
|
|
1842
1874
|
end
|
|
1843
1875
|
end
|
|
1844
1876
|
|
|
1845
|
-
class SmartDisputes < ::Stripe::StripeObject
|
|
1846
|
-
class AutoRespond < ::Stripe::StripeObject
|
|
1847
|
-
# The preference for automatic dispute responses.
|
|
1848
|
-
attr_reader :preference
|
|
1849
|
-
# The effective value for automatic dispute responses.
|
|
1850
|
-
attr_reader :value
|
|
1851
|
-
|
|
1852
|
-
def self.inner_class_types
|
|
1853
|
-
@inner_class_types = {}
|
|
1854
|
-
end
|
|
1855
|
-
|
|
1856
|
-
def self.field_remappings
|
|
1857
|
-
@field_remappings = {}
|
|
1858
|
-
end
|
|
1859
|
-
end
|
|
1860
|
-
# Settings for Smart Disputes auto_respond.
|
|
1861
|
-
attr_reader :auto_respond
|
|
1862
|
-
|
|
1863
|
-
def self.inner_class_types
|
|
1864
|
-
@inner_class_types = { auto_respond: AutoRespond }
|
|
1865
|
-
end
|
|
1866
|
-
|
|
1867
|
-
def self.field_remappings
|
|
1868
|
-
@field_remappings = {}
|
|
1869
|
-
end
|
|
1870
|
-
end
|
|
1871
|
-
|
|
1872
1877
|
class StatementDescriptor < ::Stripe::StripeObject
|
|
1873
1878
|
# 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.
|
|
1874
1879
|
attr_reader :descriptor
|
|
@@ -1944,8 +1949,6 @@ module Stripe
|
|
|
1944
1949
|
attr_reader :script_statement_descriptor
|
|
1945
1950
|
# Settings for SEPA Direct Debit payments.
|
|
1946
1951
|
attr_reader :sepa_debit_payments
|
|
1947
|
-
# Settings for Smart Disputes automatic response feature.
|
|
1948
|
-
attr_reader :smart_disputes
|
|
1949
1952
|
# Statement descriptor.
|
|
1950
1953
|
attr_reader :statement_descriptor
|
|
1951
1954
|
# Publicly available contact information for sending support issues to.
|
|
@@ -1960,7 +1963,6 @@ module Stripe
|
|
|
1960
1963
|
konbini_payments: KonbiniPayments,
|
|
1961
1964
|
script_statement_descriptor: ScriptStatementDescriptor,
|
|
1962
1965
|
sepa_debit_payments: SepaDebitPayments,
|
|
1963
|
-
smart_disputes: SmartDisputes,
|
|
1964
1966
|
statement_descriptor: StatementDescriptor,
|
|
1965
1967
|
support: Support,
|
|
1966
1968
|
}
|
|
@@ -1973,8 +1975,8 @@ module Stripe
|
|
|
1973
1975
|
|
|
1974
1976
|
class Recipient < ::Stripe::StripeObject
|
|
1975
1977
|
class Capabilities < ::Stripe::StripeObject
|
|
1976
|
-
class
|
|
1977
|
-
class
|
|
1978
|
+
class StripeBalance < ::Stripe::StripeObject
|
|
1979
|
+
class Payouts < ::Stripe::StripeObject
|
|
1978
1980
|
class StatusDetail < ::Stripe::StripeObject
|
|
1979
1981
|
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
1980
1982
|
attr_reader :code
|
|
@@ -2003,7 +2005,7 @@ module Stripe
|
|
|
2003
2005
|
end
|
|
2004
2006
|
end
|
|
2005
2007
|
|
|
2006
|
-
class
|
|
2008
|
+
class StripeTransfers < ::Stripe::StripeObject
|
|
2007
2009
|
class StatusDetail < ::Stripe::StripeObject
|
|
2008
2010
|
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2009
2011
|
attr_reader :code
|
|
@@ -2031,133 +2033,162 @@ module Stripe
|
|
|
2031
2033
|
@field_remappings = {}
|
|
2032
2034
|
end
|
|
2033
2035
|
end
|
|
2034
|
-
# Enables this Account to
|
|
2035
|
-
attr_reader :
|
|
2036
|
-
# Enables this Account to receive
|
|
2037
|
-
attr_reader :
|
|
2036
|
+
# Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
|
|
2037
|
+
attr_reader :payouts
|
|
2038
|
+
# Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
2039
|
+
attr_reader :stripe_transfers
|
|
2038
2040
|
|
|
2039
2041
|
def self.inner_class_types
|
|
2040
|
-
@inner_class_types = {
|
|
2042
|
+
@inner_class_types = { payouts: Payouts, stripe_transfers: StripeTransfers }
|
|
2041
2043
|
end
|
|
2042
2044
|
|
|
2043
2045
|
def self.field_remappings
|
|
2044
2046
|
@field_remappings = {}
|
|
2045
2047
|
end
|
|
2046
2048
|
end
|
|
2049
|
+
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
2050
|
+
attr_reader :stripe_balance
|
|
2047
2051
|
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
attr_reader :code
|
|
2052
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2053
|
-
attr_reader :resolution
|
|
2052
|
+
def self.inner_class_types
|
|
2053
|
+
@inner_class_types = { stripe_balance: StripeBalance }
|
|
2054
|
+
end
|
|
2054
2055
|
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2056
|
+
def self.field_remappings
|
|
2057
|
+
@field_remappings = {}
|
|
2058
|
+
end
|
|
2059
|
+
end
|
|
2060
|
+
# 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.
|
|
2061
|
+
attr_reader :applied
|
|
2062
|
+
# Capabilities that have been requested on the Recipient Configuration.
|
|
2063
|
+
attr_reader :capabilities
|
|
2058
2064
|
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
end
|
|
2063
|
-
# The status of the Capability.
|
|
2064
|
-
attr_reader :status
|
|
2065
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2066
|
-
attr_reader :status_details
|
|
2065
|
+
def self.inner_class_types
|
|
2066
|
+
@inner_class_types = { capabilities: Capabilities }
|
|
2067
|
+
end
|
|
2067
2068
|
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2069
|
+
def self.field_remappings
|
|
2070
|
+
@field_remappings = {}
|
|
2071
|
+
end
|
|
2072
|
+
end
|
|
2073
|
+
# The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows).
|
|
2074
|
+
attr_reader :customer
|
|
2075
|
+
# 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.
|
|
2076
|
+
attr_reader :merchant
|
|
2077
|
+
# 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.
|
|
2078
|
+
attr_reader :recipient
|
|
2071
2079
|
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
end
|
|
2080
|
+
def self.inner_class_types
|
|
2081
|
+
@inner_class_types = { customer: Customer, merchant: Merchant, recipient: Recipient }
|
|
2082
|
+
end
|
|
2076
2083
|
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
attr_reader :code
|
|
2082
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2083
|
-
attr_reader :resolution
|
|
2084
|
+
def self.field_remappings
|
|
2085
|
+
@field_remappings = {}
|
|
2086
|
+
end
|
|
2087
|
+
end
|
|
2084
2088
|
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2089
|
+
class Defaults < ::Stripe::StripeObject
|
|
2090
|
+
class Profile < ::Stripe::StripeObject
|
|
2091
|
+
# The business's publicly-available website.
|
|
2092
|
+
attr_reader :business_url
|
|
2093
|
+
# The customer-facing business name.
|
|
2094
|
+
attr_reader :doing_business_as
|
|
2095
|
+
# Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
|
|
2096
|
+
attr_reader :product_description
|
|
2088
2097
|
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
end
|
|
2093
|
-
# The status of the Capability.
|
|
2094
|
-
attr_reader :status
|
|
2095
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2096
|
-
attr_reader :status_details
|
|
2098
|
+
def self.inner_class_types
|
|
2099
|
+
@inner_class_types = {}
|
|
2100
|
+
end
|
|
2097
2101
|
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2102
|
+
def self.field_remappings
|
|
2103
|
+
@field_remappings = {}
|
|
2104
|
+
end
|
|
2105
|
+
end
|
|
2101
2106
|
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2107
|
+
class Responsibilities < ::Stripe::StripeObject
|
|
2108
|
+
# Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products.
|
|
2109
|
+
attr_reader :fees_collector
|
|
2110
|
+
# A value indicating the responsibility for losses on this account.
|
|
2111
|
+
attr_reader :losses_collector
|
|
2112
|
+
# A value indicating responsibility for collecting requirements on this account.
|
|
2113
|
+
attr_reader :requirements_collector
|
|
2106
2114
|
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
attr_reader :code
|
|
2111
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2112
|
-
attr_reader :resolution
|
|
2115
|
+
def self.inner_class_types
|
|
2116
|
+
@inner_class_types = {}
|
|
2117
|
+
end
|
|
2113
2118
|
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2119
|
+
def self.field_remappings
|
|
2120
|
+
@field_remappings = {}
|
|
2121
|
+
end
|
|
2122
|
+
end
|
|
2123
|
+
# 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).
|
|
2124
|
+
attr_reader :currency
|
|
2125
|
+
# The Account's preferred locales (languages), ordered by preference.
|
|
2126
|
+
attr_reader :locales
|
|
2127
|
+
# Account profile information.
|
|
2128
|
+
attr_reader :profile
|
|
2129
|
+
# Default responsibilities held by either Stripe or the platform.
|
|
2130
|
+
attr_reader :responsibilities
|
|
2117
2131
|
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2132
|
+
def self.inner_class_types
|
|
2133
|
+
@inner_class_types = { profile: Profile, responsibilities: Responsibilities }
|
|
2134
|
+
end
|
|
2135
|
+
|
|
2136
|
+
def self.field_remappings
|
|
2137
|
+
@field_remappings = {}
|
|
2138
|
+
end
|
|
2139
|
+
end
|
|
2140
|
+
|
|
2141
|
+
class FutureRequirements < ::Stripe::StripeObject
|
|
2142
|
+
class Entry < ::Stripe::StripeObject
|
|
2143
|
+
class Error < ::Stripe::StripeObject
|
|
2144
|
+
# Machine-readable code describing the error.
|
|
2145
|
+
attr_reader :code
|
|
2146
|
+
# Human-readable description of the error.
|
|
2147
|
+
attr_reader :description
|
|
2148
|
+
|
|
2149
|
+
def self.inner_class_types
|
|
2150
|
+
@inner_class_types = {}
|
|
2151
|
+
end
|
|
2152
|
+
|
|
2153
|
+
def self.field_remappings
|
|
2154
|
+
@field_remappings = {}
|
|
2155
|
+
end
|
|
2156
|
+
end
|
|
2157
|
+
|
|
2158
|
+
class Impact < ::Stripe::StripeObject
|
|
2159
|
+
class RestrictsCapability < ::Stripe::StripeObject
|
|
2160
|
+
class Deadline < ::Stripe::StripeObject
|
|
2161
|
+
# The current status of the requirement's impact.
|
|
2123
2162
|
attr_reader :status
|
|
2124
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2125
|
-
attr_reader :status_details
|
|
2126
2163
|
|
|
2127
2164
|
def self.inner_class_types
|
|
2128
|
-
@inner_class_types = {
|
|
2165
|
+
@inner_class_types = {}
|
|
2129
2166
|
end
|
|
2130
2167
|
|
|
2131
2168
|
def self.field_remappings
|
|
2132
2169
|
@field_remappings = {}
|
|
2133
2170
|
end
|
|
2134
2171
|
end
|
|
2135
|
-
#
|
|
2136
|
-
attr_reader :
|
|
2137
|
-
#
|
|
2138
|
-
attr_reader :
|
|
2172
|
+
# The name of the Capability which will be restricted.
|
|
2173
|
+
attr_reader :capability
|
|
2174
|
+
# The configuration which specifies the Capability which will be restricted.
|
|
2175
|
+
attr_reader :configuration
|
|
2176
|
+
# Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
|
|
2177
|
+
attr_reader :deadline
|
|
2139
2178
|
|
|
2140
2179
|
def self.inner_class_types
|
|
2141
|
-
@inner_class_types = {
|
|
2180
|
+
@inner_class_types = { deadline: Deadline }
|
|
2142
2181
|
end
|
|
2143
2182
|
|
|
2144
2183
|
def self.field_remappings
|
|
2145
2184
|
@field_remappings = {}
|
|
2146
2185
|
end
|
|
2147
2186
|
end
|
|
2148
|
-
# Capabilities that
|
|
2149
|
-
attr_reader :
|
|
2150
|
-
# Enables this Account to receive OutboundPayments to a linked debit card.
|
|
2151
|
-
attr_reader :cards
|
|
2152
|
-
# Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
2153
|
-
attr_reader :stripe_balance
|
|
2187
|
+
# The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
|
|
2188
|
+
attr_reader :restricts_capabilities
|
|
2154
2189
|
|
|
2155
2190
|
def self.inner_class_types
|
|
2156
|
-
@inner_class_types = {
|
|
2157
|
-
bank_accounts: BankAccounts,
|
|
2158
|
-
cards: Cards,
|
|
2159
|
-
stripe_balance: StripeBalance,
|
|
2160
|
-
}
|
|
2191
|
+
@inner_class_types = { restricts_capabilities: RestrictsCapability }
|
|
2161
2192
|
end
|
|
2162
2193
|
|
|
2163
2194
|
def self.field_remappings
|
|
@@ -2165,583 +2196,9 @@ module Stripe
|
|
|
2165
2196
|
end
|
|
2166
2197
|
end
|
|
2167
2198
|
|
|
2168
|
-
class
|
|
2169
|
-
# The
|
|
2170
|
-
attr_reader :
|
|
2171
|
-
# Closed Enum. The payout method type of the default outbound destination.
|
|
2172
|
-
attr_reader :type
|
|
2173
|
-
|
|
2174
|
-
def self.inner_class_types
|
|
2175
|
-
@inner_class_types = {}
|
|
2176
|
-
end
|
|
2177
|
-
|
|
2178
|
-
def self.field_remappings
|
|
2179
|
-
@field_remappings = {}
|
|
2180
|
-
end
|
|
2181
|
-
end
|
|
2182
|
-
# 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.
|
|
2183
|
-
attr_reader :applied
|
|
2184
|
-
# Capabilities that have been requested on the Recipient Configuration.
|
|
2185
|
-
attr_reader :capabilities
|
|
2186
|
-
# 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.
|
|
2187
|
-
attr_reader :default_outbound_destination
|
|
2188
|
-
|
|
2189
|
-
def self.inner_class_types
|
|
2190
|
-
@inner_class_types = {
|
|
2191
|
-
capabilities: Capabilities,
|
|
2192
|
-
default_outbound_destination: DefaultOutboundDestination,
|
|
2193
|
-
}
|
|
2194
|
-
end
|
|
2195
|
-
|
|
2196
|
-
def self.field_remappings
|
|
2197
|
-
@field_remappings = {}
|
|
2198
|
-
end
|
|
2199
|
-
end
|
|
2200
|
-
|
|
2201
|
-
class Storer < ::Stripe::StripeObject
|
|
2202
|
-
class Capabilities < ::Stripe::StripeObject
|
|
2203
|
-
class FinancialAddresses < ::Stripe::StripeObject
|
|
2204
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2205
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2206
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2207
|
-
attr_reader :code
|
|
2208
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2209
|
-
attr_reader :resolution
|
|
2210
|
-
|
|
2211
|
-
def self.inner_class_types
|
|
2212
|
-
@inner_class_types = {}
|
|
2213
|
-
end
|
|
2214
|
-
|
|
2215
|
-
def self.field_remappings
|
|
2216
|
-
@field_remappings = {}
|
|
2217
|
-
end
|
|
2218
|
-
end
|
|
2219
|
-
# The status of the Capability.
|
|
2220
|
-
attr_reader :status
|
|
2221
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2222
|
-
attr_reader :status_details
|
|
2223
|
-
|
|
2224
|
-
def self.inner_class_types
|
|
2225
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2226
|
-
end
|
|
2227
|
-
|
|
2228
|
-
def self.field_remappings
|
|
2229
|
-
@field_remappings = {}
|
|
2230
|
-
end
|
|
2231
|
-
end
|
|
2232
|
-
# Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
2233
|
-
attr_reader :bank_accounts
|
|
2234
|
-
|
|
2235
|
-
def self.inner_class_types
|
|
2236
|
-
@inner_class_types = { bank_accounts: BankAccounts }
|
|
2237
|
-
end
|
|
2238
|
-
|
|
2239
|
-
def self.field_remappings
|
|
2240
|
-
@field_remappings = {}
|
|
2241
|
-
end
|
|
2242
|
-
end
|
|
2243
|
-
|
|
2244
|
-
class HoldsCurrencies < ::Stripe::StripeObject
|
|
2245
|
-
class Eur < ::Stripe::StripeObject
|
|
2246
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2247
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2248
|
-
attr_reader :code
|
|
2249
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2250
|
-
attr_reader :resolution
|
|
2251
|
-
|
|
2252
|
-
def self.inner_class_types
|
|
2253
|
-
@inner_class_types = {}
|
|
2254
|
-
end
|
|
2255
|
-
|
|
2256
|
-
def self.field_remappings
|
|
2257
|
-
@field_remappings = {}
|
|
2258
|
-
end
|
|
2259
|
-
end
|
|
2260
|
-
# The status of the Capability.
|
|
2261
|
-
attr_reader :status
|
|
2262
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2263
|
-
attr_reader :status_details
|
|
2264
|
-
|
|
2265
|
-
def self.inner_class_types
|
|
2266
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2267
|
-
end
|
|
2268
|
-
|
|
2269
|
-
def self.field_remappings
|
|
2270
|
-
@field_remappings = {}
|
|
2271
|
-
end
|
|
2272
|
-
end
|
|
2273
|
-
|
|
2274
|
-
class Gbp < ::Stripe::StripeObject
|
|
2275
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2276
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2277
|
-
attr_reader :code
|
|
2278
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2279
|
-
attr_reader :resolution
|
|
2280
|
-
|
|
2281
|
-
def self.inner_class_types
|
|
2282
|
-
@inner_class_types = {}
|
|
2283
|
-
end
|
|
2284
|
-
|
|
2285
|
-
def self.field_remappings
|
|
2286
|
-
@field_remappings = {}
|
|
2287
|
-
end
|
|
2288
|
-
end
|
|
2289
|
-
# The status of the Capability.
|
|
2290
|
-
attr_reader :status
|
|
2291
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2292
|
-
attr_reader :status_details
|
|
2293
|
-
|
|
2294
|
-
def self.inner_class_types
|
|
2295
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2296
|
-
end
|
|
2297
|
-
|
|
2298
|
-
def self.field_remappings
|
|
2299
|
-
@field_remappings = {}
|
|
2300
|
-
end
|
|
2301
|
-
end
|
|
2302
|
-
|
|
2303
|
-
class Usd < ::Stripe::StripeObject
|
|
2304
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2305
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2306
|
-
attr_reader :code
|
|
2307
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2308
|
-
attr_reader :resolution
|
|
2309
|
-
|
|
2310
|
-
def self.inner_class_types
|
|
2311
|
-
@inner_class_types = {}
|
|
2312
|
-
end
|
|
2313
|
-
|
|
2314
|
-
def self.field_remappings
|
|
2315
|
-
@field_remappings = {}
|
|
2316
|
-
end
|
|
2317
|
-
end
|
|
2318
|
-
# The status of the Capability.
|
|
2319
|
-
attr_reader :status
|
|
2320
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2321
|
-
attr_reader :status_details
|
|
2322
|
-
|
|
2323
|
-
def self.inner_class_types
|
|
2324
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2325
|
-
end
|
|
2326
|
-
|
|
2327
|
-
def self.field_remappings
|
|
2328
|
-
@field_remappings = {}
|
|
2329
|
-
end
|
|
2330
|
-
end
|
|
2331
|
-
# Can hold storage-type funds on Stripe in EUR.
|
|
2332
|
-
attr_reader :eur
|
|
2333
|
-
# Can hold storage-type funds on Stripe in GBP.
|
|
2334
|
-
attr_reader :gbp
|
|
2335
|
-
# Can hold storage-type funds on Stripe in USD.
|
|
2336
|
-
attr_reader :usd
|
|
2337
|
-
|
|
2338
|
-
def self.inner_class_types
|
|
2339
|
-
@inner_class_types = { eur: Eur, gbp: Gbp, usd: Usd }
|
|
2340
|
-
end
|
|
2341
|
-
|
|
2342
|
-
def self.field_remappings
|
|
2343
|
-
@field_remappings = {}
|
|
2344
|
-
end
|
|
2345
|
-
end
|
|
2346
|
-
|
|
2347
|
-
class InboundTransfers < ::Stripe::StripeObject
|
|
2348
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2349
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2350
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2351
|
-
attr_reader :code
|
|
2352
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2353
|
-
attr_reader :resolution
|
|
2354
|
-
|
|
2355
|
-
def self.inner_class_types
|
|
2356
|
-
@inner_class_types = {}
|
|
2357
|
-
end
|
|
2358
|
-
|
|
2359
|
-
def self.field_remappings
|
|
2360
|
-
@field_remappings = {}
|
|
2361
|
-
end
|
|
2362
|
-
end
|
|
2363
|
-
# The status of the Capability.
|
|
2364
|
-
attr_reader :status
|
|
2365
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2366
|
-
attr_reader :status_details
|
|
2367
|
-
|
|
2368
|
-
def self.inner_class_types
|
|
2369
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2370
|
-
end
|
|
2371
|
-
|
|
2372
|
-
def self.field_remappings
|
|
2373
|
-
@field_remappings = {}
|
|
2374
|
-
end
|
|
2375
|
-
end
|
|
2376
|
-
# Can pull funds into a FinancialAccount from an external bank account owned by the user.
|
|
2377
|
-
attr_reader :bank_accounts
|
|
2378
|
-
|
|
2379
|
-
def self.inner_class_types
|
|
2380
|
-
@inner_class_types = { bank_accounts: BankAccounts }
|
|
2381
|
-
end
|
|
2382
|
-
|
|
2383
|
-
def self.field_remappings
|
|
2384
|
-
@field_remappings = {}
|
|
2385
|
-
end
|
|
2386
|
-
end
|
|
2387
|
-
|
|
2388
|
-
class OutboundPayments < ::Stripe::StripeObject
|
|
2389
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2390
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2391
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2392
|
-
attr_reader :code
|
|
2393
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2394
|
-
attr_reader :resolution
|
|
2395
|
-
|
|
2396
|
-
def self.inner_class_types
|
|
2397
|
-
@inner_class_types = {}
|
|
2398
|
-
end
|
|
2399
|
-
|
|
2400
|
-
def self.field_remappings
|
|
2401
|
-
@field_remappings = {}
|
|
2402
|
-
end
|
|
2403
|
-
end
|
|
2404
|
-
# The status of the Capability.
|
|
2405
|
-
attr_reader :status
|
|
2406
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2407
|
-
attr_reader :status_details
|
|
2408
|
-
|
|
2409
|
-
def self.inner_class_types
|
|
2410
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2411
|
-
end
|
|
2412
|
-
|
|
2413
|
-
def self.field_remappings
|
|
2414
|
-
@field_remappings = {}
|
|
2415
|
-
end
|
|
2416
|
-
end
|
|
2417
|
-
|
|
2418
|
-
class Cards < ::Stripe::StripeObject
|
|
2419
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2420
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2421
|
-
attr_reader :code
|
|
2422
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2423
|
-
attr_reader :resolution
|
|
2424
|
-
|
|
2425
|
-
def self.inner_class_types
|
|
2426
|
-
@inner_class_types = {}
|
|
2427
|
-
end
|
|
2428
|
-
|
|
2429
|
-
def self.field_remappings
|
|
2430
|
-
@field_remappings = {}
|
|
2431
|
-
end
|
|
2432
|
-
end
|
|
2433
|
-
# The status of the Capability.
|
|
2434
|
-
attr_reader :status
|
|
2435
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2436
|
-
attr_reader :status_details
|
|
2437
|
-
|
|
2438
|
-
def self.inner_class_types
|
|
2439
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2440
|
-
end
|
|
2441
|
-
|
|
2442
|
-
def self.field_remappings
|
|
2443
|
-
@field_remappings = {}
|
|
2444
|
-
end
|
|
2445
|
-
end
|
|
2446
|
-
|
|
2447
|
-
class FinancialAccounts < ::Stripe::StripeObject
|
|
2448
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2449
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2450
|
-
attr_reader :code
|
|
2451
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2452
|
-
attr_reader :resolution
|
|
2453
|
-
|
|
2454
|
-
def self.inner_class_types
|
|
2455
|
-
@inner_class_types = {}
|
|
2456
|
-
end
|
|
2457
|
-
|
|
2458
|
-
def self.field_remappings
|
|
2459
|
-
@field_remappings = {}
|
|
2460
|
-
end
|
|
2461
|
-
end
|
|
2462
|
-
# The status of the Capability.
|
|
2463
|
-
attr_reader :status
|
|
2464
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2465
|
-
attr_reader :status_details
|
|
2466
|
-
|
|
2467
|
-
def self.inner_class_types
|
|
2468
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2469
|
-
end
|
|
2470
|
-
|
|
2471
|
-
def self.field_remappings
|
|
2472
|
-
@field_remappings = {}
|
|
2473
|
-
end
|
|
2474
|
-
end
|
|
2475
|
-
# Can send funds from a FinancialAccount to a bank account owned by a different entity.
|
|
2476
|
-
attr_reader :bank_accounts
|
|
2477
|
-
# Can send funds from a FinancialAccount to a debit card owned by a different entity.
|
|
2478
|
-
attr_reader :cards
|
|
2479
|
-
# Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity.
|
|
2480
|
-
attr_reader :financial_accounts
|
|
2481
|
-
|
|
2482
|
-
def self.inner_class_types
|
|
2483
|
-
@inner_class_types = {
|
|
2484
|
-
bank_accounts: BankAccounts,
|
|
2485
|
-
cards: Cards,
|
|
2486
|
-
financial_accounts: FinancialAccounts,
|
|
2487
|
-
}
|
|
2488
|
-
end
|
|
2489
|
-
|
|
2490
|
-
def self.field_remappings
|
|
2491
|
-
@field_remappings = {}
|
|
2492
|
-
end
|
|
2493
|
-
end
|
|
2494
|
-
|
|
2495
|
-
class OutboundTransfers < ::Stripe::StripeObject
|
|
2496
|
-
class BankAccounts < ::Stripe::StripeObject
|
|
2497
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2498
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2499
|
-
attr_reader :code
|
|
2500
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2501
|
-
attr_reader :resolution
|
|
2502
|
-
|
|
2503
|
-
def self.inner_class_types
|
|
2504
|
-
@inner_class_types = {}
|
|
2505
|
-
end
|
|
2506
|
-
|
|
2507
|
-
def self.field_remappings
|
|
2508
|
-
@field_remappings = {}
|
|
2509
|
-
end
|
|
2510
|
-
end
|
|
2511
|
-
# The status of the Capability.
|
|
2512
|
-
attr_reader :status
|
|
2513
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2514
|
-
attr_reader :status_details
|
|
2515
|
-
|
|
2516
|
-
def self.inner_class_types
|
|
2517
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2518
|
-
end
|
|
2519
|
-
|
|
2520
|
-
def self.field_remappings
|
|
2521
|
-
@field_remappings = {}
|
|
2522
|
-
end
|
|
2523
|
-
end
|
|
2524
|
-
|
|
2525
|
-
class FinancialAccounts < ::Stripe::StripeObject
|
|
2526
|
-
class StatusDetail < ::Stripe::StripeObject
|
|
2527
|
-
# Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
2528
|
-
attr_reader :code
|
|
2529
|
-
# Machine-readable code explaining how to make the Capability active.
|
|
2530
|
-
attr_reader :resolution
|
|
2531
|
-
|
|
2532
|
-
def self.inner_class_types
|
|
2533
|
-
@inner_class_types = {}
|
|
2534
|
-
end
|
|
2535
|
-
|
|
2536
|
-
def self.field_remappings
|
|
2537
|
-
@field_remappings = {}
|
|
2538
|
-
end
|
|
2539
|
-
end
|
|
2540
|
-
# The status of the Capability.
|
|
2541
|
-
attr_reader :status
|
|
2542
|
-
# Additional details about the capability's status. This value is empty when `status` is `active`.
|
|
2543
|
-
attr_reader :status_details
|
|
2544
|
-
|
|
2545
|
-
def self.inner_class_types
|
|
2546
|
-
@inner_class_types = { status_details: StatusDetail }
|
|
2547
|
-
end
|
|
2548
|
-
|
|
2549
|
-
def self.field_remappings
|
|
2550
|
-
@field_remappings = {}
|
|
2551
|
-
end
|
|
2552
|
-
end
|
|
2553
|
-
# Can send funds from a FinancialAccount to a bank account belonging to the same user.
|
|
2554
|
-
attr_reader :bank_accounts
|
|
2555
|
-
# Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user.
|
|
2556
|
-
attr_reader :financial_accounts
|
|
2557
|
-
|
|
2558
|
-
def self.inner_class_types
|
|
2559
|
-
@inner_class_types = {
|
|
2560
|
-
bank_accounts: BankAccounts,
|
|
2561
|
-
financial_accounts: FinancialAccounts,
|
|
2562
|
-
}
|
|
2563
|
-
end
|
|
2564
|
-
|
|
2565
|
-
def self.field_remappings
|
|
2566
|
-
@field_remappings = {}
|
|
2567
|
-
end
|
|
2568
|
-
end
|
|
2569
|
-
# Can provision a financial address to credit/debit a FinancialAccount.
|
|
2570
|
-
attr_reader :financial_addresses
|
|
2571
|
-
# Can hold storage-type funds on Stripe.
|
|
2572
|
-
attr_reader :holds_currencies
|
|
2573
|
-
# Hash containing capabilities related to InboundTransfers.
|
|
2574
|
-
attr_reader :inbound_transfers
|
|
2575
|
-
# Hash containing capabilities related to [OutboundPayments](/api/treasury/outbound_payments?api-version=preview).
|
|
2576
|
-
attr_reader :outbound_payments
|
|
2577
|
-
# Hash containing capabilities related to [OutboundTransfers](/api/treasury/outbound_transfers?api-version=preview).
|
|
2578
|
-
attr_reader :outbound_transfers
|
|
2579
|
-
|
|
2580
|
-
def self.inner_class_types
|
|
2581
|
-
@inner_class_types = {
|
|
2582
|
-
financial_addresses: FinancialAddresses,
|
|
2583
|
-
holds_currencies: HoldsCurrencies,
|
|
2584
|
-
inbound_transfers: InboundTransfers,
|
|
2585
|
-
outbound_payments: OutboundPayments,
|
|
2586
|
-
outbound_transfers: OutboundTransfers,
|
|
2587
|
-
}
|
|
2588
|
-
end
|
|
2589
|
-
|
|
2590
|
-
def self.field_remappings
|
|
2591
|
-
@field_remappings = {}
|
|
2592
|
-
end
|
|
2593
|
-
end
|
|
2594
|
-
# Indicates whether the storer configuration is active. You cannot deactivate (or reactivate) the storer configuration by updating this property.
|
|
2595
|
-
attr_reader :applied
|
|
2596
|
-
# Capabilities that have been requested on the Storer Configuration.
|
|
2597
|
-
attr_reader :capabilities
|
|
2598
|
-
|
|
2599
|
-
def self.inner_class_types
|
|
2600
|
-
@inner_class_types = { capabilities: Capabilities }
|
|
2601
|
-
end
|
|
2602
|
-
|
|
2603
|
-
def self.field_remappings
|
|
2604
|
-
@field_remappings = {}
|
|
2605
|
-
end
|
|
2606
|
-
end
|
|
2607
|
-
# The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows).
|
|
2608
|
-
attr_reader :customer
|
|
2609
|
-
# 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.
|
|
2610
|
-
attr_reader :merchant
|
|
2611
|
-
# 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.
|
|
2612
|
-
attr_reader :recipient
|
|
2613
|
-
# The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
2614
|
-
attr_reader :storer
|
|
2615
|
-
|
|
2616
|
-
def self.inner_class_types
|
|
2617
|
-
@inner_class_types = {
|
|
2618
|
-
customer: Customer,
|
|
2619
|
-
merchant: Merchant,
|
|
2620
|
-
recipient: Recipient,
|
|
2621
|
-
storer: Storer,
|
|
2622
|
-
}
|
|
2623
|
-
end
|
|
2624
|
-
|
|
2625
|
-
def self.field_remappings
|
|
2626
|
-
@field_remappings = {}
|
|
2627
|
-
end
|
|
2628
|
-
end
|
|
2629
|
-
|
|
2630
|
-
class Defaults < ::Stripe::StripeObject
|
|
2631
|
-
class Profile < ::Stripe::StripeObject
|
|
2632
|
-
# The business's publicly-available website.
|
|
2633
|
-
attr_reader :business_url
|
|
2634
|
-
# The customer-facing business name.
|
|
2635
|
-
attr_reader :doing_business_as
|
|
2636
|
-
# Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
|
|
2637
|
-
attr_reader :product_description
|
|
2638
|
-
|
|
2639
|
-
def self.inner_class_types
|
|
2640
|
-
@inner_class_types = {}
|
|
2641
|
-
end
|
|
2642
|
-
|
|
2643
|
-
def self.field_remappings
|
|
2644
|
-
@field_remappings = {}
|
|
2645
|
-
end
|
|
2646
|
-
end
|
|
2647
|
-
|
|
2648
|
-
class Responsibilities < ::Stripe::StripeObject
|
|
2649
|
-
# Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products.
|
|
2650
|
-
attr_reader :fees_collector
|
|
2651
|
-
# A value indicating responsibility for collecting requirements on this account.
|
|
2652
|
-
attr_reader :losses_collector
|
|
2653
|
-
# A value indicating responsibility for collecting requirements on this account.
|
|
2654
|
-
attr_reader :requirements_collector
|
|
2655
|
-
|
|
2656
|
-
def self.inner_class_types
|
|
2657
|
-
@inner_class_types = {}
|
|
2658
|
-
end
|
|
2659
|
-
|
|
2660
|
-
def self.field_remappings
|
|
2661
|
-
@field_remappings = {}
|
|
2662
|
-
end
|
|
2663
|
-
end
|
|
2664
|
-
# 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).
|
|
2665
|
-
attr_reader :currency
|
|
2666
|
-
# The Account's preferred locales (languages), ordered by preference.
|
|
2667
|
-
attr_reader :locales
|
|
2668
|
-
# Account profile information.
|
|
2669
|
-
attr_reader :profile
|
|
2670
|
-
# Default responsibilities held by either Stripe or the platform.
|
|
2671
|
-
attr_reader :responsibilities
|
|
2672
|
-
# 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).
|
|
2673
|
-
attr_reader :timezone
|
|
2674
|
-
|
|
2675
|
-
def self.inner_class_types
|
|
2676
|
-
@inner_class_types = { profile: Profile, responsibilities: Responsibilities }
|
|
2677
|
-
end
|
|
2678
|
-
|
|
2679
|
-
def self.field_remappings
|
|
2680
|
-
@field_remappings = {}
|
|
2681
|
-
end
|
|
2682
|
-
end
|
|
2683
|
-
|
|
2684
|
-
class FutureRequirements < ::Stripe::StripeObject
|
|
2685
|
-
class Entry < ::Stripe::StripeObject
|
|
2686
|
-
class Error < ::Stripe::StripeObject
|
|
2687
|
-
# Machine-readable code describing the error.
|
|
2688
|
-
attr_reader :code
|
|
2689
|
-
# Human-readable description of the error.
|
|
2690
|
-
attr_reader :description
|
|
2691
|
-
|
|
2692
|
-
def self.inner_class_types
|
|
2693
|
-
@inner_class_types = {}
|
|
2694
|
-
end
|
|
2695
|
-
|
|
2696
|
-
def self.field_remappings
|
|
2697
|
-
@field_remappings = {}
|
|
2698
|
-
end
|
|
2699
|
-
end
|
|
2700
|
-
|
|
2701
|
-
class Impact < ::Stripe::StripeObject
|
|
2702
|
-
class RestrictsCapability < ::Stripe::StripeObject
|
|
2703
|
-
class Deadline < ::Stripe::StripeObject
|
|
2704
|
-
# The current status of the requirement's impact.
|
|
2705
|
-
attr_reader :status
|
|
2706
|
-
|
|
2707
|
-
def self.inner_class_types
|
|
2708
|
-
@inner_class_types = {}
|
|
2709
|
-
end
|
|
2710
|
-
|
|
2711
|
-
def self.field_remappings
|
|
2712
|
-
@field_remappings = {}
|
|
2713
|
-
end
|
|
2714
|
-
end
|
|
2715
|
-
# The name of the Capability which will be restricted.
|
|
2716
|
-
attr_reader :capability
|
|
2717
|
-
# The configuration which specifies the Capability which will be restricted.
|
|
2718
|
-
attr_reader :configuration
|
|
2719
|
-
# Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
|
|
2720
|
-
attr_reader :deadline
|
|
2721
|
-
|
|
2722
|
-
def self.inner_class_types
|
|
2723
|
-
@inner_class_types = { deadline: Deadline }
|
|
2724
|
-
end
|
|
2725
|
-
|
|
2726
|
-
def self.field_remappings
|
|
2727
|
-
@field_remappings = {}
|
|
2728
|
-
end
|
|
2729
|
-
end
|
|
2730
|
-
# The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
|
|
2731
|
-
attr_reader :restricts_capabilities
|
|
2732
|
-
|
|
2733
|
-
def self.inner_class_types
|
|
2734
|
-
@inner_class_types = { restricts_capabilities: RestrictsCapability }
|
|
2735
|
-
end
|
|
2736
|
-
|
|
2737
|
-
def self.field_remappings
|
|
2738
|
-
@field_remappings = {}
|
|
2739
|
-
end
|
|
2740
|
-
end
|
|
2741
|
-
|
|
2742
|
-
class MinimumDeadline < ::Stripe::StripeObject
|
|
2743
|
-
# The current status of the requirement's impact.
|
|
2744
|
-
attr_reader :status
|
|
2199
|
+
class MinimumDeadline < ::Stripe::StripeObject
|
|
2200
|
+
# The current status of the requirement's impact.
|
|
2201
|
+
attr_reader :status
|
|
2745
2202
|
|
|
2746
2203
|
def self.inner_class_types
|
|
2747
2204
|
@inner_class_types = {}
|
|
@@ -2943,30 +2400,11 @@ module Stripe
|
|
|
2943
2400
|
@field_remappings = {}
|
|
2944
2401
|
end
|
|
2945
2402
|
end
|
|
2946
|
-
|
|
2947
|
-
class Storer < ::Stripe::StripeObject
|
|
2948
|
-
# 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.
|
|
2949
|
-
attr_reader :date
|
|
2950
|
-
# The IP address from which the Account's representative accepted the terms of service.
|
|
2951
|
-
attr_reader :ip
|
|
2952
|
-
# The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
2953
|
-
attr_reader :user_agent
|
|
2954
|
-
|
|
2955
|
-
def self.inner_class_types
|
|
2956
|
-
@inner_class_types = {}
|
|
2957
|
-
end
|
|
2958
|
-
|
|
2959
|
-
def self.field_remappings
|
|
2960
|
-
@field_remappings = {}
|
|
2961
|
-
end
|
|
2962
|
-
end
|
|
2963
2403
|
# Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
|
|
2964
2404
|
attr_reader :account
|
|
2965
|
-
# Details on the Account's acceptance of Treasury-specific terms of service.
|
|
2966
|
-
attr_reader :storer
|
|
2967
2405
|
|
|
2968
2406
|
def self.inner_class_types
|
|
2969
|
-
@inner_class_types = { account: Account
|
|
2407
|
+
@inner_class_types = { account: Account }
|
|
2970
2408
|
end
|
|
2971
2409
|
|
|
2972
2410
|
def self.field_remappings
|