stripe 20.2.0.pre.beta.1 → 21.0.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_operations/request.rb +2 -0
- data/lib/stripe/api_requestor.rb +1 -4
- data/lib/stripe/api_version.rb +2 -2
- data/lib/stripe/errors.rb +0 -6
- data/lib/stripe/event_types.rb +0 -193
- data/lib/stripe/events/unknown_event_notification.rb +0 -1
- data/lib/stripe/object_types.rb +0 -53
- data/lib/stripe/params/account_create_params.rb +1 -299
- data/lib/stripe/params/account_session_create_params.rb +0 -191
- data/lib/stripe/params/account_update_params.rb +0 -261
- data/lib/stripe/params/balance_settings_update_params.rb +1 -9
- 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 +3 -87
- data/lib/stripe/params/checkout/session_update_params.rb +1 -161
- data/lib/stripe/params/confirmation_token_create_params.rb +0 -92
- 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/financial_connections/session_create_params.rb +1 -38
- data/lib/stripe/params/invoice_add_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
- data/lib/stripe/params/invoice_create_params.rb +2 -64
- data/lib/stripe/params/invoice_create_preview_params.rb +9 -772
- 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 -33
- data/lib/stripe/params/invoice_update_lines_params.rb +1 -33
- data/lib/stripe/params/invoice_update_params.rb +2 -64
- data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
- data/lib/stripe/params/issuing/cardholder_update_params.rb +0 -4
- 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 +109 -3062
- data/lib/stripe/params/payment_intent_create_params.rb +122 -3075
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
- data/lib/stripe/params/payment_intent_update_params.rb +76 -3060
- 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 +0 -88
- data/lib/stripe/params/price_update_params.rb +0 -19
- 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 +3 -122
- data/lib/stripe/params/setup_intent_create_params.rb +3 -122
- data/lib/stripe/params/setup_intent_update_params.rb +3 -122
- data/lib/stripe/params/subscription_create_params.rb +6 -133
- data/lib/stripe/params/subscription_item_create_params.rb +3 -50
- data/lib/stripe/params/subscription_item_update_params.rb +2 -33
- 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 +5 -116
- data/lib/stripe/params/tax/registration_create_params.rb +1 -13
- data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -92
- 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 -19
- 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 +5 -392
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -29
- data/lib/stripe/params/v2/core/account_update_params.rb +4 -376
- data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -21
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -40
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +1 -22
- data/lib/stripe/params.rb +0 -364
- data/lib/stripe/request_options.rb +18 -0
- data/lib/stripe/resources/account.rb +1 -176
- data/lib/stripe/resources/account_session.rb +0 -81
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/balance_settings.rb +0 -4
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +1 -227
- data/lib/stripe/resources/checkout/session.rb +3 -91
- data/lib/stripe/resources/confirmation_token.rb +0 -131
- data/lib/stripe/resources/coupon.rb +1 -26
- data/lib/stripe/resources/credit_note_line_item.rb +0 -18
- data/lib/stripe/resources/customer.rb +0 -16
- data/lib/stripe/resources/customer_session.rb +0 -36
- data/lib/stripe/resources/dispute.rb +0 -18
- data/lib/stripe/resources/event.rb +1 -64
- data/lib/stripe/resources/financial_connections/account.rb +1 -45
- data/lib/stripe/resources/financial_connections/authorization.rb +1 -24
- data/lib/stripe/resources/financial_connections/session.rb +0 -92
- data/lib/stripe/resources/invoice.rb +1 -106
- data/lib/stripe/resources/invoice_item.rb +0 -2
- data/lib/stripe/resources/invoice_line_item.rb +0 -40
- data/lib/stripe/resources/issuing/authorization.rb +0 -16
- data/lib/stripe/resources/issuing/card.rb +0 -16
- data/lib/stripe/resources/issuing/cardholder.rb +0 -16
- data/lib/stripe/resources/issuing/dispute.rb +1 -16
- data/lib/stripe/resources/issuing/transaction.rb +0 -18
- 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 +1 -177
- data/lib/stripe/resources/payment_intent.rb +24 -1602
- data/lib/stripe/resources/payment_method.rb +0 -151
- data/lib/stripe/resources/payment_method_configuration.rb +0 -170
- data/lib/stripe/resources/payment_record.rb +1 -177
- data/lib/stripe/resources/price.rb +0 -20
- data/lib/stripe/resources/quote.rb +2 -569
- data/lib/stripe/resources/radar/value_list_item.rb +1 -15
- data/lib/stripe/resources/refund.rb +0 -18
- data/lib/stripe/resources/reserve/hold.rb +0 -7
- data/lib/stripe/resources/reserve/plan.rb +0 -7
- data/lib/stripe/resources/reserve/release.rb +0 -12
- data/lib/stripe/resources/setup_attempt.rb +0 -35
- data/lib/stripe/resources/setup_intent.rb +1 -38
- data/lib/stripe/resources/source.rb +0 -54
- data/lib/stripe/resources/subscription.rb +0 -73
- data/lib/stripe/resources/subscription_item.rb +1 -22
- data/lib/stripe/resources/subscription_schedule.rb +3 -198
- data/lib/stripe/resources/tax/registration.rb +1 -16
- data/lib/stripe/resources/terminal/reader.rb +0 -8
- data/lib/stripe/resources/token.rb +1 -15
- 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/core/account.rb +2 -802
- data/lib/stripe/resources/v2/core/event.rb +1 -1
- data/lib/stripe/resources/v2/core/event_base.rb +36 -0
- data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +1 -91
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +1 -26
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -4
- data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -50
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +1 -63
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +1 -31
- data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -50
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -2
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -2
- data/lib/stripe/resources.rb +2 -341
- data/lib/stripe/services/account_service.rb +0 -15
- data/lib/stripe/services/billing_service.rb +1 -2
- data/lib/stripe/services/coupon_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 -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/radar_service.rb +1 -2
- data/lib/stripe/services/subscription_schedule_service.rb +0 -11
- data/lib/stripe/services/subscription_service.rb +0 -45
- data/lib/stripe/services/tax_service.rb +1 -2
- 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/money_management/financial_account_service.rb +0 -27
- data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -15
- data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +0 -13
- data/lib/stripe/services/v2/money_management_service.rb +1 -5
- data/lib/stripe/services/v2_services.rb +1 -7
- data/lib/stripe/services.rb +0 -181
- data/lib/stripe/stripe_client.rb +1 -4
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/stripe_event_notification_handler.rb +0 -216
- data/lib/stripe/stripe_object.rb +60 -1
- data/lib/stripe/stripe_service.rb +13 -9
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe/webhook.rb +68 -3
- data/lib/stripe.rb +0 -53
- data/rbi/stripe/resources/v2/core/event_base.rbi +11 -0
- data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -2
- data/rbi/stripe.rbi +33552 -100276
- metadata +6 -332
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_approved_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_failed_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +0 -44
- data/lib/stripe/events/v2_core_approval_request_succeeded_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_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_query_run_updated_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_data_report_run_updated_event.rb +0 -44
- 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_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_under_review_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_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_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/events/v2_signals_account_evaluation_complete_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +0 -44
- data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_event.rb +0 -44
- data/lib/stripe/params/account_notice_list_params.rb +0 -25
- data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
- data/lib/stripe/params/account_notice_update_params.rb +0 -36
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
- data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
- data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
- data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
- data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
- data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
- data/lib/stripe/params/external_account_create_params.rb +0 -134
- data/lib/stripe/params/external_account_delete_params.rb +0 -6
- data/lib/stripe/params/external_account_list_params.rb +0 -25
- data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
- data/lib/stripe/params/external_account_update_params.rb +0 -91
- data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
- data/lib/stripe/params/financial_connections/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/payment_plan_create_params.rb +0 -128
- data/lib/stripe/params/payment_plan_list_params.rb +0 -25
- data/lib/stripe/params/payment_plan_retrieve_params.rb +0 -13
- data/lib/stripe/params/payment_plan_update_params.rb +0 -105
- data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
- data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
- data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
- data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
- data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
- data/lib/stripe/params/quote_line_list_params.rb +0 -22
- data/lib/stripe/params/quote_list_lines_params.rb +0 -22
- data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
- data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
- data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
- data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
- data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
- data/lib/stripe/params/quote_reestimate_params.rb +0 -13
- data/lib/stripe/params/radar/billing_evaluation_create_params.rb +0 -231
- 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_list_params.rb +0 -37
- 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 -71
- 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/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/approval_request_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_list_params.rb +0 -47
- data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/core/approval_request_update_params.rb +0 -17
- 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 -53
- data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/data/query_run_create_params.rb +0 -50
- data/lib/stripe/params/v2/data/query_run_retrieve_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_list_params.rb +0 -23
- data/lib/stripe/params/v2/data/report_retrieve_params.rb +0 -17
- data/lib/stripe/params/v2/data/report_run_create_params.rb +0 -48
- data/lib/stripe/params/v2/data/report_run_retrieve_params.rb +0 -23
- 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/data/schema_list_params.rb +0 -26
- data/lib/stripe/params/v2/data/schema_retrieve_params.rb +0 -10
- 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/financial_account_close_params.rb +0 -30
- data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -35
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -113
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
- 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 -112
- 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_disable_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/test_helpers/financial_address_generate_microdeposits_params.rb +0 -12
- 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/signals/account_activity_create_params.rb +0 -200
- data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +0 -192
- data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/signals/account_signal_list_params.rb +0 -35
- data/lib/stripe/params/v2/signals/account_signal_retrieve_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 -144
- 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/institution.rb +0 -127
- data/lib/stripe/resources/fx_quote.rb +0 -149
- 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/payment_plan.rb +0 -213
- 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/quote_line.rb +0 -525
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -1241
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -968
- data/lib/stripe/resources/radar/billing_evaluation.rb +0 -281
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -681
- data/lib/stripe/resources/shared_payment/issued_token.rb +0 -310
- data/lib/stripe/resources/tax/form.rb +0 -264
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -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/approval_request.rb +0 -395
- data/lib/stripe/resources/v2/core/batch_job.rb +0 -536
- data/lib/stripe/resources/v2/data/query_run.rb +0 -255
- data/lib/stripe/resources/v2/data/report.rb +0 -104
- data/lib/stripe/resources/v2/data/report_run.rb +0 -246
- data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
- data/lib/stripe/resources/v2/data/schema.rb +0 -121
- 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/iam/activity_log.rb +0 -368
- data/lib/stripe/resources/v2/money_management/financial_address_generated_microdeposits.rb +0 -33
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -255
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -260
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -137
- 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/resources/v2/signals/account_activity.rb +0 -252
- data/lib/stripe/resources/v2/signals/account_evaluation.rb +0 -249
- data/lib/stripe/resources/v2/signals/account_signal.rb +0 -184
- 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/payment_plan_service.rb +0 -50
- data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
- data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
- data/lib/stripe/services/privacy_service.rb +0 -13
- data/lib/stripe/services/quote_line_service.rb +0 -17
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
- data/lib/stripe/services/radar/billing_evaluation_service.rb +0 -19
- data/lib/stripe/services/reserve/hold_service.rb +0 -30
- data/lib/stripe/services/reserve/plan_service.rb +0 -30
- 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/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/approval_request_service.rb +0 -58
- data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
- data/lib/stripe/services/v2/data/query_run_service.rb +0 -34
- data/lib/stripe/services/v2/data/report_run_service.rb +0 -36
- data/lib/stripe/services/v2/data/report_service.rb +0 -34
- 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/schema_service.rb +0 -32
- data/lib/stripe/services/v2/data_service.rb +0 -19
- 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/outbound_payment_quote_service.rb +0 -35
- data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -61
- data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
- 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/signals/account_activity_service.rb +0 -43
- data/lib/stripe/services/v2/signals/account_evaluation_service.rb +0 -32
- data/lib/stripe/services/v2/signals/account_signal_service.rb +0 -32
- data/lib/stripe/services/v2/signals_service.rb +0 -17
|
@@ -29,6 +29,22 @@ module Stripe
|
|
|
29
29
|
OPTS_USER_SPECIFIED - Set[:idempotency_key, :stripe_context]
|
|
30
30
|
).freeze
|
|
31
31
|
|
|
32
|
+
# Written in place of API keys when a StripeObject is serialized with
|
|
33
|
+
# Marshal or YAML, so that credentials never end up in caches or queues.
|
|
34
|
+
API_KEY_SERIALIZATION_CONSTANT = "API_KEY_SERIALIZATION_CONSTANT"
|
|
35
|
+
|
|
36
|
+
# Raises if the given API key is the serialization placeholder, meaning the
|
|
37
|
+
# object was deserialized and credentials haven't been reattached.
|
|
38
|
+
def self.assert_api_key_attached!(api_key)
|
|
39
|
+
return unless api_key == API_KEY_SERIALIZATION_CONSTANT
|
|
40
|
+
|
|
41
|
+
raise AuthenticationError,
|
|
42
|
+
"This object was deserialized without API credentials. Call " \
|
|
43
|
+
"reattach_api_key(api_key) on the object before making requests. " \
|
|
44
|
+
"Global and per-call API keys do not reattach credentials to a " \
|
|
45
|
+
"deserialized object."
|
|
46
|
+
end
|
|
47
|
+
|
|
32
48
|
# helper method to figure out what the true value of the stripe_context header should be
|
|
33
49
|
# given a pair of StripeContext|string
|
|
34
50
|
# req should take precedence if non-nil
|
|
@@ -68,6 +84,8 @@ module Stripe
|
|
|
68
84
|
# to the per-request options. Returns the merged request options.
|
|
69
85
|
# Expects two hashes, expects extract_opts_from_hash to be called first!!!
|
|
70
86
|
def self.combine_opts(object_opts, req_opts)
|
|
87
|
+
assert_api_key_attached!(object_opts[:api_key])
|
|
88
|
+
|
|
71
89
|
merged_opts = {
|
|
72
90
|
api_key: req_opts[:api_key] || object_opts[:api_key],
|
|
73
91
|
idempotency_key: req_opts[:idempotency_key],
|
|
@@ -146,8 +146,6 @@ module Stripe
|
|
|
146
146
|
attr_reader :app_distribution
|
|
147
147
|
# The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
|
|
148
148
|
attr_reader :au_becs_debit_payments
|
|
149
|
-
# The status of the automatic_indirect_tax capability of the account.
|
|
150
|
-
attr_reader :automatic_indirect_tax
|
|
151
149
|
# The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
|
152
150
|
attr_reader :bacs_debit_payments
|
|
153
151
|
# The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
|
|
@@ -182,14 +180,8 @@ module Stripe
|
|
|
182
180
|
attr_reader :gb_bank_transfer_payments
|
|
183
181
|
# The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
|
|
184
182
|
attr_reader :giropay_payments
|
|
185
|
-
# The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
|
186
|
-
attr_reader :gopay_payments
|
|
187
183
|
# The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
|
188
184
|
attr_reader :grabpay_payments
|
|
189
|
-
# The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
|
190
|
-
attr_reader :id_bank_transfer_payments
|
|
191
|
-
# The status of Bank BCA onboarding of the account.
|
|
192
|
-
attr_reader :id_bank_transfer_payments_bca
|
|
193
185
|
# The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
|
194
186
|
attr_reader :ideal_payments
|
|
195
187
|
# The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
|
|
@@ -232,8 +224,6 @@ module Stripe
|
|
|
232
224
|
attr_reader :payco_payments
|
|
233
225
|
# The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
|
|
234
226
|
attr_reader :paynow_payments
|
|
235
|
-
# The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
236
|
-
attr_reader :paypal_payments
|
|
237
227
|
# The status of the Paypay capability of the account, or whether the account can directly process Paypay payments.
|
|
238
228
|
attr_reader :paypay_payments
|
|
239
229
|
# The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
@@ -242,10 +232,6 @@ module Stripe
|
|
|
242
232
|
attr_reader :pix_payments
|
|
243
233
|
# The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
|
244
234
|
attr_reader :promptpay_payments
|
|
245
|
-
# The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
|
246
|
-
attr_reader :qris_payments
|
|
247
|
-
# The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
248
|
-
attr_reader :rechnung_payments
|
|
249
235
|
# The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
250
236
|
attr_reader :revolut_pay_payments
|
|
251
237
|
# The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
|
|
@@ -260,12 +246,8 @@ module Stripe
|
|
|
260
246
|
attr_reader :sepa_debit_payments
|
|
261
247
|
# The status of the SeQura capability of the account, or whether the account can directly process SeQura payments.
|
|
262
248
|
attr_reader :sequra_payments
|
|
263
|
-
# The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
|
264
|
-
attr_reader :shopeepay_payments
|
|
265
249
|
# The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
|
266
250
|
attr_reader :sofort_payments
|
|
267
|
-
# The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
|
|
268
|
-
attr_reader :stripe_balance_payments
|
|
269
251
|
# The status of the Sunbit capability of the account, or whether the account can directly process Sunbit payments.
|
|
270
252
|
attr_reader :sunbit_payments
|
|
271
253
|
# The status of the Swish capability of the account, or whether the account can directly process Swish payments.
|
|
@@ -278,12 +260,6 @@ module Stripe
|
|
|
278
260
|
attr_reader :transfers
|
|
279
261
|
# The status of the banking capability, or whether the account can have bank accounts.
|
|
280
262
|
attr_reader :treasury
|
|
281
|
-
# The status of the treasury_evolve capability of the account.
|
|
282
|
-
attr_reader :treasury_evolve
|
|
283
|
-
# The status of the treasury_fifth_third capability of the account.
|
|
284
|
-
attr_reader :treasury_fifth_third
|
|
285
|
-
# The status of the treasury_goldman_sachs capability of the account.
|
|
286
|
-
attr_reader :treasury_goldman_sachs
|
|
287
263
|
# The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
288
264
|
attr_reader :twint_payments
|
|
289
265
|
# The status of the upi payments capability of the account, or whether the account can directly process upi charges.
|
|
@@ -620,36 +596,6 @@ module Stripe
|
|
|
620
596
|
end
|
|
621
597
|
|
|
622
598
|
class Controller < ::Stripe::StripeObject
|
|
623
|
-
class Application < ::Stripe::StripeObject
|
|
624
|
-
# `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
625
|
-
attr_reader :loss_liable
|
|
626
|
-
# `true` if the Connect application is responsible for onboarding the account.
|
|
627
|
-
attr_reader :onboarding_owner
|
|
628
|
-
# `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
629
|
-
attr_reader :pricing_controls
|
|
630
|
-
|
|
631
|
-
def self.inner_class_types
|
|
632
|
-
@inner_class_types = {}
|
|
633
|
-
end
|
|
634
|
-
|
|
635
|
-
def self.field_remappings
|
|
636
|
-
@field_remappings = {}
|
|
637
|
-
end
|
|
638
|
-
end
|
|
639
|
-
|
|
640
|
-
class Dashboard < ::Stripe::StripeObject
|
|
641
|
-
# Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
642
|
-
attr_reader :type
|
|
643
|
-
|
|
644
|
-
def self.inner_class_types
|
|
645
|
-
@inner_class_types = {}
|
|
646
|
-
end
|
|
647
|
-
|
|
648
|
-
def self.field_remappings
|
|
649
|
-
@field_remappings = {}
|
|
650
|
-
end
|
|
651
|
-
end
|
|
652
|
-
|
|
653
599
|
class Fees < ::Stripe::StripeObject
|
|
654
600
|
# A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
655
601
|
attr_reader :payer
|
|
@@ -688,10 +634,6 @@ module Stripe
|
|
|
688
634
|
@field_remappings = {}
|
|
689
635
|
end
|
|
690
636
|
end
|
|
691
|
-
# Attribute for field application
|
|
692
|
-
attr_reader :application
|
|
693
|
-
# Attribute for field dashboard
|
|
694
|
-
attr_reader :dashboard
|
|
695
637
|
# Attribute for field fees
|
|
696
638
|
attr_reader :fees
|
|
697
639
|
# `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://docs.stripe.com/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
|
|
@@ -706,13 +648,7 @@ module Stripe
|
|
|
706
648
|
attr_reader :type
|
|
707
649
|
|
|
708
650
|
def self.inner_class_types
|
|
709
|
-
@inner_class_types = {
|
|
710
|
-
application: Application,
|
|
711
|
-
dashboard: Dashboard,
|
|
712
|
-
fees: Fees,
|
|
713
|
-
losses: Losses,
|
|
714
|
-
stripe_dashboard: StripeDashboard,
|
|
715
|
-
}
|
|
651
|
+
@inner_class_types = { fees: Fees, losses: Losses, stripe_dashboard: StripeDashboard }
|
|
716
652
|
end
|
|
717
653
|
|
|
718
654
|
def self.field_remappings
|
|
@@ -849,48 +785,6 @@ module Stripe
|
|
|
849
785
|
end
|
|
850
786
|
end
|
|
851
787
|
|
|
852
|
-
class RiskControls < ::Stripe::StripeObject
|
|
853
|
-
class Charges < ::Stripe::StripeObject
|
|
854
|
-
# Whether a pause of the risk control has been requested.
|
|
855
|
-
attr_reader :pause_requested
|
|
856
|
-
|
|
857
|
-
def self.inner_class_types
|
|
858
|
-
@inner_class_types = {}
|
|
859
|
-
end
|
|
860
|
-
|
|
861
|
-
def self.field_remappings
|
|
862
|
-
@field_remappings = {}
|
|
863
|
-
end
|
|
864
|
-
end
|
|
865
|
-
|
|
866
|
-
class Payouts < ::Stripe::StripeObject
|
|
867
|
-
# Whether a pause of the risk control has been requested.
|
|
868
|
-
attr_reader :pause_requested
|
|
869
|
-
|
|
870
|
-
def self.inner_class_types
|
|
871
|
-
@inner_class_types = {}
|
|
872
|
-
end
|
|
873
|
-
|
|
874
|
-
def self.field_remappings
|
|
875
|
-
@field_remappings = {}
|
|
876
|
-
end
|
|
877
|
-
end
|
|
878
|
-
# Attribute for field charges
|
|
879
|
-
attr_reader :charges
|
|
880
|
-
# Attribute for field payouts
|
|
881
|
-
attr_reader :payouts
|
|
882
|
-
# Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://docs.stripe.com/connect/)
|
|
883
|
-
attr_reader :rejected_reason
|
|
884
|
-
|
|
885
|
-
def self.inner_class_types
|
|
886
|
-
@inner_class_types = { charges: Charges, payouts: Payouts }
|
|
887
|
-
end
|
|
888
|
-
|
|
889
|
-
def self.field_remappings
|
|
890
|
-
@field_remappings = {}
|
|
891
|
-
end
|
|
892
|
-
end
|
|
893
|
-
|
|
894
788
|
class Settings < ::Stripe::StripeObject
|
|
895
789
|
class BacsDebitPayments < ::Stripe::StripeObject
|
|
896
790
|
# The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
|
|
@@ -907,21 +801,6 @@ module Stripe
|
|
|
907
801
|
end
|
|
908
802
|
end
|
|
909
803
|
|
|
910
|
-
class BankBcaOnboarding < ::Stripe::StripeObject
|
|
911
|
-
# Bank BCA business account holder name.
|
|
912
|
-
attr_reader :account_holder_name
|
|
913
|
-
# Bank BCA business account number.
|
|
914
|
-
attr_reader :business_account_number
|
|
915
|
-
|
|
916
|
-
def self.inner_class_types
|
|
917
|
-
@inner_class_types = {}
|
|
918
|
-
end
|
|
919
|
-
|
|
920
|
-
def self.field_remappings
|
|
921
|
-
@field_remappings = {}
|
|
922
|
-
end
|
|
923
|
-
end
|
|
924
|
-
|
|
925
804
|
class Branding < ::Stripe::StripeObject
|
|
926
805
|
# (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
|
927
806
|
attr_reader :icon
|
|
@@ -1034,8 +913,6 @@ module Stripe
|
|
|
1034
913
|
end
|
|
1035
914
|
|
|
1036
915
|
class Payments < ::Stripe::StripeObject
|
|
1037
|
-
# When enabled, the customer of this Account will receive an email receipt when their payment is successful. If this parameter is not set, the default value is `false`.
|
|
1038
|
-
attr_reader :email_customers_on_successful_payment
|
|
1039
916
|
# The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge.
|
|
1040
917
|
attr_reader :statement_descriptor
|
|
1041
918
|
# The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
|
|
@@ -1184,46 +1061,6 @@ module Stripe
|
|
|
1184
1061
|
end
|
|
1185
1062
|
end
|
|
1186
1063
|
|
|
1187
|
-
class SmartDisputes < ::Stripe::StripeObject
|
|
1188
|
-
class AutoRespond < ::Stripe::StripeObject
|
|
1189
|
-
# The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.
|
|
1190
|
-
attr_reader :preference
|
|
1191
|
-
# The effective value for auto-respond. Can be 'on' or 'off'.
|
|
1192
|
-
attr_reader :value
|
|
1193
|
-
|
|
1194
|
-
def self.inner_class_types
|
|
1195
|
-
@inner_class_types = {}
|
|
1196
|
-
end
|
|
1197
|
-
|
|
1198
|
-
def self.field_remappings
|
|
1199
|
-
@field_remappings = {}
|
|
1200
|
-
end
|
|
1201
|
-
end
|
|
1202
|
-
# Attribute for field auto_respond
|
|
1203
|
-
attr_reader :auto_respond
|
|
1204
|
-
|
|
1205
|
-
def self.inner_class_types
|
|
1206
|
-
@inner_class_types = { auto_respond: AutoRespond }
|
|
1207
|
-
end
|
|
1208
|
-
|
|
1209
|
-
def self.field_remappings
|
|
1210
|
-
@field_remappings = {}
|
|
1211
|
-
end
|
|
1212
|
-
end
|
|
1213
|
-
|
|
1214
|
-
class TaxForms < ::Stripe::StripeObject
|
|
1215
|
-
# Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1216
|
-
attr_reader :consented_to_paperless_delivery
|
|
1217
|
-
|
|
1218
|
-
def self.inner_class_types
|
|
1219
|
-
@inner_class_types = {}
|
|
1220
|
-
end
|
|
1221
|
-
|
|
1222
|
-
def self.field_remappings
|
|
1223
|
-
@field_remappings = {}
|
|
1224
|
-
end
|
|
1225
|
-
end
|
|
1226
|
-
|
|
1227
1064
|
class Treasury < ::Stripe::StripeObject
|
|
1228
1065
|
class TosAcceptance < ::Stripe::StripeObject
|
|
1229
1066
|
# The Unix timestamp marking when the account representative accepted the service agreement.
|
|
@@ -1254,8 +1091,6 @@ module Stripe
|
|
|
1254
1091
|
end
|
|
1255
1092
|
# Attribute for field bacs_debit_payments
|
|
1256
1093
|
attr_reader :bacs_debit_payments
|
|
1257
|
-
# Attribute for field bank_bca_onboarding
|
|
1258
|
-
attr_reader :bank_bca_onboarding
|
|
1259
1094
|
# Attribute for field branding
|
|
1260
1095
|
attr_reader :branding
|
|
1261
1096
|
# Attribute for field card_issuing
|
|
@@ -1274,17 +1109,12 @@ module Stripe
|
|
|
1274
1109
|
attr_reader :paypay_payments
|
|
1275
1110
|
# Attribute for field sepa_debit_payments
|
|
1276
1111
|
attr_reader :sepa_debit_payments
|
|
1277
|
-
# Attribute for field smart_disputes
|
|
1278
|
-
attr_reader :smart_disputes
|
|
1279
|
-
# Attribute for field tax_forms
|
|
1280
|
-
attr_reader :tax_forms
|
|
1281
1112
|
# Attribute for field treasury
|
|
1282
1113
|
attr_reader :treasury
|
|
1283
1114
|
|
|
1284
1115
|
def self.inner_class_types
|
|
1285
1116
|
@inner_class_types = {
|
|
1286
1117
|
bacs_debit_payments: BacsDebitPayments,
|
|
1287
|
-
bank_bca_onboarding: BankBcaOnboarding,
|
|
1288
1118
|
branding: Branding,
|
|
1289
1119
|
card_issuing: CardIssuing,
|
|
1290
1120
|
card_payments: CardPayments,
|
|
@@ -1294,8 +1124,6 @@ module Stripe
|
|
|
1294
1124
|
payouts: Payouts,
|
|
1295
1125
|
paypay_payments: PaypayPayments,
|
|
1296
1126
|
sepa_debit_payments: SepaDebitPayments,
|
|
1297
|
-
smart_disputes: SmartDisputes,
|
|
1298
|
-
tax_forms: TaxForms,
|
|
1299
1127
|
treasury: Treasury,
|
|
1300
1128
|
}
|
|
1301
1129
|
end
|
|
@@ -1369,8 +1197,6 @@ module Stripe
|
|
|
1369
1197
|
attr_reader :payouts_enabled
|
|
1370
1198
|
# Attribute for field requirements
|
|
1371
1199
|
attr_reader :requirements
|
|
1372
|
-
# Attribute for field risk_controls
|
|
1373
|
-
attr_reader :risk_controls
|
|
1374
1200
|
# Options for customizing how the account functions within Stripe.
|
|
1375
1201
|
attr_reader :settings
|
|
1376
1202
|
# Attribute for field tos_acceptance
|
|
@@ -1652,7 +1478,6 @@ module Stripe
|
|
|
1652
1478
|
future_requirements: FutureRequirements,
|
|
1653
1479
|
groups: Groups,
|
|
1654
1480
|
requirements: Requirements,
|
|
1655
|
-
risk_controls: RiskControls,
|
|
1656
1481
|
settings: Settings,
|
|
1657
1482
|
tos_acceptance: TosAcceptance,
|
|
1658
1483
|
}
|
|
@@ -135,78 +135,6 @@ module Stripe
|
|
|
135
135
|
end
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
class CapitalFinancing < ::Stripe::StripeObject
|
|
139
|
-
class Features < ::Stripe::StripeObject
|
|
140
|
-
def self.inner_class_types
|
|
141
|
-
@inner_class_types = {}
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
def self.field_remappings
|
|
145
|
-
@field_remappings = {}
|
|
146
|
-
end
|
|
147
|
-
end
|
|
148
|
-
# Whether the embedded component is enabled.
|
|
149
|
-
attr_reader :enabled
|
|
150
|
-
# Attribute for field features
|
|
151
|
-
attr_reader :features
|
|
152
|
-
|
|
153
|
-
def self.inner_class_types
|
|
154
|
-
@inner_class_types = { features: Features }
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
def self.field_remappings
|
|
158
|
-
@field_remappings = {}
|
|
159
|
-
end
|
|
160
|
-
end
|
|
161
|
-
|
|
162
|
-
class CapitalFinancingApplication < ::Stripe::StripeObject
|
|
163
|
-
class Features < ::Stripe::StripeObject
|
|
164
|
-
def self.inner_class_types
|
|
165
|
-
@inner_class_types = {}
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
def self.field_remappings
|
|
169
|
-
@field_remappings = {}
|
|
170
|
-
end
|
|
171
|
-
end
|
|
172
|
-
# Whether the embedded component is enabled.
|
|
173
|
-
attr_reader :enabled
|
|
174
|
-
# Attribute for field features
|
|
175
|
-
attr_reader :features
|
|
176
|
-
|
|
177
|
-
def self.inner_class_types
|
|
178
|
-
@inner_class_types = { features: Features }
|
|
179
|
-
end
|
|
180
|
-
|
|
181
|
-
def self.field_remappings
|
|
182
|
-
@field_remappings = {}
|
|
183
|
-
end
|
|
184
|
-
end
|
|
185
|
-
|
|
186
|
-
class CapitalFinancingPromotion < ::Stripe::StripeObject
|
|
187
|
-
class Features < ::Stripe::StripeObject
|
|
188
|
-
def self.inner_class_types
|
|
189
|
-
@inner_class_types = {}
|
|
190
|
-
end
|
|
191
|
-
|
|
192
|
-
def self.field_remappings
|
|
193
|
-
@field_remappings = {}
|
|
194
|
-
end
|
|
195
|
-
end
|
|
196
|
-
# Whether the embedded component is enabled.
|
|
197
|
-
attr_reader :enabled
|
|
198
|
-
# Attribute for field features
|
|
199
|
-
attr_reader :features
|
|
200
|
-
|
|
201
|
-
def self.inner_class_types
|
|
202
|
-
@inner_class_types = { features: Features }
|
|
203
|
-
end
|
|
204
|
-
|
|
205
|
-
def self.field_remappings
|
|
206
|
-
@field_remappings = {}
|
|
207
|
-
end
|
|
208
|
-
end
|
|
209
|
-
|
|
210
138
|
class DisputesList < ::Stripe::StripeObject
|
|
211
139
|
class Features < ::Stripe::StripeObject
|
|
212
140
|
# Whether to allow capturing and cancelling payment intents. This is `true` by default.
|
|
@@ -818,12 +746,6 @@ module Stripe
|
|
|
818
746
|
attr_reader :balance_report
|
|
819
747
|
# Attribute for field balances
|
|
820
748
|
attr_reader :balances
|
|
821
|
-
# Attribute for field capital_financing
|
|
822
|
-
attr_reader :capital_financing
|
|
823
|
-
# Attribute for field capital_financing_application
|
|
824
|
-
attr_reader :capital_financing_application
|
|
825
|
-
# Attribute for field capital_financing_promotion
|
|
826
|
-
attr_reader :capital_financing_promotion
|
|
827
749
|
# Attribute for field disputes_list
|
|
828
750
|
attr_reader :disputes_list
|
|
829
751
|
# Attribute for field documents
|
|
@@ -873,9 +795,6 @@ module Stripe
|
|
|
873
795
|
account_onboarding: AccountOnboarding,
|
|
874
796
|
balance_report: BalanceReport,
|
|
875
797
|
balances: Balances,
|
|
876
|
-
capital_financing: CapitalFinancing,
|
|
877
|
-
capital_financing_application: CapitalFinancingApplication,
|
|
878
|
-
capital_financing_promotion: CapitalFinancingPromotion,
|
|
879
798
|
disputes_list: DisputesList,
|
|
880
799
|
documents: Documents,
|
|
881
800
|
financial_account: FinancialAccount,
|
|
@@ -305,86 +305,6 @@ module Stripe
|
|
|
305
305
|
@field_remappings = {}
|
|
306
306
|
end
|
|
307
307
|
end
|
|
308
|
-
|
|
309
|
-
class RiskReserved < ::Stripe::StripeObject
|
|
310
|
-
class Available < ::Stripe::StripeObject
|
|
311
|
-
class SourceTypes < ::Stripe::StripeObject
|
|
312
|
-
# Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
|
|
313
|
-
attr_reader :bank_account
|
|
314
|
-
# Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
|
|
315
|
-
attr_reader :card
|
|
316
|
-
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
|
317
|
-
attr_reader :fpx
|
|
318
|
-
|
|
319
|
-
def self.inner_class_types
|
|
320
|
-
@inner_class_types = {}
|
|
321
|
-
end
|
|
322
|
-
|
|
323
|
-
def self.field_remappings
|
|
324
|
-
@field_remappings = {}
|
|
325
|
-
end
|
|
326
|
-
end
|
|
327
|
-
# Balance amount.
|
|
328
|
-
attr_reader :amount
|
|
329
|
-
# 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).
|
|
330
|
-
attr_reader :currency
|
|
331
|
-
# Attribute for field source_types
|
|
332
|
-
attr_reader :source_types
|
|
333
|
-
|
|
334
|
-
def self.inner_class_types
|
|
335
|
-
@inner_class_types = { source_types: SourceTypes }
|
|
336
|
-
end
|
|
337
|
-
|
|
338
|
-
def self.field_remappings
|
|
339
|
-
@field_remappings = {}
|
|
340
|
-
end
|
|
341
|
-
end
|
|
342
|
-
|
|
343
|
-
class Pending < ::Stripe::StripeObject
|
|
344
|
-
class SourceTypes < ::Stripe::StripeObject
|
|
345
|
-
# Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated).
|
|
346
|
-
attr_reader :bank_account
|
|
347
|
-
# Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits).
|
|
348
|
-
attr_reader :card
|
|
349
|
-
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
|
350
|
-
attr_reader :fpx
|
|
351
|
-
|
|
352
|
-
def self.inner_class_types
|
|
353
|
-
@inner_class_types = {}
|
|
354
|
-
end
|
|
355
|
-
|
|
356
|
-
def self.field_remappings
|
|
357
|
-
@field_remappings = {}
|
|
358
|
-
end
|
|
359
|
-
end
|
|
360
|
-
# Balance amount.
|
|
361
|
-
attr_reader :amount
|
|
362
|
-
# 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).
|
|
363
|
-
attr_reader :currency
|
|
364
|
-
# Attribute for field source_types
|
|
365
|
-
attr_reader :source_types
|
|
366
|
-
|
|
367
|
-
def self.inner_class_types
|
|
368
|
-
@inner_class_types = { source_types: SourceTypes }
|
|
369
|
-
end
|
|
370
|
-
|
|
371
|
-
def self.field_remappings
|
|
372
|
-
@field_remappings = {}
|
|
373
|
-
end
|
|
374
|
-
end
|
|
375
|
-
# Funds that are available for use.
|
|
376
|
-
attr_reader :available
|
|
377
|
-
# Funds that are pending
|
|
378
|
-
attr_reader :pending
|
|
379
|
-
|
|
380
|
-
def self.inner_class_types
|
|
381
|
-
@inner_class_types = { available: Available, pending: Pending }
|
|
382
|
-
end
|
|
383
|
-
|
|
384
|
-
def self.field_remappings
|
|
385
|
-
@field_remappings = {}
|
|
386
|
-
end
|
|
387
|
-
end
|
|
388
308
|
# Available funds that you can transfer or pay out automatically by Stripe or explicitly through the [Transfers API](https://docs.stripe.com/api#transfers) or [Payouts API](https://docs.stripe.com/api#payouts). You can find the available balance for each currency and payment type in the `source_types` property.
|
|
389
309
|
attr_reader :available
|
|
390
310
|
# Funds held due to negative balances on connected accounts where [account.controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. You can find the connect reserve balance for each currency and payment type in the `source_types` property.
|
|
@@ -401,8 +321,6 @@ module Stripe
|
|
|
401
321
|
attr_reader :pending
|
|
402
322
|
# Attribute for field refund_and_dispute_prefunding
|
|
403
323
|
attr_reader :refund_and_dispute_prefunding
|
|
404
|
-
# Attribute for field risk_reserved
|
|
405
|
-
attr_reader :risk_reserved
|
|
406
324
|
|
|
407
325
|
def self.inner_class_types
|
|
408
326
|
@inner_class_types = {
|
|
@@ -412,7 +330,6 @@ module Stripe
|
|
|
412
330
|
issuing: Issuing,
|
|
413
331
|
pending: Pending,
|
|
414
332
|
refund_and_dispute_prefunding: RefundAndDisputePrefunding,
|
|
415
|
-
risk_reserved: RiskReserved,
|
|
416
333
|
}
|
|
417
334
|
end
|
|
418
335
|
|
|
@@ -103,12 +103,8 @@ module Stripe
|
|
|
103
103
|
end
|
|
104
104
|
# A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See [Understanding Connect account balances](/connect/account-balances) for details. The default value is `false` when [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, otherwise `true`.
|
|
105
105
|
attr_reader :debit_negative_balances
|
|
106
|
-
# The default settlement currency for the account.
|
|
107
|
-
attr_reader :default_settlement_currency
|
|
108
106
|
# Settings specific to the account's payouts.
|
|
109
107
|
attr_reader :payouts
|
|
110
|
-
# A hash of settlement currencies and their states. Each key is an ISO 4217 currency code, and the value is one of `enabled`, `disabled`, or `restricted_by_application`.
|
|
111
|
-
attr_reader :settlement_currencies
|
|
112
108
|
# Attribute for field settlement_timing
|
|
113
109
|
attr_reader :settlement_timing
|
|
114
110
|
|
|
@@ -31,19 +31,6 @@ module Stripe
|
|
|
31
31
|
@field_remappings = {}
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
|
-
|
|
35
|
-
class Redaction < ::Stripe::StripeObject
|
|
36
|
-
# Indicates whether this object and its related objects have been redacted or not.
|
|
37
|
-
attr_reader :status
|
|
38
|
-
|
|
39
|
-
def self.inner_class_types
|
|
40
|
-
@inner_class_types = {}
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
def self.field_remappings
|
|
44
|
-
@field_remappings = {}
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
34
|
# The account this card belongs to. Only applicable on Accounts (not customers or recipients) This property is only available when returned as an [External Account](/api/external_account_cards/object) where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`.
|
|
48
35
|
attr_reader :account
|
|
49
36
|
# City/District/Suburb/Town/Village.
|
|
@@ -68,8 +55,6 @@ module Stripe
|
|
|
68
55
|
attr_reader :available_payout_methods
|
|
69
56
|
# Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
70
57
|
attr_reader :brand
|
|
71
|
-
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
72
|
-
attr_reader :brand_product
|
|
73
58
|
# Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
74
59
|
attr_reader :country
|
|
75
60
|
# Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available when returned as an [External Account](/api/external_account_cards/object) where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`.
|
|
@@ -112,8 +97,6 @@ module Stripe
|
|
|
112
97
|
attr_reader :networks
|
|
113
98
|
# String representing the object's type. Objects of the same type share the same value.
|
|
114
99
|
attr_reader :object
|
|
115
|
-
# Redaction status of this card. If not null, this card is associated to a redaction job.
|
|
116
|
-
attr_reader :redaction
|
|
117
100
|
# Status of a card based on the card issuer.
|
|
118
101
|
attr_reader :regulated_status
|
|
119
102
|
# For external accounts that are cards, possible values are `new` and `errored`. If a payout fails, the status is set to `errored` and [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) are stopped until account details are updated.
|
|
@@ -171,7 +154,7 @@ module Stripe
|
|
|
171
154
|
end
|
|
172
155
|
|
|
173
156
|
def self.inner_class_types
|
|
174
|
-
@inner_class_types = { networks: Networks
|
|
157
|
+
@inner_class_types = { networks: Networks }
|
|
175
158
|
end
|
|
176
159
|
|
|
177
160
|
def self.field_remappings
|