stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/resources/account.rb +23 -745
- data/lib/stripe/resources/account_link.rb +0 -10
- data/lib/stripe/resources/account_notice.rb +0 -22
- data/lib/stripe/resources/account_session.rb +0 -125
- data/lib/stripe/resources/apple_pay_domain.rb +0 -10
- data/lib/stripe/resources/application.rb +0 -3
- data/lib/stripe/resources/application_fee.rb +0 -24
- data/lib/stripe/resources/application_fee_refund.rb +0 -7
- data/lib/stripe/resources/apps/secret.rb +0 -25
- data/lib/stripe/resources/balance.rb +0 -31
- data/lib/stripe/resources/balance_transaction.rb +0 -29
- data/lib/stripe/resources/bank_account.rb +0 -29
- data/lib/stripe/resources/billing/alert.rb +0 -22
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
- data/lib/stripe/resources/billing/credit_grant.rb +0 -32
- data/lib/stripe/resources/billing/meter.rb +0 -25
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
- data/lib/stripe/resources/billing/meter_event.rb +0 -10
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -77
- data/lib/stripe/resources/billing_portal/session.rb +0 -42
- data/lib/stripe/resources/capability.rb +2 -29
- data/lib/stripe/resources/capital/financing_offer.rb +0 -33
- data/lib/stripe/resources/capital/financing_summary.rb +0 -13
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +2 -34
- data/lib/stripe/resources/cash_balance.rb +0 -5
- data/lib/stripe/resources/charge.rb +4 -665
- data/lib/stripe/resources/checkout/session.rb +4 -512
- data/lib/stripe/resources/climate/order.rb +0 -40
- data/lib/stripe/resources/climate/product.rb +0 -13
- data/lib/stripe/resources/climate/supplier.rb +0 -13
- data/lib/stripe/resources/confirmation_token.rb +2 -337
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
- data/lib/stripe/resources/country_spec.rb +0 -13
- data/lib/stripe/resources/coupon.rb +0 -39
- data/lib/stripe/resources/credit_note.rb +0 -138
- data/lib/stripe/resources/credit_note_line_item.rb +0 -24
- data/lib/stripe/resources/customer.rb +1 -156
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
- data/lib/stripe/resources/customer_session.rb +0 -24
- data/lib/stripe/resources/discount.rb +0 -12
- data/lib/stripe/resources/dispute.rb +4 -152
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
- data/lib/stripe/resources/entitlements/feature.rb +0 -17
- data/lib/stripe/resources/ephemeral_key.rb +0 -5
- data/lib/stripe/resources/event.rb +0 -27
- data/lib/stripe/resources/exchange_rate.rb +0 -5
- data/lib/stripe/resources/file.rb +0 -23
- data/lib/stripe/resources/file_link.rb +0 -22
- data/lib/stripe/resources/financial_connections/account.rb +0 -47
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
- data/lib/stripe/resources/financial_connections/institution.rb +0 -13
- data/lib/stripe/resources/financial_connections/session.rb +0 -28
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -21
- data/lib/stripe/resources/forwarding/request.rb +0 -31
- data/lib/stripe/resources/funding_instructions.rb +0 -107
- data/lib/stripe/resources/gift_cards/card.rb +0 -28
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
- data/lib/stripe/resources/identity/verification_report.rb +0 -69
- data/lib/stripe/resources/identity/verification_session.rb +0 -69
- data/lib/stripe/resources/invoice.rb +6 -1276
- data/lib/stripe/resources/invoice_item.rb +0 -91
- data/lib/stripe/resources/invoice_line_item.rb +0 -76
- data/lib/stripe/resources/invoice_payment.rb +0 -16
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -199
- data/lib/stripe/resources/issuing/card.rb +0 -128
- data/lib/stripe/resources/issuing/cardholder.rb +0 -110
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
- data/lib/stripe/resources/issuing/dispute.rb +0 -151
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
- data/lib/stripe/resources/issuing/settlement.rb +0 -16
- data/lib/stripe/resources/issuing/token.rb +0 -46
- data/lib/stripe/resources/issuing/transaction.rb +0 -171
- data/lib/stripe/resources/line_item.rb +0 -23
- data/lib/stripe/resources/login_link.rb +0 -2
- data/lib/stripe/resources/mandate.rb +0 -45
- data/lib/stripe/resources/margin.rb +0 -19
- data/lib/stripe/resources/order.rb +3 -391
- data/lib/stripe/resources/payment_attempt_record.rb +0 -42
- data/lib/stripe/resources/payment_intent.rb +2 -1768
- data/lib/stripe/resources/payment_link.rb +15 -213
- data/lib/stripe/resources/payment_method.rb +2 -345
- data/lib/stripe/resources/payment_method_configuration.rb +0 -293
- data/lib/stripe/resources/payment_method_domain.rb +0 -23
- data/lib/stripe/resources/payment_record.rb +0 -109
- data/lib/stripe/resources/payout.rb +0 -49
- data/lib/stripe/resources/person.rb +2 -92
- data/lib/stripe/resources/plan.rb +0 -69
- data/lib/stripe/resources/price.rb +0 -133
- data/lib/stripe/resources/product.rb +0 -100
- data/lib/stripe/resources/product_feature.rb +0 -4
- data/lib/stripe/resources/promotion_code.rb +0 -40
- data/lib/stripe/resources/quote.rb +0 -458
- data/lib/stripe/resources/quote_line.rb +0 -66
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
- data/lib/stripe/resources/radar/value_list.rb +0 -26
- data/lib/stripe/resources/radar/value_list_item.rb +0 -18
- data/lib/stripe/resources/refund.rb +0 -92
- data/lib/stripe/resources/reporting/report_run.rb +0 -32
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -4
- data/lib/stripe/resources/reversal.rb +0 -9
- data/lib/stripe/resources/review.rb +0 -27
- data/lib/stripe/resources/setup_attempt.rb +2 -103
- data/lib/stripe/resources/setup_intent.rb +2 -539
- data/lib/stripe/resources/shipping_rate.rb +0 -44
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
- data/lib/stripe/resources/source.rb +6 -338
- data/lib/stripe/resources/source_mandate_notification.rb +0 -13
- data/lib/stripe/resources/source_transaction.rb +0 -29
- data/lib/stripe/resources/subscription.rb +0 -338
- data/lib/stripe/resources/subscription_item.rb +0 -69
- data/lib/stripe/resources/subscription_schedule.rb +0 -388
- data/lib/stripe/resources/tax/association.rb +0 -11
- data/lib/stripe/resources/tax/calculation.rb +2 -89
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
- data/lib/stripe/resources/tax/form.rb +2 -35
- data/lib/stripe/resources/tax/registration.rb +421 -213
- data/lib/stripe/resources/tax/settings.rb +0 -20
- data/lib/stripe/resources/tax/transaction.rb +1 -66
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
- data/lib/stripe/resources/tax_code.rb +0 -6
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
- data/lib/stripe/resources/tax_id.rb +2 -28
- data/lib/stripe/resources/tax_rate.rb +0 -45
- data/lib/stripe/resources/terminal/configuration.rb +0 -164
- data/lib/stripe/resources/terminal/connection_token.rb +0 -3
- data/lib/stripe/resources/terminal/location.rb +0 -33
- data/lib/stripe/resources/terminal/reader.rb +0 -129
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
- data/lib/stripe/resources/token.rb +4 -192
- data/lib/stripe/resources/topup.rb +0 -36
- data/lib/stripe/resources/transfer.rb +0 -35
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
- data/lib/stripe/resources/treasury/financial_account.rb +77 -71
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
- data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
- data/lib/stripe/resources/treasury/received_credit.rb +6 -58
- data/lib/stripe/resources/treasury/received_debit.rb +0 -54
- data/lib/stripe/resources/treasury/transaction.rb +0 -39
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
- data/lib/stripe/resources/usage_record.rb +0 -5
- data/lib/stripe/resources/usage_record_summary.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
- data/lib/stripe/resources/v2/event.rb +0 -8
- data/lib/stripe/resources/v2/event_destination.rb +0 -19
- data/lib/stripe/resources/webhook_endpoint.rb +0 -26
- data/lib/stripe/services/account_capability_service.rb +0 -1
- data/lib/stripe/services/account_external_account_service.rb +0 -43
- data/lib/stripe/services/account_link_service.rb +0 -7
- data/lib/stripe/services/account_notice_service.rb +0 -9
- data/lib/stripe/services/account_person_service.rb +0 -139
- data/lib/stripe/services/account_service.rb +8 -519
- data/lib/stripe/services/account_session_service.rb +0 -76
- data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
- data/lib/stripe/services/application_fee_refund_service.rb +0 -6
- data/lib/stripe/services/application_fee_service.rb +0 -8
- data/lib/stripe/services/apps/secret_service.rb +0 -16
- data/lib/stripe/services/balance_transaction_service.rb +0 -11
- data/lib/stripe/services/billing/alert_service.rb +0 -12
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
- data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
- data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
- data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
- data/lib/stripe/services/billing/meter_event_service.rb +0 -4
- data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
- data/lib/stripe/services/billing/meter_service.rb +0 -12
- data/lib/stripe/services/billing_portal/configuration_service.rb +0 -48
- data/lib/stripe/services/billing_portal/session_service.rb +0 -19
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
- data/lib/stripe/services/charge_service.rb +0 -274
- data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
- data/lib/stripe/services/checkout/session_service.rb +2 -273
- data/lib/stripe/services/climate/order_service.rb +0 -11
- data/lib/stripe/services/climate/product_service.rb +0 -3
- data/lib/stripe/services/climate/supplier_service.rb +0 -3
- data/lib/stripe/services/country_spec_service.rb +0 -3
- data/lib/stripe/services/coupon_service.rb +0 -22
- data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
- data/lib/stripe/services/credit_note_service.rb +0 -61
- data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
- data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
- data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
- data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
- data/lib/stripe/services/customer_payment_method_service.rb +0 -5
- data/lib/stripe/services/customer_payment_source_service.rb +0 -29
- data/lib/stripe/services/customer_service.rb +1 -92
- data/lib/stripe/services/customer_session_service.rb +0 -10
- data/lib/stripe/services/customer_tax_id_service.rb +1 -6
- data/lib/stripe/services/dispute_service.rb +2 -67
- data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
- data/lib/stripe/services/entitlements/feature_service.rb +0 -11
- data/lib/stripe/services/ephemeral_key_service.rb +0 -4
- data/lib/stripe/services/event_service.rb +0 -10
- data/lib/stripe/services/exchange_rate_service.rb +0 -3
- data/lib/stripe/services/file_link_service.rb +0 -14
- data/lib/stripe/services/file_service.rb +0 -13
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
- data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
- data/lib/stripe/services/financial_connections/account_service.rb +0 -9
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
- data/lib/stripe/services/financial_connections/session_service.rb +0 -11
- data/lib/stripe/services/financial_connections/transaction_service.rb +0 -9
- data/lib/stripe/services/forwarding/request_service.rb +0 -14
- data/lib/stripe/services/gift_cards/card_service.rb +0 -13
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
- data/lib/stripe/services/identity/verification_report_service.rb +0 -10
- data/lib/stripe/services/identity/verification_session_service.rb +0 -30
- data/lib/stripe/services/invoice_item_service.rb +0 -66
- data/lib/stripe/services/invoice_line_item_service.rb +0 -40
- data/lib/stripe/services/invoice_payment_service.rb +0 -3
- data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
- data/lib/stripe/services/invoice_service.rb +2 -810
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
- data/lib/stripe/services/issuing/authorization_service.rb +0 -14
- data/lib/stripe/services/issuing/card_service.rb +0 -70
- data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
- data/lib/stripe/services/issuing/dispute_service.rb +0 -98
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
- data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
- data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
- data/lib/stripe/services/issuing/token_service.rb +0 -10
- data/lib/stripe/services/issuing/transaction_service.rb +0 -12
- data/lib/stripe/services/margin_service.rb +0 -11
- data/lib/stripe/services/order_line_item_service.rb +0 -3
- data/lib/stripe/services/order_service.rb +2 -266
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
- data/lib/stripe/services/payment_intent_service.rb +0 -1309
- data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
- data/lib/stripe/services/payment_link_service.rb +15 -135
- data/lib/stripe/services/payment_method_configuration_service.rb +0 -102
- data/lib/stripe/services/payment_method_domain_service.rb +0 -8
- data/lib/stripe/services/payment_method_service.rb +0 -113
- data/lib/stripe/services/payment_record_service.rb +0 -68
- data/lib/stripe/services/payout_service.rb +0 -23
- data/lib/stripe/services/plan_service.rb +0 -43
- data/lib/stripe/services/price_service.rb +0 -87
- data/lib/stripe/services/product_feature_service.rb +0 -4
- data/lib/stripe/services/product_service.rb +0 -74
- data/lib/stripe/services/promotion_code_service.rb +0 -25
- data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
- data/lib/stripe/services/quote_line_item_service.rb +0 -3
- data/lib/stripe/services/quote_line_service.rb +0 -3
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
- data/lib/stripe/services/quote_service.rb +0 -309
- data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
- data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
- data/lib/stripe/services/radar/value_list_service.rb +0 -16
- data/lib/stripe/services/refund_service.rb +0 -21
- data/lib/stripe/services/reporting/report_run_service.rb +0 -16
- data/lib/stripe/services/review_service.rb +0 -7
- data/lib/stripe/services/setup_attempt_service.rb +0 -8
- data/lib/stripe/services/setup_intent_service.rb +0 -447
- data/lib/stripe/services/shipping_rate_service.rb +0 -27
- data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
- data/lib/stripe/services/source_service.rb +0 -92
- data/lib/stripe/services/source_transaction_service.rb +0 -3
- data/lib/stripe/services/subscription_item_service.rb +0 -56
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
- data/lib/stripe/services/subscription_schedule_service.rb +0 -290
- data/lib/stripe/services/subscription_service.rb +0 -245
- data/lib/stripe/services/tax/association_service.rb +0 -1
- data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/calculation_service.rb +1 -31
- data/lib/stripe/services/tax/form_service.rb +0 -7
- data/lib/stripe/services/tax/registration_service.rb +274 -108
- data/lib/stripe/services/tax/settings_service.rb +0 -8
- data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
- data/lib/stripe/services/tax/transaction_service.rb +0 -17
- data/lib/stripe/services/tax_code_service.rb +0 -3
- data/lib/stripe/services/tax_id_service.rb +1 -12
- data/lib/stripe/services/tax_rate_service.rb +0 -27
- data/lib/stripe/services/terminal/configuration_service.rb +0 -108
- data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
- data/lib/stripe/services/terminal/location_service.rb +0 -21
- data/lib/stripe/services/terminal/reader_service.rb +0 -53
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -89
- data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
- data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
- data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
- data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
- data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
- data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
- data/lib/stripe/services/token_service.rb +4 -184
- data/lib/stripe/services/topup_service.rb +0 -21
- data/lib/stripe/services/transfer_reversal_service.rb +0 -8
- data/lib/stripe/services/transfer_service.rb +0 -19
- data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
- data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
- data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
- data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
- data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
- data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
- data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
- data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
- data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
- data/lib/stripe/services/treasury/transaction_service.rb +0 -14
- data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
- data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
- data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
- data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
- data/lib/stripe/services/v2/core/event_service.rb +0 -2
- data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/stripe_object.rb +3 -3
- data/lib/stripe/util.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe/resources/account.rbi +29 -1001
- data/rbi/stripe/resources/account_link.rbi +0 -13
- data/rbi/stripe/resources/account_notice.rbi +0 -27
- data/rbi/stripe/resources/account_session.rbi +0 -166
- data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
- data/rbi/stripe/resources/application.rbi +0 -3
- data/rbi/stripe/resources/application_fee.rbi +0 -28
- data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
- data/rbi/stripe/resources/apps/secret.rbi +0 -34
- data/rbi/stripe/resources/balance.rbi +0 -33
- data/rbi/stripe/resources/balance_transaction.rbi +0 -33
- data/rbi/stripe/resources/bank_account.rbi +0 -29
- data/rbi/stripe/resources/billing/alert.rbi +0 -31
- data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
- data/rbi/stripe/resources/billing/meter.rbi +0 -35
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
- data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
- data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -106
- data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
- data/rbi/stripe/resources/capability.rbi +2 -29
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
- data/rbi/stripe/resources/card.rbi +3 -34
- data/rbi/stripe/resources/cash_balance.rbi +0 -5
- data/rbi/stripe/resources/charge.rbi +6 -738
- data/rbi/stripe/resources/checkout/session.rbi +4 -636
- data/rbi/stripe/resources/climate/order.rbi +0 -48
- data/rbi/stripe/resources/climate/product.rbi +0 -16
- data/rbi/stripe/resources/climate/supplier.rbi +0 -16
- data/rbi/stripe/resources/confirmation_token.rbi +3 -364
- data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
- data/rbi/stripe/resources/country_spec.rbi +0 -16
- data/rbi/stripe/resources/coupon.rbi +0 -48
- data/rbi/stripe/resources/credit_note.rbi +0 -159
- data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
- data/rbi/stripe/resources/customer.rbi +1 -188
- data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
- data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
- data/rbi/stripe/resources/customer_session.rbi +0 -31
- data/rbi/stripe/resources/discount.rbi +0 -12
- data/rbi/stripe/resources/dispute.rbi +4 -166
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
- data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
- data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
- data/rbi/stripe/resources/event.rbi +0 -31
- data/rbi/stripe/resources/exchange_rate.rbi +0 -8
- data/rbi/stripe/resources/file.rbi +0 -29
- data/rbi/stripe/resources/file_link.rbi +0 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
- data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
- data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
- data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -26
- data/rbi/stripe/resources/forwarding/request.rbi +0 -38
- data/rbi/stripe/resources/funding_instructions.rbi +0 -107
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
- data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
- data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
- data/rbi/stripe/resources/invoice.rbi +7 -1663
- data/rbi/stripe/resources/invoice_item.rbi +0 -107
- data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
- data/rbi/stripe/resources/invoice_payment.rbi +0 -16
- data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
- data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
- data/rbi/stripe/resources/issuing/card.rbi +0 -153
- data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
- data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
- data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
- data/rbi/stripe/resources/issuing/token.rbi +0 -51
- data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
- data/rbi/stripe/resources/line_item.rbi +0 -23
- data/rbi/stripe/resources/login_link.rbi +0 -2
- data/rbi/stripe/resources/mandate.rbi +0 -47
- data/rbi/stripe/resources/margin.rbi +0 -24
- data/rbi/stripe/resources/order.rbi +3 -492
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
- data/rbi/stripe/resources/payment_intent.rbi +3 -2224
- data/rbi/stripe/resources/payment_link.rbi +14 -291
- data/rbi/stripe/resources/payment_method.rbi +3 -382
- data/rbi/stripe/resources/payment_method_configuration.rbi +0 -486
- data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
- data/rbi/stripe/resources/payment_record.rbi +0 -134
- data/rbi/stripe/resources/payout.rbi +0 -58
- data/rbi/stripe/resources/person.rbi +2 -92
- data/rbi/stripe/resources/plan.rbi +0 -78
- data/rbi/stripe/resources/price.rbi +0 -153
- data/rbi/stripe/resources/product.rbi +0 -120
- data/rbi/stripe/resources/product_feature.rbi +0 -4
- data/rbi/stripe/resources/promotion_code.rbi +0 -50
- data/rbi/stripe/resources/quote.rbi +0 -593
- data/rbi/stripe/resources/quote_line.rbi +0 -66
- data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
- data/rbi/stripe/resources/radar/value_list.rbi +0 -32
- data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
- data/rbi/stripe/resources/refund.rbi +0 -100
- data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
- data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
- data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
- data/rbi/stripe/resources/reversal.rbi +0 -9
- data/rbi/stripe/resources/review.rbi +0 -32
- data/rbi/stripe/resources/setup_attempt.rbi +3 -106
- data/rbi/stripe/resources/setup_intent.rbi +3 -688
- data/rbi/stripe/resources/shipping_rate.rbi +0 -57
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
- data/rbi/stripe/resources/source.rbi +9 -365
- data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
- data/rbi/stripe/resources/source_transaction.rbi +0 -29
- data/rbi/stripe/resources/subscription.rbi +0 -431
- data/rbi/stripe/resources/subscription_item.rbi +0 -88
- data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
- data/rbi/stripe/resources/tax/association.rbi +0 -13
- data/rbi/stripe/resources/tax/calculation.rbi +2 -100
- data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
- data/rbi/stripe/resources/tax/form.rbi +2 -40
- data/rbi/stripe/resources/tax/registration.rbi +401 -317
- data/rbi/stripe/resources/tax/settings.rbi +0 -26
- data/rbi/stripe/resources/tax/transaction.rbi +1 -73
- data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
- data/rbi/stripe/resources/tax_code.rbi +0 -9
- data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
- data/rbi/stripe/resources/tax_id.rbi +2 -34
- data/rbi/stripe/resources/tax_rate.rbi +0 -51
- data/rbi/stripe/resources/terminal/configuration.rbi +0 -211
- data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
- data/rbi/stripe/resources/terminal/location.rbi +0 -40
- data/rbi/stripe/resources/terminal/reader.rbi +0 -158
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
- data/rbi/stripe/resources/token.rbi +5 -235
- data/rbi/stripe/resources/topup.rbi +0 -44
- data/rbi/stripe/resources/transfer.rbi +0 -41
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
- data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
- data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
- data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
- data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -5
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
- data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
- data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
- data/rbi/stripe/resources/v2/event.rbi +0 -8
- data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
- data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
- data/rbi/stripe/services/account_capability_service.rbi +0 -4
- data/rbi/stripe/services/account_external_account_service.rbi +0 -52
- data/rbi/stripe/services/account_link_service.rbi +0 -9
- data/rbi/stripe/services/account_login_link_service.rbi +0 -1
- data/rbi/stripe/services/account_notice_service.rbi +0 -13
- data/rbi/stripe/services/account_person_service.rbi +0 -174
- data/rbi/stripe/services/account_service.rbi +10 -773
- data/rbi/stripe/services/account_session_service.rbi +0 -116
- data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
- data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
- data/rbi/stripe/services/application_fee_service.rbi +0 -11
- data/rbi/stripe/services/apps/secret_service.rbi +0 -24
- data/rbi/stripe/services/balance_service.rbi +0 -1
- data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
- data/rbi/stripe/services/billing/alert_service.rbi +0 -20
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
- data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
- data/rbi/stripe/services/billing/meter_service.rbi +0 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
- data/rbi/stripe/services/charge_service.rbi +0 -346
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
- data/rbi/stripe/services/checkout/session_service.rbi +2 -395
- data/rbi/stripe/services/climate/order_service.rbi +0 -18
- data/rbi/stripe/services/climate/product_service.rbi +0 -5
- data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
- data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
- data/rbi/stripe/services/country_spec_service.rbi +0 -5
- data/rbi/stripe/services/coupon_service.rbi +0 -30
- data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
- data/rbi/stripe/services/credit_note_service.rbi +0 -76
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
- data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
- data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
- data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
- data/rbi/stripe/services/customer_service.rbi +1 -117
- data/rbi/stripe/services/customer_session_service.rbi +0 -16
- data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
- data/rbi/stripe/services/dispute_service.rbi +2 -80
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
- data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
- data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
- data/rbi/stripe/services/event_service.rbi +0 -13
- data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
- data/rbi/stripe/services/file_link_service.rbi +0 -19
- data/rbi/stripe/services/file_service.rbi +0 -18
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
- data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -13
- data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
- data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
- data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
- data/rbi/stripe/services/invoice_item_service.rbi +0 -81
- data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
- data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
- data/rbi/stripe/services/invoice_service.rbi +2 -1100
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
- data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
- data/rbi/stripe/services/issuing/card_service.rbi +0 -89
- data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
- data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
- data/rbi/stripe/services/issuing/token_service.rbi +0 -14
- data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
- data/rbi/stripe/services/mandate_service.rbi +0 -1
- data/rbi/stripe/services/margin_service.rbi +0 -15
- data/rbi/stripe/services/order_line_item_service.rbi +0 -4
- data/rbi/stripe/services/order_service.rbi +2 -365
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
- data/rbi/stripe/services/payment_intent_service.rbi +0 -1764
- data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
- data/rbi/stripe/services/payment_link_service.rbi +14 -211
- data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -294
- data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
- data/rbi/stripe/services/payment_method_service.rbi +0 -149
- data/rbi/stripe/services/payment_record_service.rbi +0 -92
- data/rbi/stripe/services/payout_service.rbi +0 -31
- data/rbi/stripe/services/plan_service.rbi +0 -51
- data/rbi/stripe/services/price_service.rbi +0 -106
- data/rbi/stripe/services/product_feature_service.rbi +0 -7
- data/rbi/stripe/services/product_service.rbi +0 -93
- data/rbi/stripe/services/promotion_code_service.rbi +0 -34
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
- data/rbi/stripe/services/quote_line_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
- data/rbi/stripe/services/quote_service.rbi +0 -440
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
- data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
- data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
- data/rbi/stripe/services/refund_service.rbi +0 -27
- data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
- data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
- data/rbi/stripe/services/review_service.rbi +0 -11
- data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
- data/rbi/stripe/services/setup_intent_service.rbi +0 -595
- data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
- data/rbi/stripe/services/source_service.rbi +0 -119
- data/rbi/stripe/services/source_transaction_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_service.rbi +0 -74
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
- data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
- data/rbi/stripe/services/subscription_service.rbi +0 -337
- data/rbi/stripe/services/tax/association_service.rbi +0 -2
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
- data/rbi/stripe/services/tax/form_service.rbi +0 -11
- data/rbi/stripe/services/tax/registration_service.rbi +233 -211
- data/rbi/stripe/services/tax/settings_service.rbi +0 -13
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
- data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
- data/rbi/stripe/services/tax_code_service.rbi +0 -5
- data/rbi/stripe/services/tax_id_service.rbi +1 -17
- data/rbi/stripe/services/tax_rate_service.rbi +0 -32
- data/rbi/stripe/services/terminal/configuration_service.rbi +0 -154
- data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
- data/rbi/stripe/services/terminal/location_service.rbi +0 -27
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
- data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -114
- data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
- data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
- data/rbi/stripe/services/token_service.rbi +5 -226
- data/rbi/stripe/services/topup_service.rbi +0 -28
- data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
- data/rbi/stripe/services/transfer_service.rbi +0 -24
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
- data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
- data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
- data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
- data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
- data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
- data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
- metadata +2 -2
@@ -31,44 +31,38 @@ module Stripe
|
|
31
31
|
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
|
32
32
|
sig { returns(String) }
|
33
33
|
attr_reader :allow_redirects
|
34
|
-
|
35
34
|
# Automatically calculates compatible payment methods
|
36
35
|
sig { returns(T.nilable(T::Boolean)) }
|
37
36
|
attr_reader :enabled
|
38
37
|
end
|
39
38
|
class LastSetupError < Stripe::StripeObject
|
39
|
+
# For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
|
40
|
+
sig { returns(String) }
|
41
|
+
attr_reader :advice_code
|
40
42
|
# For card errors, the ID of the failed charge.
|
41
43
|
sig { returns(String) }
|
42
44
|
attr_reader :charge
|
43
|
-
|
44
45
|
# For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/docs/error-codes) reported.
|
45
46
|
sig { returns(String) }
|
46
47
|
attr_reader :code
|
47
|
-
|
48
48
|
# For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://stripe.com/docs/declines#issuer-declines) if they provide one.
|
49
49
|
sig { returns(String) }
|
50
50
|
attr_reader :decline_code
|
51
|
-
|
52
51
|
# A URL to more information about the [error code](https://stripe.com/docs/error-codes) reported.
|
53
52
|
sig { returns(String) }
|
54
53
|
attr_reader :doc_url
|
55
|
-
|
56
54
|
# A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
|
57
55
|
sig { returns(String) }
|
58
56
|
attr_reader :message
|
59
|
-
|
60
57
|
# For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.
|
61
58
|
sig { returns(String) }
|
62
59
|
attr_reader :network_advice_code
|
63
|
-
|
64
60
|
# For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.
|
65
61
|
sig { returns(String) }
|
66
62
|
attr_reader :network_decline_code
|
67
|
-
|
68
63
|
# If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.
|
69
64
|
sig { returns(String) }
|
70
65
|
attr_reader :param
|
71
|
-
|
72
66
|
# A PaymentIntent guides you through the process of collecting a payment from your customer.
|
73
67
|
# We recommend that you create exactly one PaymentIntent for each order or
|
74
68
|
# customer session in your system. You can reference the PaymentIntent later to
|
@@ -82,7 +76,6 @@ module Stripe
|
|
82
76
|
# Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents)
|
83
77
|
sig { returns(Stripe::PaymentIntent) }
|
84
78
|
attr_reader :payment_intent
|
85
|
-
|
86
79
|
# PaymentMethod objects represent your customer's payment instruments.
|
87
80
|
# You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to
|
88
81
|
# Customer objects to store instrument details for future payments.
|
@@ -90,15 +83,12 @@ module Stripe
|
|
90
83
|
# Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
|
91
84
|
sig { returns(Stripe::PaymentMethod) }
|
92
85
|
attr_reader :payment_method
|
93
|
-
|
94
86
|
# If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors.
|
95
87
|
sig { returns(String) }
|
96
88
|
attr_reader :payment_method_type
|
97
|
-
|
98
89
|
# A URL to the request log entry in your dashboard.
|
99
90
|
sig { returns(String) }
|
100
91
|
attr_reader :request_log_url
|
101
|
-
|
102
92
|
# A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
|
103
93
|
# For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
|
104
94
|
# Later, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow.
|
@@ -122,11 +112,9 @@ module Stripe
|
|
122
112
|
# Related guide: [Setup Intents API](https://docs.stripe.com/payments/setup-intents)
|
123
113
|
sig { returns(Stripe::SetupIntent) }
|
124
114
|
attr_reader :setup_intent
|
125
|
-
|
126
115
|
# Attribute for field source
|
127
116
|
sig { returns(T.any(Stripe::Account, Stripe::BankAccount, Stripe::Card, Stripe::Source)) }
|
128
117
|
attr_reader :source
|
129
|
-
|
130
118
|
# The type of error returned. One of `api_error`, `card_error`, `idempotency_error`, or `invalid_request_error`
|
131
119
|
sig { returns(String) }
|
132
120
|
attr_reader :type
|
@@ -137,11 +125,9 @@ module Stripe
|
|
137
125
|
# The date (unix timestamp) when the QR code expires.
|
138
126
|
sig { returns(Integer) }
|
139
127
|
attr_reader :expires_at
|
140
|
-
|
141
128
|
# The image_url_png string used to render QR code
|
142
129
|
sig { returns(String) }
|
143
130
|
attr_reader :image_url_png
|
144
|
-
|
145
131
|
# The image_url_svg string used to render QR code
|
146
132
|
sig { returns(String) }
|
147
133
|
attr_reader :image_url_svg
|
@@ -149,11 +135,9 @@ module Stripe
|
|
149
135
|
# The URL to the hosted Cash App Pay instructions page, which allows customers to view the QR code, and supports QR code refreshing on expiration.
|
150
136
|
sig { returns(String) }
|
151
137
|
attr_reader :hosted_instructions_url
|
152
|
-
|
153
138
|
# The url for mobile redirect based auth
|
154
139
|
sig { returns(String) }
|
155
140
|
attr_reader :mobile_auth_url
|
156
|
-
|
157
141
|
# Attribute for field qr_code
|
158
142
|
sig { returns(QrCode) }
|
159
143
|
attr_reader :qr_code
|
@@ -162,7 +146,6 @@ module Stripe
|
|
162
146
|
# If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
|
163
147
|
sig { returns(T.nilable(String)) }
|
164
148
|
attr_reader :return_url
|
165
|
-
|
166
149
|
# The URL you must redirect your customer to in order to authenticate.
|
167
150
|
sig { returns(T.nilable(String)) }
|
168
151
|
attr_reader :url
|
@@ -171,11 +154,9 @@ module Stripe
|
|
171
154
|
# The timestamp when the microdeposits are expected to land.
|
172
155
|
sig { returns(Integer) }
|
173
156
|
attr_reader :arrival_date
|
174
|
-
|
175
157
|
# The URL for the hosted verification page, which allows customers to verify their bank account.
|
176
158
|
sig { returns(String) }
|
177
159
|
attr_reader :hosted_verification_url
|
178
|
-
|
179
160
|
# The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
|
180
161
|
sig { returns(T.nilable(String)) }
|
181
162
|
attr_reader :microdeposit_type
|
@@ -183,19 +164,15 @@ module Stripe
|
|
183
164
|
# Attribute for field cashapp_handle_redirect_or_display_qr_code
|
184
165
|
sig { returns(CashappHandleRedirectOrDisplayQrCode) }
|
185
166
|
attr_reader :cashapp_handle_redirect_or_display_qr_code
|
186
|
-
|
187
167
|
# Attribute for field redirect_to_url
|
188
168
|
sig { returns(RedirectToUrl) }
|
189
169
|
attr_reader :redirect_to_url
|
190
|
-
|
191
170
|
# Type of the next action to perform, one of `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`.
|
192
171
|
sig { returns(String) }
|
193
172
|
attr_reader :type
|
194
|
-
|
195
173
|
# When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js.
|
196
174
|
sig { returns(T::Hash[String, T.untyped]) }
|
197
175
|
attr_reader :use_stripe_sdk
|
198
|
-
|
199
176
|
# Attribute for field verify_with_microdeposits
|
200
177
|
sig { returns(VerifyWithMicrodeposits) }
|
201
178
|
attr_reader :verify_with_microdeposits
|
@@ -204,7 +181,6 @@ module Stripe
|
|
204
181
|
# ID of the payment method configuration used.
|
205
182
|
sig { returns(String) }
|
206
183
|
attr_reader :id
|
207
|
-
|
208
184
|
# ID of the parent payment method configuration used.
|
209
185
|
sig { returns(T.nilable(String)) }
|
210
186
|
attr_reader :parent
|
@@ -215,19 +191,15 @@ module Stripe
|
|
215
191
|
# A URL for custom mandate text
|
216
192
|
sig { returns(String) }
|
217
193
|
attr_reader :custom_mandate_url
|
218
|
-
|
219
194
|
# List of Stripe products where this mandate can be selected automatically.
|
220
195
|
sig { returns(T::Array[String]) }
|
221
196
|
attr_reader :default_for
|
222
|
-
|
223
197
|
# Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.
|
224
198
|
sig { returns(T.nilable(String)) }
|
225
199
|
attr_reader :interval_description
|
226
|
-
|
227
200
|
# Payment schedule for the mandate.
|
228
201
|
sig { returns(T.nilable(String)) }
|
229
202
|
attr_reader :payment_schedule
|
230
|
-
|
231
203
|
# Transaction type of the mandate.
|
232
204
|
sig { returns(T.nilable(String)) }
|
233
205
|
attr_reader :transaction_type
|
@@ -235,11 +207,9 @@ module Stripe
|
|
235
207
|
# Currency supported by the bank account
|
236
208
|
sig { returns(T.nilable(String)) }
|
237
209
|
attr_reader :currency
|
238
|
-
|
239
210
|
# Attribute for field mandate_options
|
240
211
|
sig { returns(MandateOptions) }
|
241
212
|
attr_reader :mandate_options
|
242
|
-
|
243
213
|
# Bank account verification method.
|
244
214
|
sig { returns(String) }
|
245
215
|
attr_reader :verification_method
|
@@ -260,39 +230,30 @@ module Stripe
|
|
260
230
|
# Amount to be charged for future payments.
|
261
231
|
sig { returns(Integer) }
|
262
232
|
attr_reader :amount
|
263
|
-
|
264
233
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
265
234
|
sig { returns(String) }
|
266
235
|
attr_reader :amount_type
|
267
|
-
|
268
236
|
# 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).
|
269
237
|
sig { returns(String) }
|
270
238
|
attr_reader :currency
|
271
|
-
|
272
239
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
273
240
|
sig { returns(T.nilable(String)) }
|
274
241
|
attr_reader :description
|
275
|
-
|
276
242
|
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
277
243
|
sig { returns(T.nilable(Integer)) }
|
278
244
|
attr_reader :end_date
|
279
|
-
|
280
245
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
281
246
|
sig { returns(String) }
|
282
247
|
attr_reader :interval
|
283
|
-
|
284
248
|
# The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
|
285
249
|
sig { returns(T.nilable(Integer)) }
|
286
250
|
attr_reader :interval_count
|
287
|
-
|
288
251
|
# Unique identifier for the mandate or subscription.
|
289
252
|
sig { returns(String) }
|
290
253
|
attr_reader :reference
|
291
|
-
|
292
254
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
293
255
|
sig { returns(Integer) }
|
294
256
|
attr_reader :start_date
|
295
|
-
|
296
257
|
# Specifies the type of mandates supported. Possible values are `india`.
|
297
258
|
sig { returns(T.nilable(T::Array[String])) }
|
298
259
|
attr_reader :supported_types
|
@@ -300,11 +261,9 @@ module Stripe
|
|
300
261
|
# Configuration options for setting up an eMandate for cards issued in India.
|
301
262
|
sig { returns(T.nilable(MandateOptions)) }
|
302
263
|
attr_reader :mandate_options
|
303
|
-
|
304
264
|
# Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the setup intent. Can be only set confirm-time.
|
305
265
|
sig { returns(T.nilable(String)) }
|
306
266
|
attr_reader :network
|
307
|
-
|
308
267
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
309
268
|
sig { returns(T.nilable(String)) }
|
310
269
|
attr_reader :request_three_d_secure
|
@@ -319,11 +278,9 @@ module Stripe
|
|
319
278
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
320
279
|
sig { returns(T.nilable(String)) }
|
321
280
|
attr_reader :billing_agreement_id
|
322
|
-
|
323
281
|
# 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).
|
324
282
|
sig { returns(T.nilable(String)) }
|
325
283
|
attr_reader :currency
|
326
|
-
|
327
284
|
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
328
285
|
sig { returns(T::Array[String]) }
|
329
286
|
attr_reader :subsellers
|
@@ -333,27 +290,21 @@ module Stripe
|
|
333
290
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
334
291
|
sig { returns(T.nilable(Integer)) }
|
335
292
|
attr_reader :amount
|
336
|
-
|
337
293
|
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
338
294
|
sig { returns(T.nilable(String)) }
|
339
295
|
attr_reader :amount_type
|
340
|
-
|
341
296
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
342
297
|
sig { returns(T.nilable(String)) }
|
343
298
|
attr_reader :end_date
|
344
|
-
|
345
299
|
# The periodicity at which payments will be collected.
|
346
300
|
sig { returns(T.nilable(String)) }
|
347
301
|
attr_reader :payment_schedule
|
348
|
-
|
349
302
|
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
350
303
|
sig { returns(T.nilable(Integer)) }
|
351
304
|
attr_reader :payments_per_period
|
352
|
-
|
353
305
|
# The purpose for which payments are made. Defaults to retail.
|
354
306
|
sig { returns(T.nilable(String)) }
|
355
307
|
attr_reader :purpose
|
356
|
-
|
357
308
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
358
309
|
sig { returns(T.nilable(String)) }
|
359
310
|
attr_reader :start_date
|
@@ -378,7 +329,6 @@ module Stripe
|
|
378
329
|
# The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
379
330
|
sig { returns(T::Array[String]) }
|
380
331
|
attr_reader :account_subcategories
|
381
|
-
|
382
332
|
# The institution to use to filter for possible accounts to link.
|
383
333
|
sig { returns(String) }
|
384
334
|
attr_reader :institution
|
@@ -391,19 +341,15 @@ module Stripe
|
|
391
341
|
# Attribute for field filters
|
392
342
|
sig { returns(Filters) }
|
393
343
|
attr_reader :filters
|
394
|
-
|
395
344
|
# Attribute for field manual_entry
|
396
345
|
sig { returns(ManualEntry) }
|
397
346
|
attr_reader :manual_entry
|
398
|
-
|
399
347
|
# The list of permissions to request. The `payment_method` permission must be included.
|
400
348
|
sig { returns(T::Array[String]) }
|
401
349
|
attr_reader :permissions
|
402
|
-
|
403
350
|
# Data features requested to be retrieved upon account creation.
|
404
351
|
sig { returns(T.nilable(T::Array[String])) }
|
405
352
|
attr_reader :prefetch
|
406
|
-
|
407
353
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
408
354
|
sig { returns(String) }
|
409
355
|
attr_reader :return_url
|
@@ -416,11 +362,9 @@ module Stripe
|
|
416
362
|
# Attribute for field financial_connections
|
417
363
|
sig { returns(FinancialConnections) }
|
418
364
|
attr_reader :financial_connections
|
419
|
-
|
420
365
|
# Attribute for field mandate_options
|
421
366
|
sig { returns(MandateOptions) }
|
422
367
|
attr_reader :mandate_options
|
423
|
-
|
424
368
|
# Bank account verification method.
|
425
369
|
sig { returns(String) }
|
426
370
|
attr_reader :verification_method
|
@@ -428,39 +372,30 @@ module Stripe
|
|
428
372
|
# Attribute for field acss_debit
|
429
373
|
sig { returns(AcssDebit) }
|
430
374
|
attr_reader :acss_debit
|
431
|
-
|
432
375
|
# Attribute for field amazon_pay
|
433
376
|
sig { returns(AmazonPay) }
|
434
377
|
attr_reader :amazon_pay
|
435
|
-
|
436
378
|
# Attribute for field bacs_debit
|
437
379
|
sig { returns(BacsDebit) }
|
438
380
|
attr_reader :bacs_debit
|
439
|
-
|
440
381
|
# Attribute for field card
|
441
382
|
sig { returns(Card) }
|
442
383
|
attr_reader :card
|
443
|
-
|
444
384
|
# Attribute for field card_present
|
445
385
|
sig { returns(CardPresent) }
|
446
386
|
attr_reader :card_present
|
447
|
-
|
448
387
|
# Attribute for field link
|
449
388
|
sig { returns(Link) }
|
450
389
|
attr_reader :link
|
451
|
-
|
452
390
|
# Attribute for field paypal
|
453
391
|
sig { returns(Paypal) }
|
454
392
|
attr_reader :paypal
|
455
|
-
|
456
393
|
# Attribute for field payto
|
457
394
|
sig { returns(Payto) }
|
458
395
|
attr_reader :payto
|
459
|
-
|
460
396
|
# Attribute for field sepa_debit
|
461
397
|
sig { returns(SepaDebit) }
|
462
398
|
attr_reader :sepa_debit
|
463
|
-
|
464
399
|
# Attribute for field us_bank_account
|
465
400
|
sig { returns(UsBankAccount) }
|
466
401
|
attr_reader :us_bank_account
|
@@ -468,131 +403,102 @@ module Stripe
|
|
468
403
|
# ID of the Connect application that created the SetupIntent.
|
469
404
|
sig { returns(T.nilable(T.any(String, Stripe::Application))) }
|
470
405
|
attr_reader :application
|
471
|
-
|
472
406
|
# If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
|
473
407
|
#
|
474
408
|
# It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
|
475
409
|
sig { returns(T::Boolean) }
|
476
410
|
attr_reader :attach_to_self
|
477
|
-
|
478
411
|
# Settings for dynamic payment methods compatible with this Setup Intent
|
479
412
|
sig { returns(T.nilable(AutomaticPaymentMethods)) }
|
480
413
|
attr_reader :automatic_payment_methods
|
481
|
-
|
482
414
|
# Reason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`.
|
483
415
|
sig { returns(T.nilable(String)) }
|
484
416
|
attr_reader :cancellation_reason
|
485
|
-
|
486
417
|
# The client secret of this SetupIntent. Used for client-side retrieval using a publishable key.
|
487
418
|
#
|
488
419
|
# The client secret can be used to complete payment setup from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
489
420
|
sig { returns(T.nilable(String)) }
|
490
421
|
attr_reader :client_secret
|
491
|
-
|
492
422
|
# Time at which the object was created. Measured in seconds since the Unix epoch.
|
493
423
|
sig { returns(Integer) }
|
494
424
|
attr_reader :created
|
495
|
-
|
496
425
|
# ID of the Customer this SetupIntent belongs to, if one exists.
|
497
426
|
#
|
498
427
|
# If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
|
499
428
|
sig { returns(T.nilable(T.any(String, Stripe::Customer))) }
|
500
429
|
attr_reader :customer
|
501
|
-
|
502
430
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
503
431
|
sig { returns(T.nilable(String)) }
|
504
432
|
attr_reader :description
|
505
|
-
|
506
433
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|
507
434
|
#
|
508
435
|
# Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
|
509
436
|
sig { returns(T.nilable(T::Array[String])) }
|
510
437
|
attr_reader :flow_directions
|
511
|
-
|
512
438
|
# Unique identifier for the object.
|
513
439
|
sig { returns(String) }
|
514
440
|
attr_reader :id
|
515
|
-
|
516
441
|
# The error encountered in the previous SetupIntent confirmation.
|
517
442
|
sig { returns(T.nilable(LastSetupError)) }
|
518
443
|
attr_reader :last_setup_error
|
519
|
-
|
520
444
|
# The most recent SetupAttempt for this SetupIntent.
|
521
445
|
sig { returns(T.nilable(T.any(String, Stripe::SetupAttempt))) }
|
522
446
|
attr_reader :latest_attempt
|
523
|
-
|
524
447
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
525
448
|
sig { returns(T::Boolean) }
|
526
449
|
attr_reader :livemode
|
527
|
-
|
528
450
|
# ID of the multi use Mandate generated by the SetupIntent.
|
529
451
|
sig { returns(T.nilable(T.any(String, Stripe::Mandate))) }
|
530
452
|
attr_reader :mandate
|
531
|
-
|
532
453
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
533
454
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
534
455
|
attr_reader :metadata
|
535
|
-
|
536
456
|
# If present, this property tells you what actions you need to take in order for your customer to continue payment setup.
|
537
457
|
sig { returns(T.nilable(NextAction)) }
|
538
458
|
attr_reader :next_action
|
539
|
-
|
540
459
|
# String representing the object's type. Objects of the same type share the same value.
|
541
460
|
sig { returns(String) }
|
542
461
|
attr_reader :object
|
543
|
-
|
544
462
|
# The account (if any) for which the setup is intended.
|
545
463
|
sig { returns(T.nilable(T.any(String, Stripe::Account))) }
|
546
464
|
attr_reader :on_behalf_of
|
547
|
-
|
548
465
|
# ID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead.
|
549
466
|
sig { returns(T.nilable(T.any(String, Stripe::PaymentMethod))) }
|
550
467
|
attr_reader :payment_method
|
551
|
-
|
552
468
|
# Information about the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) used for this Setup Intent.
|
553
469
|
sig { returns(T.nilable(PaymentMethodConfigurationDetails)) }
|
554
470
|
attr_reader :payment_method_configuration_details
|
555
|
-
|
556
471
|
# Payment method-specific configuration for this SetupIntent.
|
557
472
|
sig { returns(T.nilable(PaymentMethodOptions)) }
|
558
473
|
attr_reader :payment_method_options
|
559
|
-
|
560
474
|
# The list of payment method types (e.g. card) that this SetupIntent is allowed to set up.
|
561
475
|
sig { returns(T::Array[String]) }
|
562
476
|
attr_reader :payment_method_types
|
563
|
-
|
564
477
|
# ID of the single_use Mandate generated by the SetupIntent.
|
565
478
|
sig { returns(T.nilable(T.any(String, Stripe::Mandate))) }
|
566
479
|
attr_reader :single_use_mandate
|
567
|
-
|
568
480
|
# [Status](https://stripe.com/docs/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`.
|
569
481
|
sig { returns(String) }
|
570
482
|
attr_reader :status
|
571
|
-
|
572
483
|
# Indicates how the payment method is intended to be used in the future.
|
573
484
|
#
|
574
485
|
# Use `on_session` if you intend to only reuse the payment method when the customer is in your checkout flow. Use `off_session` if your customer may or may not be in your checkout flow. If not provided, this value defaults to `off_session`.
|
575
486
|
sig { returns(String) }
|
576
487
|
attr_reader :usage
|
577
|
-
|
578
488
|
class ListParams < Stripe::RequestParams
|
579
489
|
class Created < Stripe::RequestParams
|
580
490
|
# Minimum value to filter by (exclusive)
|
581
491
|
sig { returns(Integer) }
|
582
492
|
attr_accessor :gt
|
583
|
-
|
584
493
|
# Minimum value to filter by (inclusive)
|
585
494
|
sig { returns(Integer) }
|
586
495
|
attr_accessor :gte
|
587
|
-
|
588
496
|
# Maximum value to filter by (exclusive)
|
589
497
|
sig { returns(Integer) }
|
590
498
|
attr_accessor :lt
|
591
|
-
|
592
499
|
# Maximum value to filter by (inclusive)
|
593
500
|
sig { returns(Integer) }
|
594
501
|
attr_accessor :lte
|
595
|
-
|
596
502
|
sig { params(gt: Integer, gte: Integer, lt: Integer, lte: Integer).void }
|
597
503
|
def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
|
598
504
|
end
|
@@ -601,35 +507,27 @@ module Stripe
|
|
601
507
|
# It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
|
602
508
|
sig { returns(T::Boolean) }
|
603
509
|
attr_accessor :attach_to_self
|
604
|
-
|
605
510
|
# A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options.
|
606
511
|
sig { returns(T.any(::Stripe::SetupIntent::ListParams::Created, Integer)) }
|
607
512
|
attr_accessor :created
|
608
|
-
|
609
513
|
# Only return SetupIntents for the customer specified by this customer ID.
|
610
514
|
sig { returns(String) }
|
611
515
|
attr_accessor :customer
|
612
|
-
|
613
516
|
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
614
517
|
sig { returns(String) }
|
615
518
|
attr_accessor :ending_before
|
616
|
-
|
617
519
|
# Specifies which fields in the response should be expanded.
|
618
520
|
sig { returns(T::Array[String]) }
|
619
521
|
attr_accessor :expand
|
620
|
-
|
621
522
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
622
523
|
sig { returns(Integer) }
|
623
524
|
attr_accessor :limit
|
624
|
-
|
625
525
|
# Only return SetupIntents that associate with the specified payment method.
|
626
526
|
sig { returns(String) }
|
627
527
|
attr_accessor :payment_method
|
628
|
-
|
629
528
|
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
630
529
|
sig { returns(String) }
|
631
530
|
attr_accessor :starting_after
|
632
|
-
|
633
531
|
sig {
|
634
532
|
params(attach_to_self: T::Boolean, created: T.any(::Stripe::SetupIntent::ListParams::Created, Integer), customer: String, ending_before: String, expand: T::Array[String], limit: Integer, payment_method: String, starting_after: String).void
|
635
533
|
}
|
@@ -651,11 +549,9 @@ module Stripe
|
|
651
549
|
# Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/docs/api/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
|
652
550
|
sig { returns(String) }
|
653
551
|
attr_accessor :allow_redirects
|
654
|
-
|
655
552
|
# Whether this feature is enabled.
|
656
553
|
sig { returns(T::Boolean) }
|
657
554
|
attr_accessor :enabled
|
658
|
-
|
659
555
|
sig { params(allow_redirects: String, enabled: T::Boolean).void }
|
660
556
|
def initialize(allow_redirects: nil, enabled: nil); end
|
661
557
|
end
|
@@ -668,34 +564,28 @@ module Stripe
|
|
668
564
|
# The IP address from which the Mandate was accepted by the customer.
|
669
565
|
sig { returns(String) }
|
670
566
|
attr_accessor :ip_address
|
671
|
-
|
672
567
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
673
568
|
sig { returns(String) }
|
674
569
|
attr_accessor :user_agent
|
675
|
-
|
676
570
|
sig { params(ip_address: String, user_agent: String).void }
|
677
571
|
def initialize(ip_address: nil, user_agent: nil); end
|
678
572
|
end
|
679
573
|
# The time at which the customer accepted the Mandate.
|
680
574
|
sig { returns(Integer) }
|
681
575
|
attr_accessor :accepted_at
|
682
|
-
|
683
576
|
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
684
577
|
sig {
|
685
578
|
returns(::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance::Offline)
|
686
579
|
}
|
687
580
|
attr_accessor :offline
|
688
|
-
|
689
581
|
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
690
582
|
sig {
|
691
583
|
returns(::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance::Online)
|
692
584
|
}
|
693
585
|
attr_accessor :online
|
694
|
-
|
695
586
|
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
696
587
|
sig { returns(String) }
|
697
588
|
attr_accessor :type
|
698
|
-
|
699
589
|
sig {
|
700
590
|
params(accepted_at: Integer, offline: ::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance::Offline, online: ::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance::Online, type: String).void
|
701
591
|
}
|
@@ -704,7 +594,6 @@ module Stripe
|
|
704
594
|
# This hash contains details about the customer acceptance of the Mandate.
|
705
595
|
sig { returns(::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance) }
|
706
596
|
attr_accessor :customer_acceptance
|
707
|
-
|
708
597
|
sig {
|
709
598
|
params(customer_acceptance: ::Stripe::SetupIntent::CreateParams::MandateData::CustomerAcceptance).void
|
710
599
|
}
|
@@ -715,15 +604,12 @@ module Stripe
|
|
715
604
|
# Customer's bank account number.
|
716
605
|
sig { returns(String) }
|
717
606
|
attr_accessor :account_number
|
718
|
-
|
719
607
|
# Institution number of the customer's bank.
|
720
608
|
sig { returns(String) }
|
721
609
|
attr_accessor :institution_number
|
722
|
-
|
723
610
|
# Transit number of the customer's bank.
|
724
611
|
sig { returns(String) }
|
725
612
|
attr_accessor :transit_number
|
726
|
-
|
727
613
|
sig {
|
728
614
|
params(account_number: String, institution_number: String, transit_number: String).void
|
729
615
|
}
|
@@ -748,11 +634,9 @@ module Stripe
|
|
748
634
|
# The account number for the bank account.
|
749
635
|
sig { returns(String) }
|
750
636
|
attr_accessor :account_number
|
751
|
-
|
752
637
|
# Bank-State-Branch number of the bank account.
|
753
638
|
sig { returns(String) }
|
754
639
|
attr_accessor :bsb_number
|
755
|
-
|
756
640
|
sig { params(account_number: String, bsb_number: String).void }
|
757
641
|
def initialize(account_number: nil, bsb_number: nil); end
|
758
642
|
end
|
@@ -760,11 +644,9 @@ module Stripe
|
|
760
644
|
# Account number of the bank account that the funds will be debited from.
|
761
645
|
sig { returns(String) }
|
762
646
|
attr_accessor :account_number
|
763
|
-
|
764
647
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
765
648
|
sig { returns(String) }
|
766
649
|
attr_accessor :sort_code
|
767
|
-
|
768
650
|
sig { params(account_number: String, sort_code: String).void }
|
769
651
|
def initialize(account_number: nil, sort_code: nil); end
|
770
652
|
end
|
@@ -776,27 +658,21 @@ module Stripe
|
|
776
658
|
# City, district, suburb, town, or village.
|
777
659
|
sig { returns(String) }
|
778
660
|
attr_accessor :city
|
779
|
-
|
780
661
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
781
662
|
sig { returns(String) }
|
782
663
|
attr_accessor :country
|
783
|
-
|
784
664
|
# Address line 1 (e.g., street, PO Box, or company name).
|
785
665
|
sig { returns(String) }
|
786
666
|
attr_accessor :line1
|
787
|
-
|
788
667
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
789
668
|
sig { returns(String) }
|
790
669
|
attr_accessor :line2
|
791
|
-
|
792
670
|
# ZIP or postal code.
|
793
671
|
sig { returns(String) }
|
794
672
|
attr_accessor :postal_code
|
795
|
-
|
796
673
|
# State, county, province, or region.
|
797
674
|
sig { returns(String) }
|
798
675
|
attr_accessor :state
|
799
|
-
|
800
676
|
sig {
|
801
677
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
802
678
|
}
|
@@ -814,19 +690,15 @@ module Stripe
|
|
814
690
|
returns(T.nilable(::Stripe::SetupIntent::CreateParams::PaymentMethodData::BillingDetails::Address))
|
815
691
|
}
|
816
692
|
attr_accessor :address
|
817
|
-
|
818
693
|
# Email address.
|
819
694
|
sig { returns(T.nilable(String)) }
|
820
695
|
attr_accessor :email
|
821
|
-
|
822
696
|
# Full name.
|
823
697
|
sig { returns(T.nilable(String)) }
|
824
698
|
attr_accessor :name
|
825
|
-
|
826
699
|
# Billing phone number (including extension).
|
827
700
|
sig { returns(T.nilable(String)) }
|
828
701
|
attr_accessor :phone
|
829
|
-
|
830
702
|
sig {
|
831
703
|
params(address: T.nilable(::Stripe::SetupIntent::CreateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
|
832
704
|
}
|
@@ -839,7 +711,6 @@ module Stripe
|
|
839
711
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
840
712
|
sig { returns(String) }
|
841
713
|
attr_accessor :tax_id
|
842
|
-
|
843
714
|
sig { params(tax_id: String).void }
|
844
715
|
def initialize(tax_id: nil); end
|
845
716
|
end
|
@@ -853,7 +724,6 @@ module Stripe
|
|
853
724
|
# The customer's bank.
|
854
725
|
sig { returns(String) }
|
855
726
|
attr_accessor :bank
|
856
|
-
|
857
727
|
sig { params(bank: String).void }
|
858
728
|
def initialize(bank: nil); end
|
859
729
|
end
|
@@ -861,11 +731,9 @@ module Stripe
|
|
861
731
|
# Account holder type for FPX transaction
|
862
732
|
sig { returns(String) }
|
863
733
|
attr_accessor :account_holder_type
|
864
|
-
|
865
734
|
# The customer's bank.
|
866
735
|
sig { returns(String) }
|
867
736
|
attr_accessor :bank
|
868
|
-
|
869
737
|
sig { params(account_holder_type: String, bank: String).void }
|
870
738
|
def initialize(account_holder_type: nil, bank: nil); end
|
871
739
|
end
|
@@ -882,7 +750,6 @@ module Stripe
|
|
882
750
|
# Bank where the account is held.
|
883
751
|
sig { returns(String) }
|
884
752
|
attr_accessor :bank
|
885
|
-
|
886
753
|
sig { params(bank: String).void }
|
887
754
|
def initialize(bank: nil); end
|
888
755
|
end
|
@@ -890,7 +757,6 @@ module Stripe
|
|
890
757
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
891
758
|
sig { returns(String) }
|
892
759
|
attr_accessor :bank
|
893
|
-
|
894
760
|
sig { params(bank: String).void }
|
895
761
|
def initialize(bank: nil); end
|
896
762
|
end
|
@@ -905,22 +771,18 @@ module Stripe
|
|
905
771
|
# The day of birth, between 1 and 31.
|
906
772
|
sig { returns(Integer) }
|
907
773
|
attr_accessor :day
|
908
|
-
|
909
774
|
# The month of birth, between 1 and 12.
|
910
775
|
sig { returns(Integer) }
|
911
776
|
attr_accessor :month
|
912
|
-
|
913
777
|
# The four-digit year of birth.
|
914
778
|
sig { returns(Integer) }
|
915
779
|
attr_accessor :year
|
916
|
-
|
917
780
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
918
781
|
def initialize(day: nil, month: nil, year: nil); end
|
919
782
|
end
|
920
783
|
# Customer's date of birth
|
921
784
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Klarna::Dob) }
|
922
785
|
attr_accessor :dob
|
923
|
-
|
924
786
|
sig {
|
925
787
|
params(dob: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Klarna::Dob).void
|
926
788
|
}
|
@@ -948,7 +810,6 @@ module Stripe
|
|
948
810
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
949
811
|
sig { returns(String) }
|
950
812
|
attr_accessor :funding
|
951
|
-
|
952
813
|
sig { params(funding: String).void }
|
953
814
|
def initialize(funding: nil); end
|
954
815
|
end
|
@@ -959,7 +820,6 @@ module Stripe
|
|
959
820
|
# The customer's bank.
|
960
821
|
sig { returns(String) }
|
961
822
|
attr_accessor :bank
|
962
|
-
|
963
823
|
sig { params(bank: String).void }
|
964
824
|
def initialize(bank: nil); end
|
965
825
|
end
|
@@ -976,15 +836,12 @@ module Stripe
|
|
976
836
|
# The account number for the bank account.
|
977
837
|
sig { returns(String) }
|
978
838
|
attr_accessor :account_number
|
979
|
-
|
980
839
|
# Bank-State-Branch number of the bank account.
|
981
840
|
sig { returns(String) }
|
982
841
|
attr_accessor :bsb_number
|
983
|
-
|
984
842
|
# The PayID alias for the bank account.
|
985
843
|
sig { returns(String) }
|
986
844
|
attr_accessor :pay_id
|
987
|
-
|
988
845
|
sig { params(account_number: String, bsb_number: String, pay_id: String).void }
|
989
846
|
def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
|
990
847
|
end
|
@@ -1001,7 +858,6 @@ module Stripe
|
|
1001
858
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
1002
859
|
sig { returns(String) }
|
1003
860
|
attr_accessor :session
|
1004
|
-
|
1005
861
|
sig { params(session: String).void }
|
1006
862
|
def initialize(session: nil); end
|
1007
863
|
end
|
@@ -1010,22 +866,18 @@ module Stripe
|
|
1010
866
|
# The day of birth, between 1 and 31.
|
1011
867
|
sig { returns(Integer) }
|
1012
868
|
attr_accessor :day
|
1013
|
-
|
1014
869
|
# The month of birth, between 1 and 12.
|
1015
870
|
sig { returns(Integer) }
|
1016
871
|
attr_accessor :month
|
1017
|
-
|
1018
872
|
# The four-digit year of birth.
|
1019
873
|
sig { returns(Integer) }
|
1020
874
|
attr_accessor :year
|
1021
|
-
|
1022
875
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
1023
876
|
def initialize(day: nil, month: nil, year: nil); end
|
1024
877
|
end
|
1025
878
|
# Customer's date of birth
|
1026
879
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Rechnung::Dob) }
|
1027
880
|
attr_accessor :dob
|
1028
|
-
|
1029
881
|
sig {
|
1030
882
|
params(dob: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Rechnung::Dob).void
|
1031
883
|
}
|
@@ -1041,7 +893,6 @@ module Stripe
|
|
1041
893
|
# IBAN of the bank account.
|
1042
894
|
sig { returns(String) }
|
1043
895
|
attr_accessor :iban
|
1044
|
-
|
1045
896
|
sig { params(iban: String).void }
|
1046
897
|
def initialize(iban: nil); end
|
1047
898
|
end
|
@@ -1052,7 +903,6 @@ module Stripe
|
|
1052
903
|
# Two-letter ISO code representing the country the bank account is located in.
|
1053
904
|
sig { returns(String) }
|
1054
905
|
attr_accessor :country
|
1055
|
-
|
1056
906
|
sig { params(country: String).void }
|
1057
907
|
def initialize(country: nil); end
|
1058
908
|
end
|
@@ -1066,23 +916,18 @@ module Stripe
|
|
1066
916
|
# Account holder type: individual or company.
|
1067
917
|
sig { returns(String) }
|
1068
918
|
attr_accessor :account_holder_type
|
1069
|
-
|
1070
919
|
# Account number of the bank account.
|
1071
920
|
sig { returns(String) }
|
1072
921
|
attr_accessor :account_number
|
1073
|
-
|
1074
922
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
1075
923
|
sig { returns(String) }
|
1076
924
|
attr_accessor :account_type
|
1077
|
-
|
1078
925
|
# The ID of a Financial Connections Account to use as a payment method.
|
1079
926
|
sig { returns(String) }
|
1080
927
|
attr_accessor :financial_connections_account
|
1081
|
-
|
1082
928
|
# Routing number of the bank account.
|
1083
929
|
sig { returns(String) }
|
1084
930
|
attr_accessor :routing_number
|
1085
|
-
|
1086
931
|
sig {
|
1087
932
|
params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
|
1088
933
|
}
|
@@ -1103,223 +948,168 @@ module Stripe
|
|
1103
948
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
1104
949
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::AcssDebit) }
|
1105
950
|
attr_accessor :acss_debit
|
1106
|
-
|
1107
951
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
1108
952
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Affirm) }
|
1109
953
|
attr_accessor :affirm
|
1110
|
-
|
1111
954
|
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
1112
955
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::AfterpayClearpay) }
|
1113
956
|
attr_accessor :afterpay_clearpay
|
1114
|
-
|
1115
957
|
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
1116
958
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Alipay) }
|
1117
959
|
attr_accessor :alipay
|
1118
|
-
|
1119
960
|
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
|
1120
961
|
sig { returns(String) }
|
1121
962
|
attr_accessor :allow_redisplay
|
1122
|
-
|
1123
963
|
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
1124
964
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Alma) }
|
1125
965
|
attr_accessor :alma
|
1126
|
-
|
1127
966
|
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
1128
967
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::AmazonPay) }
|
1129
968
|
attr_accessor :amazon_pay
|
1130
|
-
|
1131
969
|
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
1132
970
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::AuBecsDebit) }
|
1133
971
|
attr_accessor :au_becs_debit
|
1134
|
-
|
1135
972
|
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
1136
973
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::BacsDebit) }
|
1137
974
|
attr_accessor :bacs_debit
|
1138
|
-
|
1139
975
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
1140
976
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Bancontact) }
|
1141
977
|
attr_accessor :bancontact
|
1142
|
-
|
1143
978
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
1144
979
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::BillingDetails) }
|
1145
980
|
attr_accessor :billing_details
|
1146
|
-
|
1147
981
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
1148
982
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Blik) }
|
1149
983
|
attr_accessor :blik
|
1150
|
-
|
1151
984
|
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
1152
985
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Boleto) }
|
1153
986
|
attr_accessor :boleto
|
1154
|
-
|
1155
987
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
1156
988
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Cashapp) }
|
1157
989
|
attr_accessor :cashapp
|
1158
|
-
|
1159
990
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
1160
991
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::CustomerBalance) }
|
1161
992
|
attr_accessor :customer_balance
|
1162
|
-
|
1163
993
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
1164
994
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Eps) }
|
1165
995
|
attr_accessor :eps
|
1166
|
-
|
1167
996
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
1168
997
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Fpx) }
|
1169
998
|
attr_accessor :fpx
|
1170
|
-
|
1171
999
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
1172
1000
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Giropay) }
|
1173
1001
|
attr_accessor :giropay
|
1174
|
-
|
1175
1002
|
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
1176
1003
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Gopay) }
|
1177
1004
|
attr_accessor :gopay
|
1178
|
-
|
1179
1005
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
1180
1006
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Grabpay) }
|
1181
1007
|
attr_accessor :grabpay
|
1182
|
-
|
1183
1008
|
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
1184
1009
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::IdBankTransfer) }
|
1185
1010
|
attr_accessor :id_bank_transfer
|
1186
|
-
|
1187
1011
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
1188
1012
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Ideal) }
|
1189
1013
|
attr_accessor :ideal
|
1190
|
-
|
1191
1014
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
1192
1015
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::InteracPresent) }
|
1193
1016
|
attr_accessor :interac_present
|
1194
|
-
|
1195
1017
|
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
1196
1018
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::KakaoPay) }
|
1197
1019
|
attr_accessor :kakao_pay
|
1198
|
-
|
1199
1020
|
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
1200
1021
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Klarna) }
|
1201
1022
|
attr_accessor :klarna
|
1202
|
-
|
1203
1023
|
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
1204
1024
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Konbini) }
|
1205
1025
|
attr_accessor :konbini
|
1206
|
-
|
1207
1026
|
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
1208
1027
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::KrCard) }
|
1209
1028
|
attr_accessor :kr_card
|
1210
|
-
|
1211
1029
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
1212
1030
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Link) }
|
1213
1031
|
attr_accessor :link
|
1214
|
-
|
1215
1032
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
1216
1033
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::MbWay) }
|
1217
1034
|
attr_accessor :mb_way
|
1218
|
-
|
1219
1035
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1220
1036
|
sig { returns(T::Hash[String, String]) }
|
1221
1037
|
attr_accessor :metadata
|
1222
|
-
|
1223
1038
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
1224
1039
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Mobilepay) }
|
1225
1040
|
attr_accessor :mobilepay
|
1226
|
-
|
1227
1041
|
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
1228
1042
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Multibanco) }
|
1229
1043
|
attr_accessor :multibanco
|
1230
|
-
|
1231
1044
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
1232
1045
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::NaverPay) }
|
1233
1046
|
attr_accessor :naver_pay
|
1234
|
-
|
1235
1047
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
1236
1048
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Oxxo) }
|
1237
1049
|
attr_accessor :oxxo
|
1238
|
-
|
1239
1050
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
1240
1051
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::P24) }
|
1241
1052
|
attr_accessor :p24
|
1242
|
-
|
1243
1053
|
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
1244
1054
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Payco) }
|
1245
1055
|
attr_accessor :payco
|
1246
|
-
|
1247
1056
|
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
1248
1057
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Paynow) }
|
1249
1058
|
attr_accessor :paynow
|
1250
|
-
|
1251
1059
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
1252
1060
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Paypal) }
|
1253
1061
|
attr_accessor :paypal
|
1254
|
-
|
1255
1062
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
1256
1063
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Payto) }
|
1257
1064
|
attr_accessor :payto
|
1258
|
-
|
1259
1065
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
1260
1066
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Pix) }
|
1261
1067
|
attr_accessor :pix
|
1262
|
-
|
1263
1068
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
1264
1069
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Promptpay) }
|
1265
1070
|
attr_accessor :promptpay
|
1266
|
-
|
1267
1071
|
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
1268
1072
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Qris) }
|
1269
1073
|
attr_accessor :qris
|
1270
|
-
|
1271
1074
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
1272
1075
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::RadarOptions) }
|
1273
1076
|
attr_accessor :radar_options
|
1274
|
-
|
1275
1077
|
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
1276
1078
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Rechnung) }
|
1277
1079
|
attr_accessor :rechnung
|
1278
|
-
|
1279
1080
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
1280
1081
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::RevolutPay) }
|
1281
1082
|
attr_accessor :revolut_pay
|
1282
|
-
|
1283
1083
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
1284
1084
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::SamsungPay) }
|
1285
1085
|
attr_accessor :samsung_pay
|
1286
|
-
|
1287
1086
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
1288
1087
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::SepaDebit) }
|
1289
1088
|
attr_accessor :sepa_debit
|
1290
|
-
|
1291
1089
|
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
1292
1090
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Shopeepay) }
|
1293
1091
|
attr_accessor :shopeepay
|
1294
|
-
|
1295
1092
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
1296
1093
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Sofort) }
|
1297
1094
|
attr_accessor :sofort
|
1298
|
-
|
1299
1095
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
1300
1096
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Swish) }
|
1301
1097
|
attr_accessor :swish
|
1302
|
-
|
1303
1098
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
1304
1099
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Twint) }
|
1305
1100
|
attr_accessor :twint
|
1306
|
-
|
1307
1101
|
# The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
1308
1102
|
sig { returns(String) }
|
1309
1103
|
attr_accessor :type
|
1310
|
-
|
1311
1104
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
1312
1105
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::UsBankAccount) }
|
1313
1106
|
attr_accessor :us_bank_account
|
1314
|
-
|
1315
1107
|
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
1316
1108
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::WechatPay) }
|
1317
1109
|
attr_accessor :wechat_pay
|
1318
|
-
|
1319
1110
|
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
1320
1111
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData::Zip) }
|
1321
1112
|
attr_accessor :zip
|
1322
|
-
|
1323
1113
|
sig {
|
1324
1114
|
params(acss_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntent::CreateParams::PaymentMethodData::Zip).void
|
1325
1115
|
}
|
@@ -1389,23 +1179,18 @@ module Stripe
|
|
1389
1179
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
1390
1180
|
sig { returns(T.nilable(String)) }
|
1391
1181
|
attr_accessor :custom_mandate_url
|
1392
|
-
|
1393
1182
|
# List of Stripe products where this mandate can be selected automatically.
|
1394
1183
|
sig { returns(T::Array[String]) }
|
1395
1184
|
attr_accessor :default_for
|
1396
|
-
|
1397
1185
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
1398
1186
|
sig { returns(String) }
|
1399
1187
|
attr_accessor :interval_description
|
1400
|
-
|
1401
1188
|
# Payment schedule for the mandate.
|
1402
1189
|
sig { returns(String) }
|
1403
1190
|
attr_accessor :payment_schedule
|
1404
|
-
|
1405
1191
|
# Transaction type of the mandate.
|
1406
1192
|
sig { returns(String) }
|
1407
1193
|
attr_accessor :transaction_type
|
1408
|
-
|
1409
1194
|
sig {
|
1410
1195
|
params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
|
1411
1196
|
}
|
@@ -1420,17 +1205,14 @@ module Stripe
|
|
1420
1205
|
# 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).
|
1421
1206
|
sig { returns(String) }
|
1422
1207
|
attr_accessor :currency
|
1423
|
-
|
1424
1208
|
# Additional fields for Mandate creation
|
1425
1209
|
sig {
|
1426
1210
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AcssDebit::MandateOptions)
|
1427
1211
|
}
|
1428
1212
|
attr_accessor :mandate_options
|
1429
|
-
|
1430
1213
|
# Bank account verification method.
|
1431
1214
|
sig { returns(String) }
|
1432
1215
|
attr_accessor :verification_method
|
1433
|
-
|
1434
1216
|
sig {
|
1435
1217
|
params(currency: String, mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
|
1436
1218
|
}
|
@@ -1444,7 +1226,6 @@ module Stripe
|
|
1444
1226
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
1445
1227
|
sig { returns(T.nilable(String)) }
|
1446
1228
|
attr_accessor :reference_prefix
|
1447
|
-
|
1448
1229
|
sig { params(reference_prefix: T.nilable(String)).void }
|
1449
1230
|
def initialize(reference_prefix: nil); end
|
1450
1231
|
end
|
@@ -1453,7 +1234,6 @@ module Stripe
|
|
1453
1234
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions)
|
1454
1235
|
}
|
1455
1236
|
attr_accessor :mandate_options
|
1456
|
-
|
1457
1237
|
sig {
|
1458
1238
|
params(mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
|
1459
1239
|
}
|
@@ -1464,43 +1244,33 @@ module Stripe
|
|
1464
1244
|
# Amount to be charged for future payments.
|
1465
1245
|
sig { returns(Integer) }
|
1466
1246
|
attr_accessor :amount
|
1467
|
-
|
1468
1247
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
1469
1248
|
sig { returns(String) }
|
1470
1249
|
attr_accessor :amount_type
|
1471
|
-
|
1472
1250
|
# Currency in which future payments will be charged. 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).
|
1473
1251
|
sig { returns(String) }
|
1474
1252
|
attr_accessor :currency
|
1475
|
-
|
1476
1253
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
1477
1254
|
sig { returns(String) }
|
1478
1255
|
attr_accessor :description
|
1479
|
-
|
1480
1256
|
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
1481
1257
|
sig { returns(Integer) }
|
1482
1258
|
attr_accessor :end_date
|
1483
|
-
|
1484
1259
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
1485
1260
|
sig { returns(String) }
|
1486
1261
|
attr_accessor :interval
|
1487
|
-
|
1488
1262
|
# The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
|
1489
1263
|
sig { returns(Integer) }
|
1490
1264
|
attr_accessor :interval_count
|
1491
|
-
|
1492
1265
|
# Unique identifier for the mandate or subscription.
|
1493
1266
|
sig { returns(String) }
|
1494
1267
|
attr_accessor :reference
|
1495
|
-
|
1496
1268
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
1497
1269
|
sig { returns(Integer) }
|
1498
1270
|
attr_accessor :start_date
|
1499
|
-
|
1500
1271
|
# Specifies the type of mandates supported. Possible values are `india`.
|
1501
1272
|
sig { returns(T::Array[String]) }
|
1502
1273
|
attr_accessor :supported_types
|
1503
|
-
|
1504
1274
|
sig {
|
1505
1275
|
params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
|
1506
1276
|
}
|
@@ -1525,19 +1295,16 @@ module Stripe
|
|
1525
1295
|
# messageExtension: CB-AVALGO
|
1526
1296
|
sig { returns(String) }
|
1527
1297
|
attr_accessor :cb_avalgo
|
1528
|
-
|
1529
1298
|
# The exemption indicator returned from Cartes Bancaires in the ARes.
|
1530
1299
|
# message extension: CB-EXEMPTION; string (4 characters)
|
1531
1300
|
# This is a 3 byte bitmap (low significant byte first and most significant
|
1532
1301
|
# bit first) that has been Base64 encoded
|
1533
1302
|
sig { returns(String) }
|
1534
1303
|
attr_accessor :cb_exemption
|
1535
|
-
|
1536
1304
|
# The risk score returned from Cartes Bancaires in the ARes.
|
1537
1305
|
# message extension: CB-SCORE; numeric value 0-99
|
1538
1306
|
sig { returns(Integer) }
|
1539
1307
|
attr_accessor :cb_score
|
1540
|
-
|
1541
1308
|
sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
|
1542
1309
|
def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
|
1543
1310
|
end
|
@@ -1546,7 +1313,6 @@ module Stripe
|
|
1546
1313
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
|
1547
1314
|
}
|
1548
1315
|
attr_accessor :cartes_bancaires
|
1549
|
-
|
1550
1316
|
sig {
|
1551
1317
|
params(cartes_bancaires: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
|
1552
1318
|
}
|
@@ -1555,19 +1321,16 @@ module Stripe
|
|
1555
1321
|
# The `transStatus` returned from the card Issuer’s ACS in the ARes.
|
1556
1322
|
sig { returns(String) }
|
1557
1323
|
attr_accessor :ares_trans_status
|
1558
|
-
|
1559
1324
|
# The cryptogram, also known as the "authentication value" (AAV, CAVV or
|
1560
1325
|
# AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
|
1561
1326
|
# (Most 3D Secure providers will return the base64-encoded version, which
|
1562
1327
|
# is what you should specify here.)
|
1563
1328
|
sig { returns(String) }
|
1564
1329
|
attr_accessor :cryptogram
|
1565
|
-
|
1566
1330
|
# The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
|
1567
1331
|
# provider and indicates what degree of authentication was performed.
|
1568
1332
|
sig { returns(String) }
|
1569
1333
|
attr_accessor :electronic_commerce_indicator
|
1570
|
-
|
1571
1334
|
# Network specific 3DS fields. Network specific arguments require an
|
1572
1335
|
# explicit card brand choice. The parameter `payment_method_options.card.network``
|
1573
1336
|
# must be populated accordingly
|
@@ -1575,21 +1338,17 @@ module Stripe
|
|
1575
1338
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
|
1576
1339
|
}
|
1577
1340
|
attr_accessor :network_options
|
1578
|
-
|
1579
1341
|
# The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
|
1580
1342
|
# AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
|
1581
1343
|
sig { returns(String) }
|
1582
1344
|
attr_accessor :requestor_challenge_indicator
|
1583
|
-
|
1584
1345
|
# For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
|
1585
1346
|
# Transaction ID (dsTransID).
|
1586
1347
|
sig { returns(String) }
|
1587
1348
|
attr_accessor :transaction_id
|
1588
|
-
|
1589
1349
|
# The version of 3D Secure that was performed.
|
1590
1350
|
sig { returns(String) }
|
1591
1351
|
attr_accessor :version
|
1592
|
-
|
1593
1352
|
sig {
|
1594
1353
|
params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
|
1595
1354
|
}
|
@@ -1608,28 +1367,23 @@ module Stripe
|
|
1608
1367
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::MandateOptions)
|
1609
1368
|
}
|
1610
1369
|
attr_accessor :mandate_options
|
1611
|
-
|
1612
1370
|
# When specified, this parameter signals that a card has been collected
|
1613
1371
|
# as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
|
1614
1372
|
# parameter can only be provided during confirmation.
|
1615
1373
|
sig { returns(T::Boolean) }
|
1616
1374
|
attr_accessor :moto
|
1617
|
-
|
1618
1375
|
# Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
|
1619
1376
|
sig { returns(String) }
|
1620
1377
|
attr_accessor :network
|
1621
|
-
|
1622
1378
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
1623
1379
|
sig { returns(String) }
|
1624
1380
|
attr_accessor :request_three_d_secure
|
1625
|
-
|
1626
1381
|
# If 3D Secure authentication was performed with a third-party provider,
|
1627
1382
|
# the authentication details to use for this setup.
|
1628
1383
|
sig {
|
1629
1384
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure)
|
1630
1385
|
}
|
1631
1386
|
attr_accessor :three_d_secure
|
1632
|
-
|
1633
1387
|
sig {
|
1634
1388
|
params(mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card::ThreeDSecure).void
|
1635
1389
|
}
|
@@ -1648,7 +1402,6 @@ module Stripe
|
|
1648
1402
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
1649
1403
|
sig { returns(String) }
|
1650
1404
|
attr_accessor :persistent_token
|
1651
|
-
|
1652
1405
|
sig { params(persistent_token: String).void }
|
1653
1406
|
def initialize(persistent_token: nil); end
|
1654
1407
|
end
|
@@ -1656,15 +1409,12 @@ module Stripe
|
|
1656
1409
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
1657
1410
|
sig { returns(String) }
|
1658
1411
|
attr_accessor :billing_agreement_id
|
1659
|
-
|
1660
1412
|
# Attribute for param field currency
|
1661
1413
|
sig { returns(String) }
|
1662
1414
|
attr_accessor :currency
|
1663
|
-
|
1664
1415
|
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
1665
1416
|
sig { returns(T::Array[String]) }
|
1666
1417
|
attr_accessor :subsellers
|
1667
|
-
|
1668
1418
|
sig {
|
1669
1419
|
params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
|
1670
1420
|
}
|
@@ -1675,31 +1425,24 @@ module Stripe
|
|
1675
1425
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
1676
1426
|
sig { returns(Integer) }
|
1677
1427
|
attr_accessor :amount
|
1678
|
-
|
1679
1428
|
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
1680
1429
|
sig { returns(String) }
|
1681
1430
|
attr_accessor :amount_type
|
1682
|
-
|
1683
1431
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
1684
1432
|
sig { returns(String) }
|
1685
1433
|
attr_accessor :end_date
|
1686
|
-
|
1687
1434
|
# The periodicity at which payments will be collected.
|
1688
1435
|
sig { returns(String) }
|
1689
1436
|
attr_accessor :payment_schedule
|
1690
|
-
|
1691
1437
|
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
1692
1438
|
sig { returns(Integer) }
|
1693
1439
|
attr_accessor :payments_per_period
|
1694
|
-
|
1695
1440
|
# The purpose for which payments are made. Defaults to retail.
|
1696
1441
|
sig { returns(String) }
|
1697
1442
|
attr_accessor :purpose
|
1698
|
-
|
1699
1443
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
1700
1444
|
sig { returns(String) }
|
1701
1445
|
attr_accessor :start_date
|
1702
|
-
|
1703
1446
|
sig {
|
1704
1447
|
params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
|
1705
1448
|
}
|
@@ -1718,7 +1461,6 @@ module Stripe
|
|
1718
1461
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Payto::MandateOptions)
|
1719
1462
|
}
|
1720
1463
|
attr_accessor :mandate_options
|
1721
|
-
|
1722
1464
|
sig {
|
1723
1465
|
params(mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Payto::MandateOptions).void
|
1724
1466
|
}
|
@@ -1729,7 +1471,6 @@ module Stripe
|
|
1729
1471
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
1730
1472
|
sig { returns(T.nilable(String)) }
|
1731
1473
|
attr_accessor :reference_prefix
|
1732
|
-
|
1733
1474
|
sig { params(reference_prefix: T.nilable(String)).void }
|
1734
1475
|
def initialize(reference_prefix: nil); end
|
1735
1476
|
end
|
@@ -1738,7 +1479,6 @@ module Stripe
|
|
1738
1479
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::SepaDebit::MandateOptions)
|
1739
1480
|
}
|
1740
1481
|
attr_accessor :mandate_options
|
1741
|
-
|
1742
1482
|
sig {
|
1743
1483
|
params(mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
|
1744
1484
|
}
|
@@ -1750,11 +1490,9 @@ module Stripe
|
|
1750
1490
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
1751
1491
|
sig { returns(T::Array[String]) }
|
1752
1492
|
attr_accessor :account_subcategories
|
1753
|
-
|
1754
1493
|
# ID of the institution to use to filter for selectable accounts.
|
1755
1494
|
sig { returns(String) }
|
1756
1495
|
attr_accessor :institution
|
1757
|
-
|
1758
1496
|
sig { params(account_subcategories: T::Array[String], institution: String).void }
|
1759
1497
|
def initialize(account_subcategories: nil, institution: nil); end
|
1760
1498
|
end
|
@@ -1762,7 +1500,6 @@ module Stripe
|
|
1762
1500
|
# Settings for configuring manual entry of account details.
|
1763
1501
|
sig { returns(String) }
|
1764
1502
|
attr_accessor :mode
|
1765
|
-
|
1766
1503
|
sig { params(mode: String).void }
|
1767
1504
|
def initialize(mode: nil); end
|
1768
1505
|
end
|
@@ -1771,25 +1508,20 @@ module Stripe
|
|
1771
1508
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
|
1772
1509
|
}
|
1773
1510
|
attr_accessor :filters
|
1774
|
-
|
1775
1511
|
# Customize manual entry behavior
|
1776
1512
|
sig {
|
1777
1513
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
|
1778
1514
|
}
|
1779
1515
|
attr_accessor :manual_entry
|
1780
|
-
|
1781
1516
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
1782
1517
|
sig { returns(T::Array[String]) }
|
1783
1518
|
attr_accessor :permissions
|
1784
|
-
|
1785
1519
|
# List of data features that you would like to retrieve upon account creation.
|
1786
1520
|
sig { returns(T::Array[String]) }
|
1787
1521
|
attr_accessor :prefetch
|
1788
|
-
|
1789
1522
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
1790
1523
|
sig { returns(String) }
|
1791
1524
|
attr_accessor :return_url
|
1792
|
-
|
1793
1525
|
sig {
|
1794
1526
|
params(filters: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
|
1795
1527
|
}
|
@@ -1805,7 +1537,6 @@ module Stripe
|
|
1805
1537
|
# The method used to collect offline mandate customer acceptance.
|
1806
1538
|
sig { returns(T.nilable(String)) }
|
1807
1539
|
attr_accessor :collection_method
|
1808
|
-
|
1809
1540
|
sig { params(collection_method: T.nilable(String)).void }
|
1810
1541
|
def initialize(collection_method: nil); end
|
1811
1542
|
end
|
@@ -1813,7 +1544,6 @@ module Stripe
|
|
1813
1544
|
# Triggers validations to run across the selected networks
|
1814
1545
|
sig { returns(T::Array[String]) }
|
1815
1546
|
attr_accessor :requested
|
1816
|
-
|
1817
1547
|
sig { params(requested: T::Array[String]).void }
|
1818
1548
|
def initialize(requested: nil); end
|
1819
1549
|
end
|
@@ -1822,23 +1552,19 @@ module Stripe
|
|
1822
1552
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
|
1823
1553
|
}
|
1824
1554
|
attr_accessor :financial_connections
|
1825
|
-
|
1826
1555
|
# Additional fields for Mandate creation
|
1827
1556
|
sig {
|
1828
1557
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
|
1829
1558
|
}
|
1830
1559
|
attr_accessor :mandate_options
|
1831
|
-
|
1832
1560
|
# Additional fields for network related functions
|
1833
1561
|
sig {
|
1834
1562
|
returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::Networks)
|
1835
1563
|
}
|
1836
1564
|
attr_accessor :networks
|
1837
|
-
|
1838
1565
|
# Bank account verification method.
|
1839
1566
|
sig { returns(String) }
|
1840
1567
|
attr_accessor :verification_method
|
1841
|
-
|
1842
1568
|
sig {
|
1843
1569
|
params(financial_connections: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
|
1844
1570
|
}
|
@@ -1852,43 +1578,33 @@ module Stripe
|
|
1852
1578
|
# If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
|
1853
1579
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AcssDebit) }
|
1854
1580
|
attr_accessor :acss_debit
|
1855
|
-
|
1856
1581
|
# If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
|
1857
1582
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AmazonPay) }
|
1858
1583
|
attr_accessor :amazon_pay
|
1859
|
-
|
1860
1584
|
# If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
1861
1585
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::BacsDebit) }
|
1862
1586
|
attr_accessor :bacs_debit
|
1863
|
-
|
1864
1587
|
# Configuration for any card setup attempted on this SetupIntent.
|
1865
1588
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card) }
|
1866
1589
|
attr_accessor :card
|
1867
|
-
|
1868
1590
|
# If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
|
1869
1591
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::CardPresent) }
|
1870
1592
|
attr_accessor :card_present
|
1871
|
-
|
1872
1593
|
# If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
|
1873
1594
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Link) }
|
1874
1595
|
attr_accessor :link
|
1875
|
-
|
1876
1596
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
1877
1597
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Paypal) }
|
1878
1598
|
attr_accessor :paypal
|
1879
|
-
|
1880
1599
|
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
1881
1600
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Payto) }
|
1882
1601
|
attr_accessor :payto
|
1883
|
-
|
1884
1602
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
1885
1603
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::SepaDebit) }
|
1886
1604
|
attr_accessor :sepa_debit
|
1887
|
-
|
1888
1605
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
1889
1606
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount) }
|
1890
1607
|
attr_accessor :us_bank_account
|
1891
|
-
|
1892
1608
|
sig {
|
1893
1609
|
params(acss_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions::UsBankAccount).void
|
1894
1610
|
}
|
@@ -1909,11 +1625,9 @@ module Stripe
|
|
1909
1625
|
# Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
1910
1626
|
sig { returns(Integer) }
|
1911
1627
|
attr_accessor :amount
|
1912
|
-
|
1913
1628
|
# 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).
|
1914
1629
|
sig { returns(String) }
|
1915
1630
|
attr_accessor :currency
|
1916
|
-
|
1917
1631
|
sig { params(amount: Integer, currency: String).void }
|
1918
1632
|
def initialize(amount: nil, currency: nil); end
|
1919
1633
|
end
|
@@ -1922,90 +1636,70 @@ module Stripe
|
|
1922
1636
|
# It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
|
1923
1637
|
sig { returns(T::Boolean) }
|
1924
1638
|
attr_accessor :attach_to_self
|
1925
|
-
|
1926
1639
|
# When you enable this parameter, this SetupIntent accepts payment methods that you enable in the Dashboard and that are compatible with its other parameters.
|
1927
1640
|
sig { returns(::Stripe::SetupIntent::CreateParams::AutomaticPaymentMethods) }
|
1928
1641
|
attr_accessor :automatic_payment_methods
|
1929
|
-
|
1930
1642
|
# Set to `true` to attempt to confirm this SetupIntent immediately. This parameter defaults to `false`. If a card is the attached payment method, you can provide a `return_url` in case further authentication is necessary.
|
1931
1643
|
sig { returns(T::Boolean) }
|
1932
1644
|
attr_accessor :confirm
|
1933
|
-
|
1934
1645
|
# ID of the ConfirmationToken used to confirm this SetupIntent.
|
1935
1646
|
#
|
1936
1647
|
# If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
|
1937
1648
|
sig { returns(String) }
|
1938
1649
|
attr_accessor :confirmation_token
|
1939
|
-
|
1940
1650
|
# ID of the Customer this SetupIntent belongs to, if one exists.
|
1941
1651
|
#
|
1942
1652
|
# If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
|
1943
1653
|
sig { returns(String) }
|
1944
1654
|
attr_accessor :customer
|
1945
|
-
|
1946
1655
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
1947
1656
|
sig { returns(String) }
|
1948
1657
|
attr_accessor :description
|
1949
|
-
|
1950
1658
|
# Specifies which fields in the response should be expanded.
|
1951
1659
|
sig { returns(T::Array[String]) }
|
1952
1660
|
attr_accessor :expand
|
1953
|
-
|
1954
1661
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|
1955
1662
|
#
|
1956
1663
|
# Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
|
1957
1664
|
sig { returns(T::Array[String]) }
|
1958
1665
|
attr_accessor :flow_directions
|
1959
|
-
|
1960
1666
|
# This hash contains details about the mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
|
1961
1667
|
sig { returns(T.nilable(::Stripe::SetupIntent::CreateParams::MandateData)) }
|
1962
1668
|
attr_accessor :mandate_data
|
1963
|
-
|
1964
1669
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
1965
1670
|
sig { returns(T::Hash[String, String]) }
|
1966
1671
|
attr_accessor :metadata
|
1967
|
-
|
1968
1672
|
# The Stripe account ID created for this SetupIntent.
|
1969
1673
|
sig { returns(String) }
|
1970
1674
|
attr_accessor :on_behalf_of
|
1971
|
-
|
1972
1675
|
# ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
|
1973
1676
|
sig { returns(String) }
|
1974
1677
|
attr_accessor :payment_method
|
1975
|
-
|
1976
1678
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
|
1977
1679
|
sig { returns(String) }
|
1978
1680
|
attr_accessor :payment_method_configuration
|
1979
|
-
|
1980
1681
|
# When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
|
1981
1682
|
# value in the SetupIntent.
|
1982
1683
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodData) }
|
1983
1684
|
attr_accessor :payment_method_data
|
1984
|
-
|
1985
1685
|
# Payment method-specific configuration for this SetupIntent.
|
1986
1686
|
sig { returns(::Stripe::SetupIntent::CreateParams::PaymentMethodOptions) }
|
1987
1687
|
attr_accessor :payment_method_options
|
1988
|
-
|
1989
1688
|
# The list of payment method types (for example, card) that this SetupIntent can use. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
|
1990
1689
|
sig { returns(T::Array[String]) }
|
1991
1690
|
attr_accessor :payment_method_types
|
1992
|
-
|
1993
1691
|
# The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm).
|
1994
1692
|
sig { returns(String) }
|
1995
1693
|
attr_accessor :return_url
|
1996
|
-
|
1997
1694
|
# If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
|
1998
1695
|
sig { returns(::Stripe::SetupIntent::CreateParams::SingleUse) }
|
1999
1696
|
attr_accessor :single_use
|
2000
|
-
|
2001
1697
|
# Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`.
|
2002
1698
|
sig { returns(String) }
|
2003
1699
|
attr_accessor :usage
|
2004
|
-
|
2005
1700
|
# Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
2006
1701
|
sig { returns(T::Boolean) }
|
2007
1702
|
attr_accessor :use_stripe_sdk
|
2008
|
-
|
2009
1703
|
sig {
|
2010
1704
|
params(attach_to_self: T::Boolean, automatic_payment_methods: ::Stripe::SetupIntent::CreateParams::AutomaticPaymentMethods, confirm: T::Boolean, confirmation_token: String, customer: String, description: String, expand: T::Array[String], flow_directions: T::Array[String], mandate_data: T.nilable(::Stripe::SetupIntent::CreateParams::MandateData), metadata: T::Hash[String, String], on_behalf_of: String, payment_method: String, payment_method_configuration: String, payment_method_data: ::Stripe::SetupIntent::CreateParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntent::CreateParams::PaymentMethodOptions, payment_method_types: T::Array[String], return_url: String, single_use: ::Stripe::SetupIntent::CreateParams::SingleUse, usage: String, use_stripe_sdk: T::Boolean).void
|
2011
1705
|
}
|
@@ -2036,11 +1730,9 @@ module Stripe
|
|
2036
1730
|
# The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
|
2037
1731
|
sig { returns(String) }
|
2038
1732
|
attr_accessor :client_secret
|
2039
|
-
|
2040
1733
|
# Specifies which fields in the response should be expanded.
|
2041
1734
|
sig { returns(T::Array[String]) }
|
2042
1735
|
attr_accessor :expand
|
2043
|
-
|
2044
1736
|
sig { params(client_secret: String, expand: T::Array[String]).void }
|
2045
1737
|
def initialize(client_secret: nil, expand: nil); end
|
2046
1738
|
end
|
@@ -2050,15 +1742,12 @@ module Stripe
|
|
2050
1742
|
# Customer's bank account number.
|
2051
1743
|
sig { returns(String) }
|
2052
1744
|
attr_accessor :account_number
|
2053
|
-
|
2054
1745
|
# Institution number of the customer's bank.
|
2055
1746
|
sig { returns(String) }
|
2056
1747
|
attr_accessor :institution_number
|
2057
|
-
|
2058
1748
|
# Transit number of the customer's bank.
|
2059
1749
|
sig { returns(String) }
|
2060
1750
|
attr_accessor :transit_number
|
2061
|
-
|
2062
1751
|
sig {
|
2063
1752
|
params(account_number: String, institution_number: String, transit_number: String).void
|
2064
1753
|
}
|
@@ -2083,11 +1772,9 @@ module Stripe
|
|
2083
1772
|
# The account number for the bank account.
|
2084
1773
|
sig { returns(String) }
|
2085
1774
|
attr_accessor :account_number
|
2086
|
-
|
2087
1775
|
# Bank-State-Branch number of the bank account.
|
2088
1776
|
sig { returns(String) }
|
2089
1777
|
attr_accessor :bsb_number
|
2090
|
-
|
2091
1778
|
sig { params(account_number: String, bsb_number: String).void }
|
2092
1779
|
def initialize(account_number: nil, bsb_number: nil); end
|
2093
1780
|
end
|
@@ -2095,11 +1782,9 @@ module Stripe
|
|
2095
1782
|
# Account number of the bank account that the funds will be debited from.
|
2096
1783
|
sig { returns(String) }
|
2097
1784
|
attr_accessor :account_number
|
2098
|
-
|
2099
1785
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
2100
1786
|
sig { returns(String) }
|
2101
1787
|
attr_accessor :sort_code
|
2102
|
-
|
2103
1788
|
sig { params(account_number: String, sort_code: String).void }
|
2104
1789
|
def initialize(account_number: nil, sort_code: nil); end
|
2105
1790
|
end
|
@@ -2111,27 +1796,21 @@ module Stripe
|
|
2111
1796
|
# City, district, suburb, town, or village.
|
2112
1797
|
sig { returns(String) }
|
2113
1798
|
attr_accessor :city
|
2114
|
-
|
2115
1799
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
2116
1800
|
sig { returns(String) }
|
2117
1801
|
attr_accessor :country
|
2118
|
-
|
2119
1802
|
# Address line 1 (e.g., street, PO Box, or company name).
|
2120
1803
|
sig { returns(String) }
|
2121
1804
|
attr_accessor :line1
|
2122
|
-
|
2123
1805
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
2124
1806
|
sig { returns(String) }
|
2125
1807
|
attr_accessor :line2
|
2126
|
-
|
2127
1808
|
# ZIP or postal code.
|
2128
1809
|
sig { returns(String) }
|
2129
1810
|
attr_accessor :postal_code
|
2130
|
-
|
2131
1811
|
# State, county, province, or region.
|
2132
1812
|
sig { returns(String) }
|
2133
1813
|
attr_accessor :state
|
2134
|
-
|
2135
1814
|
sig {
|
2136
1815
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
2137
1816
|
}
|
@@ -2149,19 +1828,15 @@ module Stripe
|
|
2149
1828
|
returns(T.nilable(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BillingDetails::Address))
|
2150
1829
|
}
|
2151
1830
|
attr_accessor :address
|
2152
|
-
|
2153
1831
|
# Email address.
|
2154
1832
|
sig { returns(T.nilable(String)) }
|
2155
1833
|
attr_accessor :email
|
2156
|
-
|
2157
1834
|
# Full name.
|
2158
1835
|
sig { returns(T.nilable(String)) }
|
2159
1836
|
attr_accessor :name
|
2160
|
-
|
2161
1837
|
# Billing phone number (including extension).
|
2162
1838
|
sig { returns(T.nilable(String)) }
|
2163
1839
|
attr_accessor :phone
|
2164
|
-
|
2165
1840
|
sig {
|
2166
1841
|
params(address: T.nilable(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
|
2167
1842
|
}
|
@@ -2174,7 +1849,6 @@ module Stripe
|
|
2174
1849
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
2175
1850
|
sig { returns(String) }
|
2176
1851
|
attr_accessor :tax_id
|
2177
|
-
|
2178
1852
|
sig { params(tax_id: String).void }
|
2179
1853
|
def initialize(tax_id: nil); end
|
2180
1854
|
end
|
@@ -2188,7 +1862,6 @@ module Stripe
|
|
2188
1862
|
# The customer's bank.
|
2189
1863
|
sig { returns(String) }
|
2190
1864
|
attr_accessor :bank
|
2191
|
-
|
2192
1865
|
sig { params(bank: String).void }
|
2193
1866
|
def initialize(bank: nil); end
|
2194
1867
|
end
|
@@ -2196,11 +1869,9 @@ module Stripe
|
|
2196
1869
|
# Account holder type for FPX transaction
|
2197
1870
|
sig { returns(String) }
|
2198
1871
|
attr_accessor :account_holder_type
|
2199
|
-
|
2200
1872
|
# The customer's bank.
|
2201
1873
|
sig { returns(String) }
|
2202
1874
|
attr_accessor :bank
|
2203
|
-
|
2204
1875
|
sig { params(account_holder_type: String, bank: String).void }
|
2205
1876
|
def initialize(account_holder_type: nil, bank: nil); end
|
2206
1877
|
end
|
@@ -2217,7 +1888,6 @@ module Stripe
|
|
2217
1888
|
# Bank where the account is held.
|
2218
1889
|
sig { returns(String) }
|
2219
1890
|
attr_accessor :bank
|
2220
|
-
|
2221
1891
|
sig { params(bank: String).void }
|
2222
1892
|
def initialize(bank: nil); end
|
2223
1893
|
end
|
@@ -2225,7 +1895,6 @@ module Stripe
|
|
2225
1895
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
2226
1896
|
sig { returns(String) }
|
2227
1897
|
attr_accessor :bank
|
2228
|
-
|
2229
1898
|
sig { params(bank: String).void }
|
2230
1899
|
def initialize(bank: nil); end
|
2231
1900
|
end
|
@@ -2240,22 +1909,18 @@ module Stripe
|
|
2240
1909
|
# The day of birth, between 1 and 31.
|
2241
1910
|
sig { returns(Integer) }
|
2242
1911
|
attr_accessor :day
|
2243
|
-
|
2244
1912
|
# The month of birth, between 1 and 12.
|
2245
1913
|
sig { returns(Integer) }
|
2246
1914
|
attr_accessor :month
|
2247
|
-
|
2248
1915
|
# The four-digit year of birth.
|
2249
1916
|
sig { returns(Integer) }
|
2250
1917
|
attr_accessor :year
|
2251
|
-
|
2252
1918
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
2253
1919
|
def initialize(day: nil, month: nil, year: nil); end
|
2254
1920
|
end
|
2255
1921
|
# Customer's date of birth
|
2256
1922
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Klarna::Dob) }
|
2257
1923
|
attr_accessor :dob
|
2258
|
-
|
2259
1924
|
sig {
|
2260
1925
|
params(dob: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Klarna::Dob).void
|
2261
1926
|
}
|
@@ -2283,7 +1948,6 @@ module Stripe
|
|
2283
1948
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
2284
1949
|
sig { returns(String) }
|
2285
1950
|
attr_accessor :funding
|
2286
|
-
|
2287
1951
|
sig { params(funding: String).void }
|
2288
1952
|
def initialize(funding: nil); end
|
2289
1953
|
end
|
@@ -2294,7 +1958,6 @@ module Stripe
|
|
2294
1958
|
# The customer's bank.
|
2295
1959
|
sig { returns(String) }
|
2296
1960
|
attr_accessor :bank
|
2297
|
-
|
2298
1961
|
sig { params(bank: String).void }
|
2299
1962
|
def initialize(bank: nil); end
|
2300
1963
|
end
|
@@ -2311,15 +1974,12 @@ module Stripe
|
|
2311
1974
|
# The account number for the bank account.
|
2312
1975
|
sig { returns(String) }
|
2313
1976
|
attr_accessor :account_number
|
2314
|
-
|
2315
1977
|
# Bank-State-Branch number of the bank account.
|
2316
1978
|
sig { returns(String) }
|
2317
1979
|
attr_accessor :bsb_number
|
2318
|
-
|
2319
1980
|
# The PayID alias for the bank account.
|
2320
1981
|
sig { returns(String) }
|
2321
1982
|
attr_accessor :pay_id
|
2322
|
-
|
2323
1983
|
sig { params(account_number: String, bsb_number: String, pay_id: String).void }
|
2324
1984
|
def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
|
2325
1985
|
end
|
@@ -2336,7 +1996,6 @@ module Stripe
|
|
2336
1996
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
2337
1997
|
sig { returns(String) }
|
2338
1998
|
attr_accessor :session
|
2339
|
-
|
2340
1999
|
sig { params(session: String).void }
|
2341
2000
|
def initialize(session: nil); end
|
2342
2001
|
end
|
@@ -2345,22 +2004,18 @@ module Stripe
|
|
2345
2004
|
# The day of birth, between 1 and 31.
|
2346
2005
|
sig { returns(Integer) }
|
2347
2006
|
attr_accessor :day
|
2348
|
-
|
2349
2007
|
# The month of birth, between 1 and 12.
|
2350
2008
|
sig { returns(Integer) }
|
2351
2009
|
attr_accessor :month
|
2352
|
-
|
2353
2010
|
# The four-digit year of birth.
|
2354
2011
|
sig { returns(Integer) }
|
2355
2012
|
attr_accessor :year
|
2356
|
-
|
2357
2013
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
2358
2014
|
def initialize(day: nil, month: nil, year: nil); end
|
2359
2015
|
end
|
2360
2016
|
# Customer's date of birth
|
2361
2017
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Rechnung::Dob) }
|
2362
2018
|
attr_accessor :dob
|
2363
|
-
|
2364
2019
|
sig {
|
2365
2020
|
params(dob: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Rechnung::Dob).void
|
2366
2021
|
}
|
@@ -2376,7 +2031,6 @@ module Stripe
|
|
2376
2031
|
# IBAN of the bank account.
|
2377
2032
|
sig { returns(String) }
|
2378
2033
|
attr_accessor :iban
|
2379
|
-
|
2380
2034
|
sig { params(iban: String).void }
|
2381
2035
|
def initialize(iban: nil); end
|
2382
2036
|
end
|
@@ -2387,7 +2041,6 @@ module Stripe
|
|
2387
2041
|
# Two-letter ISO code representing the country the bank account is located in.
|
2388
2042
|
sig { returns(String) }
|
2389
2043
|
attr_accessor :country
|
2390
|
-
|
2391
2044
|
sig { params(country: String).void }
|
2392
2045
|
def initialize(country: nil); end
|
2393
2046
|
end
|
@@ -2401,23 +2054,18 @@ module Stripe
|
|
2401
2054
|
# Account holder type: individual or company.
|
2402
2055
|
sig { returns(String) }
|
2403
2056
|
attr_accessor :account_holder_type
|
2404
|
-
|
2405
2057
|
# Account number of the bank account.
|
2406
2058
|
sig { returns(String) }
|
2407
2059
|
attr_accessor :account_number
|
2408
|
-
|
2409
2060
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
2410
2061
|
sig { returns(String) }
|
2411
2062
|
attr_accessor :account_type
|
2412
|
-
|
2413
2063
|
# The ID of a Financial Connections Account to use as a payment method.
|
2414
2064
|
sig { returns(String) }
|
2415
2065
|
attr_accessor :financial_connections_account
|
2416
|
-
|
2417
2066
|
# Routing number of the bank account.
|
2418
2067
|
sig { returns(String) }
|
2419
2068
|
attr_accessor :routing_number
|
2420
|
-
|
2421
2069
|
sig {
|
2422
2070
|
params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
|
2423
2071
|
}
|
@@ -2438,223 +2086,168 @@ module Stripe
|
|
2438
2086
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
2439
2087
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AcssDebit) }
|
2440
2088
|
attr_accessor :acss_debit
|
2441
|
-
|
2442
2089
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
2443
2090
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Affirm) }
|
2444
2091
|
attr_accessor :affirm
|
2445
|
-
|
2446
2092
|
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
2447
2093
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AfterpayClearpay) }
|
2448
2094
|
attr_accessor :afterpay_clearpay
|
2449
|
-
|
2450
2095
|
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
2451
2096
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Alipay) }
|
2452
2097
|
attr_accessor :alipay
|
2453
|
-
|
2454
2098
|
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
|
2455
2099
|
sig { returns(String) }
|
2456
2100
|
attr_accessor :allow_redisplay
|
2457
|
-
|
2458
2101
|
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
2459
2102
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Alma) }
|
2460
2103
|
attr_accessor :alma
|
2461
|
-
|
2462
2104
|
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
2463
2105
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AmazonPay) }
|
2464
2106
|
attr_accessor :amazon_pay
|
2465
|
-
|
2466
2107
|
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
2467
2108
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AuBecsDebit) }
|
2468
2109
|
attr_accessor :au_becs_debit
|
2469
|
-
|
2470
2110
|
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
2471
2111
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BacsDebit) }
|
2472
2112
|
attr_accessor :bacs_debit
|
2473
|
-
|
2474
2113
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
2475
2114
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Bancontact) }
|
2476
2115
|
attr_accessor :bancontact
|
2477
|
-
|
2478
2116
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
2479
2117
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BillingDetails) }
|
2480
2118
|
attr_accessor :billing_details
|
2481
|
-
|
2482
2119
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
2483
2120
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Blik) }
|
2484
2121
|
attr_accessor :blik
|
2485
|
-
|
2486
2122
|
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
2487
2123
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Boleto) }
|
2488
2124
|
attr_accessor :boleto
|
2489
|
-
|
2490
2125
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
2491
2126
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Cashapp) }
|
2492
2127
|
attr_accessor :cashapp
|
2493
|
-
|
2494
2128
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
2495
2129
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::CustomerBalance) }
|
2496
2130
|
attr_accessor :customer_balance
|
2497
|
-
|
2498
2131
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
2499
2132
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Eps) }
|
2500
2133
|
attr_accessor :eps
|
2501
|
-
|
2502
2134
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
2503
2135
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Fpx) }
|
2504
2136
|
attr_accessor :fpx
|
2505
|
-
|
2506
2137
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
2507
2138
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Giropay) }
|
2508
2139
|
attr_accessor :giropay
|
2509
|
-
|
2510
2140
|
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
2511
2141
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Gopay) }
|
2512
2142
|
attr_accessor :gopay
|
2513
|
-
|
2514
2143
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
2515
2144
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Grabpay) }
|
2516
2145
|
attr_accessor :grabpay
|
2517
|
-
|
2518
2146
|
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
2519
2147
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::IdBankTransfer) }
|
2520
2148
|
attr_accessor :id_bank_transfer
|
2521
|
-
|
2522
2149
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
2523
2150
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Ideal) }
|
2524
2151
|
attr_accessor :ideal
|
2525
|
-
|
2526
2152
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
2527
2153
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::InteracPresent) }
|
2528
2154
|
attr_accessor :interac_present
|
2529
|
-
|
2530
2155
|
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
2531
2156
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::KakaoPay) }
|
2532
2157
|
attr_accessor :kakao_pay
|
2533
|
-
|
2534
2158
|
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
2535
2159
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Klarna) }
|
2536
2160
|
attr_accessor :klarna
|
2537
|
-
|
2538
2161
|
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
2539
2162
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Konbini) }
|
2540
2163
|
attr_accessor :konbini
|
2541
|
-
|
2542
2164
|
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
2543
2165
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::KrCard) }
|
2544
2166
|
attr_accessor :kr_card
|
2545
|
-
|
2546
2167
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
2547
2168
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Link) }
|
2548
2169
|
attr_accessor :link
|
2549
|
-
|
2550
2170
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
2551
2171
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::MbWay) }
|
2552
2172
|
attr_accessor :mb_way
|
2553
|
-
|
2554
2173
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
2555
2174
|
sig { returns(T::Hash[String, String]) }
|
2556
2175
|
attr_accessor :metadata
|
2557
|
-
|
2558
2176
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
2559
2177
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Mobilepay) }
|
2560
2178
|
attr_accessor :mobilepay
|
2561
|
-
|
2562
2179
|
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
2563
2180
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Multibanco) }
|
2564
2181
|
attr_accessor :multibanco
|
2565
|
-
|
2566
2182
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
2567
2183
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::NaverPay) }
|
2568
2184
|
attr_accessor :naver_pay
|
2569
|
-
|
2570
2185
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
2571
2186
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Oxxo) }
|
2572
2187
|
attr_accessor :oxxo
|
2573
|
-
|
2574
2188
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
2575
2189
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::P24) }
|
2576
2190
|
attr_accessor :p24
|
2577
|
-
|
2578
2191
|
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
2579
2192
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Payco) }
|
2580
2193
|
attr_accessor :payco
|
2581
|
-
|
2582
2194
|
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
2583
2195
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Paynow) }
|
2584
2196
|
attr_accessor :paynow
|
2585
|
-
|
2586
2197
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
2587
2198
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Paypal) }
|
2588
2199
|
attr_accessor :paypal
|
2589
|
-
|
2590
2200
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
2591
2201
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Payto) }
|
2592
2202
|
attr_accessor :payto
|
2593
|
-
|
2594
2203
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
2595
2204
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Pix) }
|
2596
2205
|
attr_accessor :pix
|
2597
|
-
|
2598
2206
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
2599
2207
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Promptpay) }
|
2600
2208
|
attr_accessor :promptpay
|
2601
|
-
|
2602
2209
|
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
2603
2210
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Qris) }
|
2604
2211
|
attr_accessor :qris
|
2605
|
-
|
2606
2212
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
2607
2213
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::RadarOptions) }
|
2608
2214
|
attr_accessor :radar_options
|
2609
|
-
|
2610
2215
|
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
2611
2216
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Rechnung) }
|
2612
2217
|
attr_accessor :rechnung
|
2613
|
-
|
2614
2218
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
2615
2219
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::RevolutPay) }
|
2616
2220
|
attr_accessor :revolut_pay
|
2617
|
-
|
2618
2221
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
2619
2222
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::SamsungPay) }
|
2620
2223
|
attr_accessor :samsung_pay
|
2621
|
-
|
2622
2224
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
2623
2225
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::SepaDebit) }
|
2624
2226
|
attr_accessor :sepa_debit
|
2625
|
-
|
2626
2227
|
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
2627
2228
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Shopeepay) }
|
2628
2229
|
attr_accessor :shopeepay
|
2629
|
-
|
2630
2230
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
2631
2231
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Sofort) }
|
2632
2232
|
attr_accessor :sofort
|
2633
|
-
|
2634
2233
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
2635
2234
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Swish) }
|
2636
2235
|
attr_accessor :swish
|
2637
|
-
|
2638
2236
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
2639
2237
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Twint) }
|
2640
2238
|
attr_accessor :twint
|
2641
|
-
|
2642
2239
|
# The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
2643
2240
|
sig { returns(String) }
|
2644
2241
|
attr_accessor :type
|
2645
|
-
|
2646
2242
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
2647
2243
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::UsBankAccount) }
|
2648
2244
|
attr_accessor :us_bank_account
|
2649
|
-
|
2650
2245
|
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
2651
2246
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::WechatPay) }
|
2652
2247
|
attr_accessor :wechat_pay
|
2653
|
-
|
2654
2248
|
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
2655
2249
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Zip) }
|
2656
2250
|
attr_accessor :zip
|
2657
|
-
|
2658
2251
|
sig {
|
2659
2252
|
params(acss_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData::Zip).void
|
2660
2253
|
}
|
@@ -2724,23 +2317,18 @@ module Stripe
|
|
2724
2317
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
2725
2318
|
sig { returns(T.nilable(String)) }
|
2726
2319
|
attr_accessor :custom_mandate_url
|
2727
|
-
|
2728
2320
|
# List of Stripe products where this mandate can be selected automatically.
|
2729
2321
|
sig { returns(T::Array[String]) }
|
2730
2322
|
attr_accessor :default_for
|
2731
|
-
|
2732
2323
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
2733
2324
|
sig { returns(String) }
|
2734
2325
|
attr_accessor :interval_description
|
2735
|
-
|
2736
2326
|
# Payment schedule for the mandate.
|
2737
2327
|
sig { returns(String) }
|
2738
2328
|
attr_accessor :payment_schedule
|
2739
|
-
|
2740
2329
|
# Transaction type of the mandate.
|
2741
2330
|
sig { returns(String) }
|
2742
2331
|
attr_accessor :transaction_type
|
2743
|
-
|
2744
2332
|
sig {
|
2745
2333
|
params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
|
2746
2334
|
}
|
@@ -2755,17 +2343,14 @@ module Stripe
|
|
2755
2343
|
# 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).
|
2756
2344
|
sig { returns(String) }
|
2757
2345
|
attr_accessor :currency
|
2758
|
-
|
2759
2346
|
# Additional fields for Mandate creation
|
2760
2347
|
sig {
|
2761
2348
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AcssDebit::MandateOptions)
|
2762
2349
|
}
|
2763
2350
|
attr_accessor :mandate_options
|
2764
|
-
|
2765
2351
|
# Bank account verification method.
|
2766
2352
|
sig { returns(String) }
|
2767
2353
|
attr_accessor :verification_method
|
2768
|
-
|
2769
2354
|
sig {
|
2770
2355
|
params(currency: String, mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
|
2771
2356
|
}
|
@@ -2779,7 +2364,6 @@ module Stripe
|
|
2779
2364
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
2780
2365
|
sig { returns(T.nilable(String)) }
|
2781
2366
|
attr_accessor :reference_prefix
|
2782
|
-
|
2783
2367
|
sig { params(reference_prefix: T.nilable(String)).void }
|
2784
2368
|
def initialize(reference_prefix: nil); end
|
2785
2369
|
end
|
@@ -2788,7 +2372,6 @@ module Stripe
|
|
2788
2372
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::BacsDebit::MandateOptions)
|
2789
2373
|
}
|
2790
2374
|
attr_accessor :mandate_options
|
2791
|
-
|
2792
2375
|
sig {
|
2793
2376
|
params(mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
|
2794
2377
|
}
|
@@ -2799,43 +2382,33 @@ module Stripe
|
|
2799
2382
|
# Amount to be charged for future payments.
|
2800
2383
|
sig { returns(Integer) }
|
2801
2384
|
attr_accessor :amount
|
2802
|
-
|
2803
2385
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
2804
2386
|
sig { returns(String) }
|
2805
2387
|
attr_accessor :amount_type
|
2806
|
-
|
2807
2388
|
# Currency in which future payments will be charged. 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).
|
2808
2389
|
sig { returns(String) }
|
2809
2390
|
attr_accessor :currency
|
2810
|
-
|
2811
2391
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
2812
2392
|
sig { returns(String) }
|
2813
2393
|
attr_accessor :description
|
2814
|
-
|
2815
2394
|
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
2816
2395
|
sig { returns(Integer) }
|
2817
2396
|
attr_accessor :end_date
|
2818
|
-
|
2819
2397
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
2820
2398
|
sig { returns(String) }
|
2821
2399
|
attr_accessor :interval
|
2822
|
-
|
2823
2400
|
# The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
|
2824
2401
|
sig { returns(Integer) }
|
2825
2402
|
attr_accessor :interval_count
|
2826
|
-
|
2827
2403
|
# Unique identifier for the mandate or subscription.
|
2828
2404
|
sig { returns(String) }
|
2829
2405
|
attr_accessor :reference
|
2830
|
-
|
2831
2406
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
2832
2407
|
sig { returns(Integer) }
|
2833
2408
|
attr_accessor :start_date
|
2834
|
-
|
2835
2409
|
# Specifies the type of mandates supported. Possible values are `india`.
|
2836
2410
|
sig { returns(T::Array[String]) }
|
2837
2411
|
attr_accessor :supported_types
|
2838
|
-
|
2839
2412
|
sig {
|
2840
2413
|
params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
|
2841
2414
|
}
|
@@ -2860,19 +2433,16 @@ module Stripe
|
|
2860
2433
|
# messageExtension: CB-AVALGO
|
2861
2434
|
sig { returns(String) }
|
2862
2435
|
attr_accessor :cb_avalgo
|
2863
|
-
|
2864
2436
|
# The exemption indicator returned from Cartes Bancaires in the ARes.
|
2865
2437
|
# message extension: CB-EXEMPTION; string (4 characters)
|
2866
2438
|
# This is a 3 byte bitmap (low significant byte first and most significant
|
2867
2439
|
# bit first) that has been Base64 encoded
|
2868
2440
|
sig { returns(String) }
|
2869
2441
|
attr_accessor :cb_exemption
|
2870
|
-
|
2871
2442
|
# The risk score returned from Cartes Bancaires in the ARes.
|
2872
2443
|
# message extension: CB-SCORE; numeric value 0-99
|
2873
2444
|
sig { returns(Integer) }
|
2874
2445
|
attr_accessor :cb_score
|
2875
|
-
|
2876
2446
|
sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
|
2877
2447
|
def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
|
2878
2448
|
end
|
@@ -2881,7 +2451,6 @@ module Stripe
|
|
2881
2451
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
|
2882
2452
|
}
|
2883
2453
|
attr_accessor :cartes_bancaires
|
2884
|
-
|
2885
2454
|
sig {
|
2886
2455
|
params(cartes_bancaires: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
|
2887
2456
|
}
|
@@ -2890,19 +2459,16 @@ module Stripe
|
|
2890
2459
|
# The `transStatus` returned from the card Issuer’s ACS in the ARes.
|
2891
2460
|
sig { returns(String) }
|
2892
2461
|
attr_accessor :ares_trans_status
|
2893
|
-
|
2894
2462
|
# The cryptogram, also known as the "authentication value" (AAV, CAVV or
|
2895
2463
|
# AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
|
2896
2464
|
# (Most 3D Secure providers will return the base64-encoded version, which
|
2897
2465
|
# is what you should specify here.)
|
2898
2466
|
sig { returns(String) }
|
2899
2467
|
attr_accessor :cryptogram
|
2900
|
-
|
2901
2468
|
# The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
|
2902
2469
|
# provider and indicates what degree of authentication was performed.
|
2903
2470
|
sig { returns(String) }
|
2904
2471
|
attr_accessor :electronic_commerce_indicator
|
2905
|
-
|
2906
2472
|
# Network specific 3DS fields. Network specific arguments require an
|
2907
2473
|
# explicit card brand choice. The parameter `payment_method_options.card.network``
|
2908
2474
|
# must be populated accordingly
|
@@ -2910,21 +2476,17 @@ module Stripe
|
|
2910
2476
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
|
2911
2477
|
}
|
2912
2478
|
attr_accessor :network_options
|
2913
|
-
|
2914
2479
|
# The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
|
2915
2480
|
# AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
|
2916
2481
|
sig { returns(String) }
|
2917
2482
|
attr_accessor :requestor_challenge_indicator
|
2918
|
-
|
2919
2483
|
# For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
|
2920
2484
|
# Transaction ID (dsTransID).
|
2921
2485
|
sig { returns(String) }
|
2922
2486
|
attr_accessor :transaction_id
|
2923
|
-
|
2924
2487
|
# The version of 3D Secure that was performed.
|
2925
2488
|
sig { returns(String) }
|
2926
2489
|
attr_accessor :version
|
2927
|
-
|
2928
2490
|
sig {
|
2929
2491
|
params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
|
2930
2492
|
}
|
@@ -2943,28 +2505,23 @@ module Stripe
|
|
2943
2505
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::MandateOptions)
|
2944
2506
|
}
|
2945
2507
|
attr_accessor :mandate_options
|
2946
|
-
|
2947
2508
|
# When specified, this parameter signals that a card has been collected
|
2948
2509
|
# as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
|
2949
2510
|
# parameter can only be provided during confirmation.
|
2950
2511
|
sig { returns(T::Boolean) }
|
2951
2512
|
attr_accessor :moto
|
2952
|
-
|
2953
2513
|
# Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
|
2954
2514
|
sig { returns(String) }
|
2955
2515
|
attr_accessor :network
|
2956
|
-
|
2957
2516
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
2958
2517
|
sig { returns(String) }
|
2959
2518
|
attr_accessor :request_three_d_secure
|
2960
|
-
|
2961
2519
|
# If 3D Secure authentication was performed with a third-party provider,
|
2962
2520
|
# the authentication details to use for this setup.
|
2963
2521
|
sig {
|
2964
2522
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure)
|
2965
2523
|
}
|
2966
2524
|
attr_accessor :three_d_secure
|
2967
|
-
|
2968
2525
|
sig {
|
2969
2526
|
params(mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card::ThreeDSecure).void
|
2970
2527
|
}
|
@@ -2983,7 +2540,6 @@ module Stripe
|
|
2983
2540
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
2984
2541
|
sig { returns(String) }
|
2985
2542
|
attr_accessor :persistent_token
|
2986
|
-
|
2987
2543
|
sig { params(persistent_token: String).void }
|
2988
2544
|
def initialize(persistent_token: nil); end
|
2989
2545
|
end
|
@@ -2991,15 +2547,12 @@ module Stripe
|
|
2991
2547
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
2992
2548
|
sig { returns(String) }
|
2993
2549
|
attr_accessor :billing_agreement_id
|
2994
|
-
|
2995
2550
|
# Attribute for param field currency
|
2996
2551
|
sig { returns(String) }
|
2997
2552
|
attr_accessor :currency
|
2998
|
-
|
2999
2553
|
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
3000
2554
|
sig { returns(T::Array[String]) }
|
3001
2555
|
attr_accessor :subsellers
|
3002
|
-
|
3003
2556
|
sig {
|
3004
2557
|
params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
|
3005
2558
|
}
|
@@ -3010,31 +2563,24 @@ module Stripe
|
|
3010
2563
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
3011
2564
|
sig { returns(Integer) }
|
3012
2565
|
attr_accessor :amount
|
3013
|
-
|
3014
2566
|
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
3015
2567
|
sig { returns(String) }
|
3016
2568
|
attr_accessor :amount_type
|
3017
|
-
|
3018
2569
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
3019
2570
|
sig { returns(String) }
|
3020
2571
|
attr_accessor :end_date
|
3021
|
-
|
3022
2572
|
# The periodicity at which payments will be collected.
|
3023
2573
|
sig { returns(String) }
|
3024
2574
|
attr_accessor :payment_schedule
|
3025
|
-
|
3026
2575
|
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
3027
2576
|
sig { returns(Integer) }
|
3028
2577
|
attr_accessor :payments_per_period
|
3029
|
-
|
3030
2578
|
# The purpose for which payments are made. Defaults to retail.
|
3031
2579
|
sig { returns(String) }
|
3032
2580
|
attr_accessor :purpose
|
3033
|
-
|
3034
2581
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
3035
2582
|
sig { returns(String) }
|
3036
2583
|
attr_accessor :start_date
|
3037
|
-
|
3038
2584
|
sig {
|
3039
2585
|
params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
|
3040
2586
|
}
|
@@ -3053,7 +2599,6 @@ module Stripe
|
|
3053
2599
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Payto::MandateOptions)
|
3054
2600
|
}
|
3055
2601
|
attr_accessor :mandate_options
|
3056
|
-
|
3057
2602
|
sig {
|
3058
2603
|
params(mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Payto::MandateOptions).void
|
3059
2604
|
}
|
@@ -3064,7 +2609,6 @@ module Stripe
|
|
3064
2609
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
3065
2610
|
sig { returns(T.nilable(String)) }
|
3066
2611
|
attr_accessor :reference_prefix
|
3067
|
-
|
3068
2612
|
sig { params(reference_prefix: T.nilable(String)).void }
|
3069
2613
|
def initialize(reference_prefix: nil); end
|
3070
2614
|
end
|
@@ -3073,7 +2617,6 @@ module Stripe
|
|
3073
2617
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::SepaDebit::MandateOptions)
|
3074
2618
|
}
|
3075
2619
|
attr_accessor :mandate_options
|
3076
|
-
|
3077
2620
|
sig {
|
3078
2621
|
params(mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
|
3079
2622
|
}
|
@@ -3085,11 +2628,9 @@ module Stripe
|
|
3085
2628
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
3086
2629
|
sig { returns(T::Array[String]) }
|
3087
2630
|
attr_accessor :account_subcategories
|
3088
|
-
|
3089
2631
|
# ID of the institution to use to filter for selectable accounts.
|
3090
2632
|
sig { returns(String) }
|
3091
2633
|
attr_accessor :institution
|
3092
|
-
|
3093
2634
|
sig { params(account_subcategories: T::Array[String], institution: String).void }
|
3094
2635
|
def initialize(account_subcategories: nil, institution: nil); end
|
3095
2636
|
end
|
@@ -3097,7 +2638,6 @@ module Stripe
|
|
3097
2638
|
# Settings for configuring manual entry of account details.
|
3098
2639
|
sig { returns(String) }
|
3099
2640
|
attr_accessor :mode
|
3100
|
-
|
3101
2641
|
sig { params(mode: String).void }
|
3102
2642
|
def initialize(mode: nil); end
|
3103
2643
|
end
|
@@ -3106,25 +2646,20 @@ module Stripe
|
|
3106
2646
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
|
3107
2647
|
}
|
3108
2648
|
attr_accessor :filters
|
3109
|
-
|
3110
2649
|
# Customize manual entry behavior
|
3111
2650
|
sig {
|
3112
2651
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
|
3113
2652
|
}
|
3114
2653
|
attr_accessor :manual_entry
|
3115
|
-
|
3116
2654
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
3117
2655
|
sig { returns(T::Array[String]) }
|
3118
2656
|
attr_accessor :permissions
|
3119
|
-
|
3120
2657
|
# List of data features that you would like to retrieve upon account creation.
|
3121
2658
|
sig { returns(T::Array[String]) }
|
3122
2659
|
attr_accessor :prefetch
|
3123
|
-
|
3124
2660
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
3125
2661
|
sig { returns(String) }
|
3126
2662
|
attr_accessor :return_url
|
3127
|
-
|
3128
2663
|
sig {
|
3129
2664
|
params(filters: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
|
3130
2665
|
}
|
@@ -3140,7 +2675,6 @@ module Stripe
|
|
3140
2675
|
# The method used to collect offline mandate customer acceptance.
|
3141
2676
|
sig { returns(T.nilable(String)) }
|
3142
2677
|
attr_accessor :collection_method
|
3143
|
-
|
3144
2678
|
sig { params(collection_method: T.nilable(String)).void }
|
3145
2679
|
def initialize(collection_method: nil); end
|
3146
2680
|
end
|
@@ -3148,7 +2682,6 @@ module Stripe
|
|
3148
2682
|
# Triggers validations to run across the selected networks
|
3149
2683
|
sig { returns(T::Array[String]) }
|
3150
2684
|
attr_accessor :requested
|
3151
|
-
|
3152
2685
|
sig { params(requested: T::Array[String]).void }
|
3153
2686
|
def initialize(requested: nil); end
|
3154
2687
|
end
|
@@ -3157,23 +2690,19 @@ module Stripe
|
|
3157
2690
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
|
3158
2691
|
}
|
3159
2692
|
attr_accessor :financial_connections
|
3160
|
-
|
3161
2693
|
# Additional fields for Mandate creation
|
3162
2694
|
sig {
|
3163
2695
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
|
3164
2696
|
}
|
3165
2697
|
attr_accessor :mandate_options
|
3166
|
-
|
3167
2698
|
# Additional fields for network related functions
|
3168
2699
|
sig {
|
3169
2700
|
returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::Networks)
|
3170
2701
|
}
|
3171
2702
|
attr_accessor :networks
|
3172
|
-
|
3173
2703
|
# Bank account verification method.
|
3174
2704
|
sig { returns(String) }
|
3175
2705
|
attr_accessor :verification_method
|
3176
|
-
|
3177
2706
|
sig {
|
3178
2707
|
params(financial_connections: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
|
3179
2708
|
}
|
@@ -3187,43 +2716,33 @@ module Stripe
|
|
3187
2716
|
# If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
|
3188
2717
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AcssDebit) }
|
3189
2718
|
attr_accessor :acss_debit
|
3190
|
-
|
3191
2719
|
# If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
|
3192
2720
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AmazonPay) }
|
3193
2721
|
attr_accessor :amazon_pay
|
3194
|
-
|
3195
2722
|
# If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
3196
2723
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::BacsDebit) }
|
3197
2724
|
attr_accessor :bacs_debit
|
3198
|
-
|
3199
2725
|
# Configuration for any card setup attempted on this SetupIntent.
|
3200
2726
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card) }
|
3201
2727
|
attr_accessor :card
|
3202
|
-
|
3203
2728
|
# If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
|
3204
2729
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::CardPresent) }
|
3205
2730
|
attr_accessor :card_present
|
3206
|
-
|
3207
2731
|
# If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
|
3208
2732
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Link) }
|
3209
2733
|
attr_accessor :link
|
3210
|
-
|
3211
2734
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
3212
2735
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Paypal) }
|
3213
2736
|
attr_accessor :paypal
|
3214
|
-
|
3215
2737
|
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
3216
2738
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Payto) }
|
3217
2739
|
attr_accessor :payto
|
3218
|
-
|
3219
2740
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
3220
2741
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::SepaDebit) }
|
3221
2742
|
attr_accessor :sepa_debit
|
3222
|
-
|
3223
2743
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
3224
2744
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount) }
|
3225
2745
|
attr_accessor :us_bank_account
|
3226
|
-
|
3227
2746
|
sig {
|
3228
2747
|
params(acss_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions::UsBankAccount).void
|
3229
2748
|
}
|
@@ -3245,52 +2764,41 @@ module Stripe
|
|
3245
2764
|
# It can only be used for this Stripe Account’s own money movement flows like InboundTransfer and OutboundTransfers. It cannot be set to true when setting up a PaymentMethod for a Customer, and defaults to false when attaching a PaymentMethod to a Customer.
|
3246
2765
|
sig { returns(T::Boolean) }
|
3247
2766
|
attr_accessor :attach_to_self
|
3248
|
-
|
3249
2767
|
# ID of the Customer this SetupIntent belongs to, if one exists.
|
3250
2768
|
#
|
3251
2769
|
# If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
|
3252
2770
|
sig { returns(String) }
|
3253
2771
|
attr_accessor :customer
|
3254
|
-
|
3255
2772
|
# An arbitrary string attached to the object. Often useful for displaying to users.
|
3256
2773
|
sig { returns(String) }
|
3257
2774
|
attr_accessor :description
|
3258
|
-
|
3259
2775
|
# Specifies which fields in the response should be expanded.
|
3260
2776
|
sig { returns(T::Array[String]) }
|
3261
2777
|
attr_accessor :expand
|
3262
|
-
|
3263
2778
|
# Indicates the directions of money movement for which this payment method is intended to be used.
|
3264
2779
|
#
|
3265
2780
|
# Include `inbound` if you intend to use the payment method as the origin to pull funds from. Include `outbound` if you intend to use the payment method as the destination to send funds to. You can include both if you intend to use the payment method for both purposes.
|
3266
2781
|
sig { returns(T::Array[String]) }
|
3267
2782
|
attr_accessor :flow_directions
|
3268
|
-
|
3269
2783
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
3270
2784
|
sig { returns(T.nilable(T::Hash[String, String])) }
|
3271
2785
|
attr_accessor :metadata
|
3272
|
-
|
3273
2786
|
# ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. To unset this field to null, pass in an empty string.
|
3274
2787
|
sig { returns(String) }
|
3275
2788
|
attr_accessor :payment_method
|
3276
|
-
|
3277
2789
|
# The ID of the [payment method configuration](https://stripe.com/docs/api/payment_method_configurations) to use with this SetupIntent.
|
3278
2790
|
sig { returns(String) }
|
3279
2791
|
attr_accessor :payment_method_configuration
|
3280
|
-
|
3281
2792
|
# When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
|
3282
2793
|
# value in the SetupIntent.
|
3283
2794
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodData) }
|
3284
2795
|
attr_accessor :payment_method_data
|
3285
|
-
|
3286
2796
|
# Payment method-specific configuration for this SetupIntent.
|
3287
2797
|
sig { returns(::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions) }
|
3288
2798
|
attr_accessor :payment_method_options
|
3289
|
-
|
3290
2799
|
# The list of payment method types (for example, card) that this SetupIntent can set up. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
|
3291
2800
|
sig { returns(T::Array[String]) }
|
3292
2801
|
attr_accessor :payment_method_types
|
3293
|
-
|
3294
2802
|
sig {
|
3295
2803
|
params(attach_to_self: T::Boolean, customer: String, description: String, expand: T::Array[String], flow_directions: T::Array[String], metadata: T.nilable(T::Hash[String, String]), payment_method: String, payment_method_configuration: String, payment_method_data: ::Stripe::SetupIntent::UpdateParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntent::UpdateParams::PaymentMethodOptions, payment_method_types: T::Array[String]).void
|
3296
2804
|
}
|
@@ -3312,11 +2820,9 @@ module Stripe
|
|
3312
2820
|
# Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate`
|
3313
2821
|
sig { returns(String) }
|
3314
2822
|
attr_accessor :cancellation_reason
|
3315
|
-
|
3316
2823
|
# Specifies which fields in the response should be expanded.
|
3317
2824
|
sig { returns(T::Array[String]) }
|
3318
2825
|
attr_accessor :expand
|
3319
|
-
|
3320
2826
|
sig { params(cancellation_reason: String, expand: T::Array[String]).void }
|
3321
2827
|
def initialize(cancellation_reason: nil, expand: nil); end
|
3322
2828
|
end
|
@@ -3330,34 +2836,28 @@ module Stripe
|
|
3330
2836
|
# The IP address from which the Mandate was accepted by the customer.
|
3331
2837
|
sig { returns(String) }
|
3332
2838
|
attr_accessor :ip_address
|
3333
|
-
|
3334
2839
|
# The user agent of the browser from which the Mandate was accepted by the customer.
|
3335
2840
|
sig { returns(String) }
|
3336
2841
|
attr_accessor :user_agent
|
3337
|
-
|
3338
2842
|
sig { params(ip_address: String, user_agent: String).void }
|
3339
2843
|
def initialize(ip_address: nil, user_agent: nil); end
|
3340
2844
|
end
|
3341
2845
|
# The time at which the customer accepted the Mandate.
|
3342
2846
|
sig { returns(Integer) }
|
3343
2847
|
attr_accessor :accepted_at
|
3344
|
-
|
3345
2848
|
# If this is a Mandate accepted offline, this hash contains details about the offline acceptance.
|
3346
2849
|
sig {
|
3347
2850
|
returns(::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance::Offline)
|
3348
2851
|
}
|
3349
2852
|
attr_accessor :offline
|
3350
|
-
|
3351
2853
|
# If this is a Mandate accepted online, this hash contains details about the online acceptance.
|
3352
2854
|
sig {
|
3353
2855
|
returns(::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance::Online)
|
3354
2856
|
}
|
3355
2857
|
attr_accessor :online
|
3356
|
-
|
3357
2858
|
# The type of customer acceptance information included with the Mandate. One of `online` or `offline`.
|
3358
2859
|
sig { returns(String) }
|
3359
2860
|
attr_accessor :type
|
3360
|
-
|
3361
2861
|
sig {
|
3362
2862
|
params(accepted_at: Integer, offline: ::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance::Offline, online: ::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance::Online, type: String).void
|
3363
2863
|
}
|
@@ -3366,7 +2866,6 @@ module Stripe
|
|
3366
2866
|
# This hash contains details about the customer acceptance of the Mandate.
|
3367
2867
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance) }
|
3368
2868
|
attr_accessor :customer_acceptance
|
3369
|
-
|
3370
2869
|
sig {
|
3371
2870
|
params(customer_acceptance: ::Stripe::SetupIntent::ConfirmParams::MandateData::CustomerAcceptance).void
|
3372
2871
|
}
|
@@ -3377,15 +2876,12 @@ module Stripe
|
|
3377
2876
|
# Customer's bank account number.
|
3378
2877
|
sig { returns(String) }
|
3379
2878
|
attr_accessor :account_number
|
3380
|
-
|
3381
2879
|
# Institution number of the customer's bank.
|
3382
2880
|
sig { returns(String) }
|
3383
2881
|
attr_accessor :institution_number
|
3384
|
-
|
3385
2882
|
# Transit number of the customer's bank.
|
3386
2883
|
sig { returns(String) }
|
3387
2884
|
attr_accessor :transit_number
|
3388
|
-
|
3389
2885
|
sig {
|
3390
2886
|
params(account_number: String, institution_number: String, transit_number: String).void
|
3391
2887
|
}
|
@@ -3410,11 +2906,9 @@ module Stripe
|
|
3410
2906
|
# The account number for the bank account.
|
3411
2907
|
sig { returns(String) }
|
3412
2908
|
attr_accessor :account_number
|
3413
|
-
|
3414
2909
|
# Bank-State-Branch number of the bank account.
|
3415
2910
|
sig { returns(String) }
|
3416
2911
|
attr_accessor :bsb_number
|
3417
|
-
|
3418
2912
|
sig { params(account_number: String, bsb_number: String).void }
|
3419
2913
|
def initialize(account_number: nil, bsb_number: nil); end
|
3420
2914
|
end
|
@@ -3422,11 +2916,9 @@ module Stripe
|
|
3422
2916
|
# Account number of the bank account that the funds will be debited from.
|
3423
2917
|
sig { returns(String) }
|
3424
2918
|
attr_accessor :account_number
|
3425
|
-
|
3426
2919
|
# Sort code of the bank account. (e.g., `10-20-30`)
|
3427
2920
|
sig { returns(String) }
|
3428
2921
|
attr_accessor :sort_code
|
3429
|
-
|
3430
2922
|
sig { params(account_number: String, sort_code: String).void }
|
3431
2923
|
def initialize(account_number: nil, sort_code: nil); end
|
3432
2924
|
end
|
@@ -3438,27 +2930,21 @@ module Stripe
|
|
3438
2930
|
# City, district, suburb, town, or village.
|
3439
2931
|
sig { returns(String) }
|
3440
2932
|
attr_accessor :city
|
3441
|
-
|
3442
2933
|
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
3443
2934
|
sig { returns(String) }
|
3444
2935
|
attr_accessor :country
|
3445
|
-
|
3446
2936
|
# Address line 1 (e.g., street, PO Box, or company name).
|
3447
2937
|
sig { returns(String) }
|
3448
2938
|
attr_accessor :line1
|
3449
|
-
|
3450
2939
|
# Address line 2 (e.g., apartment, suite, unit, or building).
|
3451
2940
|
sig { returns(String) }
|
3452
2941
|
attr_accessor :line2
|
3453
|
-
|
3454
2942
|
# ZIP or postal code.
|
3455
2943
|
sig { returns(String) }
|
3456
2944
|
attr_accessor :postal_code
|
3457
|
-
|
3458
2945
|
# State, county, province, or region.
|
3459
2946
|
sig { returns(String) }
|
3460
2947
|
attr_accessor :state
|
3461
|
-
|
3462
2948
|
sig {
|
3463
2949
|
params(city: String, country: String, line1: String, line2: String, postal_code: String, state: String).void
|
3464
2950
|
}
|
@@ -3476,19 +2962,15 @@ module Stripe
|
|
3476
2962
|
returns(T.nilable(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BillingDetails::Address))
|
3477
2963
|
}
|
3478
2964
|
attr_accessor :address
|
3479
|
-
|
3480
2965
|
# Email address.
|
3481
2966
|
sig { returns(T.nilable(String)) }
|
3482
2967
|
attr_accessor :email
|
3483
|
-
|
3484
2968
|
# Full name.
|
3485
2969
|
sig { returns(T.nilable(String)) }
|
3486
2970
|
attr_accessor :name
|
3487
|
-
|
3488
2971
|
# Billing phone number (including extension).
|
3489
2972
|
sig { returns(T.nilable(String)) }
|
3490
2973
|
attr_accessor :phone
|
3491
|
-
|
3492
2974
|
sig {
|
3493
2975
|
params(address: T.nilable(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BillingDetails::Address), email: T.nilable(String), name: T.nilable(String), phone: T.nilable(String)).void
|
3494
2976
|
}
|
@@ -3501,7 +2983,6 @@ module Stripe
|
|
3501
2983
|
# The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
|
3502
2984
|
sig { returns(String) }
|
3503
2985
|
attr_accessor :tax_id
|
3504
|
-
|
3505
2986
|
sig { params(tax_id: String).void }
|
3506
2987
|
def initialize(tax_id: nil); end
|
3507
2988
|
end
|
@@ -3515,7 +2996,6 @@ module Stripe
|
|
3515
2996
|
# The customer's bank.
|
3516
2997
|
sig { returns(String) }
|
3517
2998
|
attr_accessor :bank
|
3518
|
-
|
3519
2999
|
sig { params(bank: String).void }
|
3520
3000
|
def initialize(bank: nil); end
|
3521
3001
|
end
|
@@ -3523,11 +3003,9 @@ module Stripe
|
|
3523
3003
|
# Account holder type for FPX transaction
|
3524
3004
|
sig { returns(String) }
|
3525
3005
|
attr_accessor :account_holder_type
|
3526
|
-
|
3527
3006
|
# The customer's bank.
|
3528
3007
|
sig { returns(String) }
|
3529
3008
|
attr_accessor :bank
|
3530
|
-
|
3531
3009
|
sig { params(account_holder_type: String, bank: String).void }
|
3532
3010
|
def initialize(account_holder_type: nil, bank: nil); end
|
3533
3011
|
end
|
@@ -3544,7 +3022,6 @@ module Stripe
|
|
3544
3022
|
# Bank where the account is held.
|
3545
3023
|
sig { returns(String) }
|
3546
3024
|
attr_accessor :bank
|
3547
|
-
|
3548
3025
|
sig { params(bank: String).void }
|
3549
3026
|
def initialize(bank: nil); end
|
3550
3027
|
end
|
@@ -3552,7 +3029,6 @@ module Stripe
|
|
3552
3029
|
# The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
3553
3030
|
sig { returns(String) }
|
3554
3031
|
attr_accessor :bank
|
3555
|
-
|
3556
3032
|
sig { params(bank: String).void }
|
3557
3033
|
def initialize(bank: nil); end
|
3558
3034
|
end
|
@@ -3567,22 +3043,18 @@ module Stripe
|
|
3567
3043
|
# The day of birth, between 1 and 31.
|
3568
3044
|
sig { returns(Integer) }
|
3569
3045
|
attr_accessor :day
|
3570
|
-
|
3571
3046
|
# The month of birth, between 1 and 12.
|
3572
3047
|
sig { returns(Integer) }
|
3573
3048
|
attr_accessor :month
|
3574
|
-
|
3575
3049
|
# The four-digit year of birth.
|
3576
3050
|
sig { returns(Integer) }
|
3577
3051
|
attr_accessor :year
|
3578
|
-
|
3579
3052
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
3580
3053
|
def initialize(day: nil, month: nil, year: nil); end
|
3581
3054
|
end
|
3582
3055
|
# Customer's date of birth
|
3583
3056
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Klarna::Dob) }
|
3584
3057
|
attr_accessor :dob
|
3585
|
-
|
3586
3058
|
sig {
|
3587
3059
|
params(dob: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Klarna::Dob).void
|
3588
3060
|
}
|
@@ -3610,7 +3082,6 @@ module Stripe
|
|
3610
3082
|
# Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
|
3611
3083
|
sig { returns(String) }
|
3612
3084
|
attr_accessor :funding
|
3613
|
-
|
3614
3085
|
sig { params(funding: String).void }
|
3615
3086
|
def initialize(funding: nil); end
|
3616
3087
|
end
|
@@ -3621,7 +3092,6 @@ module Stripe
|
|
3621
3092
|
# The customer's bank.
|
3622
3093
|
sig { returns(String) }
|
3623
3094
|
attr_accessor :bank
|
3624
|
-
|
3625
3095
|
sig { params(bank: String).void }
|
3626
3096
|
def initialize(bank: nil); end
|
3627
3097
|
end
|
@@ -3638,15 +3108,12 @@ module Stripe
|
|
3638
3108
|
# The account number for the bank account.
|
3639
3109
|
sig { returns(String) }
|
3640
3110
|
attr_accessor :account_number
|
3641
|
-
|
3642
3111
|
# Bank-State-Branch number of the bank account.
|
3643
3112
|
sig { returns(String) }
|
3644
3113
|
attr_accessor :bsb_number
|
3645
|
-
|
3646
3114
|
# The PayID alias for the bank account.
|
3647
3115
|
sig { returns(String) }
|
3648
3116
|
attr_accessor :pay_id
|
3649
|
-
|
3650
3117
|
sig { params(account_number: String, bsb_number: String, pay_id: String).void }
|
3651
3118
|
def initialize(account_number: nil, bsb_number: nil, pay_id: nil); end
|
3652
3119
|
end
|
@@ -3663,7 +3130,6 @@ module Stripe
|
|
3663
3130
|
# A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
3664
3131
|
sig { returns(String) }
|
3665
3132
|
attr_accessor :session
|
3666
|
-
|
3667
3133
|
sig { params(session: String).void }
|
3668
3134
|
def initialize(session: nil); end
|
3669
3135
|
end
|
@@ -3672,22 +3138,18 @@ module Stripe
|
|
3672
3138
|
# The day of birth, between 1 and 31.
|
3673
3139
|
sig { returns(Integer) }
|
3674
3140
|
attr_accessor :day
|
3675
|
-
|
3676
3141
|
# The month of birth, between 1 and 12.
|
3677
3142
|
sig { returns(Integer) }
|
3678
3143
|
attr_accessor :month
|
3679
|
-
|
3680
3144
|
# The four-digit year of birth.
|
3681
3145
|
sig { returns(Integer) }
|
3682
3146
|
attr_accessor :year
|
3683
|
-
|
3684
3147
|
sig { params(day: Integer, month: Integer, year: Integer).void }
|
3685
3148
|
def initialize(day: nil, month: nil, year: nil); end
|
3686
3149
|
end
|
3687
3150
|
# Customer's date of birth
|
3688
3151
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Rechnung::Dob) }
|
3689
3152
|
attr_accessor :dob
|
3690
|
-
|
3691
3153
|
sig {
|
3692
3154
|
params(dob: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Rechnung::Dob).void
|
3693
3155
|
}
|
@@ -3703,7 +3165,6 @@ module Stripe
|
|
3703
3165
|
# IBAN of the bank account.
|
3704
3166
|
sig { returns(String) }
|
3705
3167
|
attr_accessor :iban
|
3706
|
-
|
3707
3168
|
sig { params(iban: String).void }
|
3708
3169
|
def initialize(iban: nil); end
|
3709
3170
|
end
|
@@ -3714,7 +3175,6 @@ module Stripe
|
|
3714
3175
|
# Two-letter ISO code representing the country the bank account is located in.
|
3715
3176
|
sig { returns(String) }
|
3716
3177
|
attr_accessor :country
|
3717
|
-
|
3718
3178
|
sig { params(country: String).void }
|
3719
3179
|
def initialize(country: nil); end
|
3720
3180
|
end
|
@@ -3728,23 +3188,18 @@ module Stripe
|
|
3728
3188
|
# Account holder type: individual or company.
|
3729
3189
|
sig { returns(String) }
|
3730
3190
|
attr_accessor :account_holder_type
|
3731
|
-
|
3732
3191
|
# Account number of the bank account.
|
3733
3192
|
sig { returns(String) }
|
3734
3193
|
attr_accessor :account_number
|
3735
|
-
|
3736
3194
|
# Account type: checkings or savings. Defaults to checking if omitted.
|
3737
3195
|
sig { returns(String) }
|
3738
3196
|
attr_accessor :account_type
|
3739
|
-
|
3740
3197
|
# The ID of a Financial Connections Account to use as a payment method.
|
3741
3198
|
sig { returns(String) }
|
3742
3199
|
attr_accessor :financial_connections_account
|
3743
|
-
|
3744
3200
|
# Routing number of the bank account.
|
3745
3201
|
sig { returns(String) }
|
3746
3202
|
attr_accessor :routing_number
|
3747
|
-
|
3748
3203
|
sig {
|
3749
3204
|
params(account_holder_type: String, account_number: String, account_type: String, financial_connections_account: String, routing_number: String).void
|
3750
3205
|
}
|
@@ -3765,223 +3220,168 @@ module Stripe
|
|
3765
3220
|
# If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
|
3766
3221
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AcssDebit) }
|
3767
3222
|
attr_accessor :acss_debit
|
3768
|
-
|
3769
3223
|
# If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
|
3770
3224
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Affirm) }
|
3771
3225
|
attr_accessor :affirm
|
3772
|
-
|
3773
3226
|
# If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
|
3774
3227
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AfterpayClearpay) }
|
3775
3228
|
attr_accessor :afterpay_clearpay
|
3776
|
-
|
3777
3229
|
# If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method.
|
3778
3230
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Alipay) }
|
3779
3231
|
attr_accessor :alipay
|
3780
|
-
|
3781
3232
|
# This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults to `unspecified`.
|
3782
3233
|
sig { returns(String) }
|
3783
3234
|
attr_accessor :allow_redisplay
|
3784
|
-
|
3785
3235
|
# If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
|
3786
3236
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Alma) }
|
3787
3237
|
attr_accessor :alma
|
3788
|
-
|
3789
3238
|
# If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
|
3790
3239
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AmazonPay) }
|
3791
3240
|
attr_accessor :amazon_pay
|
3792
|
-
|
3793
3241
|
# If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
|
3794
3242
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AuBecsDebit) }
|
3795
3243
|
attr_accessor :au_becs_debit
|
3796
|
-
|
3797
3244
|
# If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
|
3798
3245
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BacsDebit) }
|
3799
3246
|
attr_accessor :bacs_debit
|
3800
|
-
|
3801
3247
|
# If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method.
|
3802
3248
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Bancontact) }
|
3803
3249
|
attr_accessor :bancontact
|
3804
|
-
|
3805
3250
|
# Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
3806
3251
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BillingDetails) }
|
3807
3252
|
attr_accessor :billing_details
|
3808
|
-
|
3809
3253
|
# If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
3810
3254
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Blik) }
|
3811
3255
|
attr_accessor :blik
|
3812
|
-
|
3813
3256
|
# If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.
|
3814
3257
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Boleto) }
|
3815
3258
|
attr_accessor :boleto
|
3816
|
-
|
3817
3259
|
# If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method.
|
3818
3260
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Cashapp) }
|
3819
3261
|
attr_accessor :cashapp
|
3820
|
-
|
3821
3262
|
# If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
|
3822
3263
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::CustomerBalance) }
|
3823
3264
|
attr_accessor :customer_balance
|
3824
|
-
|
3825
3265
|
# If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
|
3826
3266
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Eps) }
|
3827
3267
|
attr_accessor :eps
|
3828
|
-
|
3829
3268
|
# If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.
|
3830
3269
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Fpx) }
|
3831
3270
|
attr_accessor :fpx
|
3832
|
-
|
3833
3271
|
# If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
3834
3272
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Giropay) }
|
3835
3273
|
attr_accessor :giropay
|
3836
|
-
|
3837
3274
|
# If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
3838
3275
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Gopay) }
|
3839
3276
|
attr_accessor :gopay
|
3840
|
-
|
3841
3277
|
# If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
3842
3278
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Grabpay) }
|
3843
3279
|
attr_accessor :grabpay
|
3844
|
-
|
3845
3280
|
# If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
3846
3281
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::IdBankTransfer) }
|
3847
3282
|
attr_accessor :id_bank_transfer
|
3848
|
-
|
3849
3283
|
# If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
3850
3284
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Ideal) }
|
3851
3285
|
attr_accessor :ideal
|
3852
|
-
|
3853
3286
|
# If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
|
3854
3287
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::InteracPresent) }
|
3855
3288
|
attr_accessor :interac_present
|
3856
|
-
|
3857
3289
|
# If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method.
|
3858
3290
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::KakaoPay) }
|
3859
3291
|
attr_accessor :kakao_pay
|
3860
|
-
|
3861
3292
|
# If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.
|
3862
3293
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Klarna) }
|
3863
3294
|
attr_accessor :klarna
|
3864
|
-
|
3865
3295
|
# If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method.
|
3866
3296
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Konbini) }
|
3867
3297
|
attr_accessor :konbini
|
3868
|
-
|
3869
3298
|
# If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method.
|
3870
3299
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::KrCard) }
|
3871
3300
|
attr_accessor :kr_card
|
3872
|
-
|
3873
3301
|
# If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
3874
3302
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Link) }
|
3875
3303
|
attr_accessor :link
|
3876
|
-
|
3877
3304
|
# If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
3878
3305
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::MbWay) }
|
3879
3306
|
attr_accessor :mb_way
|
3880
|
-
|
3881
3307
|
# Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
3882
3308
|
sig { returns(T::Hash[String, String]) }
|
3883
3309
|
attr_accessor :metadata
|
3884
|
-
|
3885
3310
|
# If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
|
3886
3311
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Mobilepay) }
|
3887
3312
|
attr_accessor :mobilepay
|
3888
|
-
|
3889
3313
|
# If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
|
3890
3314
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Multibanco) }
|
3891
3315
|
attr_accessor :multibanco
|
3892
|
-
|
3893
3316
|
# If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.
|
3894
3317
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::NaverPay) }
|
3895
3318
|
attr_accessor :naver_pay
|
3896
|
-
|
3897
3319
|
# If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
|
3898
3320
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Oxxo) }
|
3899
3321
|
attr_accessor :oxxo
|
3900
|
-
|
3901
3322
|
# If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.
|
3902
3323
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::P24) }
|
3903
3324
|
attr_accessor :p24
|
3904
|
-
|
3905
3325
|
# If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method.
|
3906
3326
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Payco) }
|
3907
3327
|
attr_accessor :payco
|
3908
|
-
|
3909
3328
|
# If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method.
|
3910
3329
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Paynow) }
|
3911
3330
|
attr_accessor :paynow
|
3912
|
-
|
3913
3331
|
# If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
3914
3332
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Paypal) }
|
3915
3333
|
attr_accessor :paypal
|
3916
|
-
|
3917
3334
|
# If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
3918
3335
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Payto) }
|
3919
3336
|
attr_accessor :payto
|
3920
|
-
|
3921
3337
|
# If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
3922
3338
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Pix) }
|
3923
3339
|
attr_accessor :pix
|
3924
|
-
|
3925
3340
|
# If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
3926
3341
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Promptpay) }
|
3927
3342
|
attr_accessor :promptpay
|
3928
|
-
|
3929
3343
|
# If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
3930
3344
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Qris) }
|
3931
3345
|
attr_accessor :qris
|
3932
|
-
|
3933
3346
|
# Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
3934
3347
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::RadarOptions) }
|
3935
3348
|
attr_accessor :radar_options
|
3936
|
-
|
3937
3349
|
# If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
3938
3350
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Rechnung) }
|
3939
3351
|
attr_accessor :rechnung
|
3940
|
-
|
3941
3352
|
# If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
3942
3353
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::RevolutPay) }
|
3943
3354
|
attr_accessor :revolut_pay
|
3944
|
-
|
3945
3355
|
# If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
|
3946
3356
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::SamsungPay) }
|
3947
3357
|
attr_accessor :samsung_pay
|
3948
|
-
|
3949
3358
|
# If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
3950
3359
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::SepaDebit) }
|
3951
3360
|
attr_accessor :sepa_debit
|
3952
|
-
|
3953
3361
|
# If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
3954
3362
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Shopeepay) }
|
3955
3363
|
attr_accessor :shopeepay
|
3956
|
-
|
3957
3364
|
# If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
3958
3365
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Sofort) }
|
3959
3366
|
attr_accessor :sofort
|
3960
|
-
|
3961
3367
|
# If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
3962
3368
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Swish) }
|
3963
3369
|
attr_accessor :swish
|
3964
|
-
|
3965
3370
|
# If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
|
3966
3371
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Twint) }
|
3967
3372
|
attr_accessor :twint
|
3968
|
-
|
3969
3373
|
# The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
|
3970
3374
|
sig { returns(String) }
|
3971
3375
|
attr_accessor :type
|
3972
|
-
|
3973
3376
|
# If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
3974
3377
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::UsBankAccount) }
|
3975
3378
|
attr_accessor :us_bank_account
|
3976
|
-
|
3977
3379
|
# If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
3978
3380
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::WechatPay) }
|
3979
3381
|
attr_accessor :wechat_pay
|
3980
|
-
|
3981
3382
|
# If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
3982
3383
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Zip) }
|
3983
3384
|
attr_accessor :zip
|
3984
|
-
|
3985
3385
|
sig {
|
3986
3386
|
params(acss_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AcssDebit, affirm: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Affirm, afterpay_clearpay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AfterpayClearpay, alipay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Alipay, allow_redisplay: String, alma: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Alma, amazon_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AmazonPay, au_becs_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::AuBecsDebit, bacs_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BacsDebit, bancontact: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Bancontact, billing_details: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::BillingDetails, blik: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Blik, boleto: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Boleto, cashapp: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Cashapp, customer_balance: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::CustomerBalance, eps: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Eps, fpx: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Fpx, giropay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Giropay, gopay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Gopay, grabpay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Grabpay, id_bank_transfer: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::IdBankTransfer, ideal: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Ideal, interac_present: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::InteracPresent, kakao_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::KakaoPay, klarna: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Klarna, konbini: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Konbini, kr_card: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::KrCard, link: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Link, mb_way: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::MbWay, metadata: T::Hash[String, String], mobilepay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Mobilepay, multibanco: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Multibanco, naver_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::NaverPay, oxxo: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Oxxo, p24: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::P24, payco: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Payco, paynow: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Paynow, paypal: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Paypal, payto: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Payto, pix: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Pix, promptpay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Promptpay, qris: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Qris, radar_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::RadarOptions, rechnung: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Rechnung, revolut_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::RevolutPay, samsung_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::SamsungPay, sepa_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::SepaDebit, shopeepay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Shopeepay, sofort: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Sofort, swish: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Swish, twint: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Twint, type: String, us_bank_account: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::UsBankAccount, wechat_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::WechatPay, zip: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData::Zip).void
|
3987
3387
|
}
|
@@ -4051,23 +3451,18 @@ module Stripe
|
|
4051
3451
|
# or `setup_intent` and `setup_intent_client_secret` when confirming a Setup Intent.
|
4052
3452
|
sig { returns(T.nilable(String)) }
|
4053
3453
|
attr_accessor :custom_mandate_url
|
4054
|
-
|
4055
3454
|
# List of Stripe products where this mandate can be selected automatically.
|
4056
3455
|
sig { returns(T::Array[String]) }
|
4057
3456
|
attr_accessor :default_for
|
4058
|
-
|
4059
3457
|
# Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'.
|
4060
3458
|
sig { returns(String) }
|
4061
3459
|
attr_accessor :interval_description
|
4062
|
-
|
4063
3460
|
# Payment schedule for the mandate.
|
4064
3461
|
sig { returns(String) }
|
4065
3462
|
attr_accessor :payment_schedule
|
4066
|
-
|
4067
3463
|
# Transaction type of the mandate.
|
4068
3464
|
sig { returns(String) }
|
4069
3465
|
attr_accessor :transaction_type
|
4070
|
-
|
4071
3466
|
sig {
|
4072
3467
|
params(custom_mandate_url: T.nilable(String), default_for: T::Array[String], interval_description: String, payment_schedule: String, transaction_type: String).void
|
4073
3468
|
}
|
@@ -4082,17 +3477,14 @@ module Stripe
|
|
4082
3477
|
# 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).
|
4083
3478
|
sig { returns(String) }
|
4084
3479
|
attr_accessor :currency
|
4085
|
-
|
4086
3480
|
# Additional fields for Mandate creation
|
4087
3481
|
sig {
|
4088
3482
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AcssDebit::MandateOptions)
|
4089
3483
|
}
|
4090
3484
|
attr_accessor :mandate_options
|
4091
|
-
|
4092
3485
|
# Bank account verification method.
|
4093
3486
|
sig { returns(String) }
|
4094
3487
|
attr_accessor :verification_method
|
4095
|
-
|
4096
3488
|
sig {
|
4097
3489
|
params(currency: String, mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AcssDebit::MandateOptions, verification_method: String).void
|
4098
3490
|
}
|
@@ -4106,7 +3498,6 @@ module Stripe
|
|
4106
3498
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.
|
4107
3499
|
sig { returns(T.nilable(String)) }
|
4108
3500
|
attr_accessor :reference_prefix
|
4109
|
-
|
4110
3501
|
sig { params(reference_prefix: T.nilable(String)).void }
|
4111
3502
|
def initialize(reference_prefix: nil); end
|
4112
3503
|
end
|
@@ -4115,7 +3506,6 @@ module Stripe
|
|
4115
3506
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions)
|
4116
3507
|
}
|
4117
3508
|
attr_accessor :mandate_options
|
4118
|
-
|
4119
3509
|
sig {
|
4120
3510
|
params(mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::BacsDebit::MandateOptions).void
|
4121
3511
|
}
|
@@ -4126,43 +3516,33 @@ module Stripe
|
|
4126
3516
|
# Amount to be charged for future payments.
|
4127
3517
|
sig { returns(Integer) }
|
4128
3518
|
attr_accessor :amount
|
4129
|
-
|
4130
3519
|
# One of `fixed` or `maximum`. If `fixed`, the `amount` param refers to the exact amount to be charged in future payments. If `maximum`, the amount charged can be up to the value passed for the `amount` param.
|
4131
3520
|
sig { returns(String) }
|
4132
3521
|
attr_accessor :amount_type
|
4133
|
-
|
4134
3522
|
# Currency in which future payments will be charged. 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).
|
4135
3523
|
sig { returns(String) }
|
4136
3524
|
attr_accessor :currency
|
4137
|
-
|
4138
3525
|
# A description of the mandate or subscription that is meant to be displayed to the customer.
|
4139
3526
|
sig { returns(String) }
|
4140
3527
|
attr_accessor :description
|
4141
|
-
|
4142
3528
|
# End date of the mandate or subscription. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
4143
3529
|
sig { returns(Integer) }
|
4144
3530
|
attr_accessor :end_date
|
4145
|
-
|
4146
3531
|
# Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.
|
4147
3532
|
sig { returns(String) }
|
4148
3533
|
attr_accessor :interval
|
4149
|
-
|
4150
3534
|
# The number of intervals between payments. For example, `interval=month` and `interval_count=3` indicates one payment every three months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). This parameter is optional when `interval=sporadic`.
|
4151
3535
|
sig { returns(Integer) }
|
4152
3536
|
attr_accessor :interval_count
|
4153
|
-
|
4154
3537
|
# Unique identifier for the mandate or subscription.
|
4155
3538
|
sig { returns(String) }
|
4156
3539
|
attr_accessor :reference
|
4157
|
-
|
4158
3540
|
# Start date of the mandate or subscription. Start date should not be lesser than yesterday.
|
4159
3541
|
sig { returns(Integer) }
|
4160
3542
|
attr_accessor :start_date
|
4161
|
-
|
4162
3543
|
# Specifies the type of mandates supported. Possible values are `india`.
|
4163
3544
|
sig { returns(T::Array[String]) }
|
4164
3545
|
attr_accessor :supported_types
|
4165
|
-
|
4166
3546
|
sig {
|
4167
3547
|
params(amount: Integer, amount_type: String, currency: String, description: String, end_date: Integer, interval: String, interval_count: Integer, reference: String, start_date: Integer, supported_types: T::Array[String]).void
|
4168
3548
|
}
|
@@ -4187,19 +3567,16 @@ module Stripe
|
|
4187
3567
|
# messageExtension: CB-AVALGO
|
4188
3568
|
sig { returns(String) }
|
4189
3569
|
attr_accessor :cb_avalgo
|
4190
|
-
|
4191
3570
|
# The exemption indicator returned from Cartes Bancaires in the ARes.
|
4192
3571
|
# message extension: CB-EXEMPTION; string (4 characters)
|
4193
3572
|
# This is a 3 byte bitmap (low significant byte first and most significant
|
4194
3573
|
# bit first) that has been Base64 encoded
|
4195
3574
|
sig { returns(String) }
|
4196
3575
|
attr_accessor :cb_exemption
|
4197
|
-
|
4198
3576
|
# The risk score returned from Cartes Bancaires in the ARes.
|
4199
3577
|
# message extension: CB-SCORE; numeric value 0-99
|
4200
3578
|
sig { returns(Integer) }
|
4201
3579
|
attr_accessor :cb_score
|
4202
|
-
|
4203
3580
|
sig { params(cb_avalgo: String, cb_exemption: String, cb_score: Integer).void }
|
4204
3581
|
def initialize(cb_avalgo: nil, cb_exemption: nil, cb_score: nil); end
|
4205
3582
|
end
|
@@ -4208,7 +3585,6 @@ module Stripe
|
|
4208
3585
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires)
|
4209
3586
|
}
|
4210
3587
|
attr_accessor :cartes_bancaires
|
4211
|
-
|
4212
3588
|
sig {
|
4213
3589
|
params(cartes_bancaires: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions::CartesBancaires).void
|
4214
3590
|
}
|
@@ -4217,19 +3593,16 @@ module Stripe
|
|
4217
3593
|
# The `transStatus` returned from the card Issuer’s ACS in the ARes.
|
4218
3594
|
sig { returns(String) }
|
4219
3595
|
attr_accessor :ares_trans_status
|
4220
|
-
|
4221
3596
|
# The cryptogram, also known as the "authentication value" (AAV, CAVV or
|
4222
3597
|
# AEVV). This value is 20 bytes, base64-encoded into a 28-character string.
|
4223
3598
|
# (Most 3D Secure providers will return the base64-encoded version, which
|
4224
3599
|
# is what you should specify here.)
|
4225
3600
|
sig { returns(String) }
|
4226
3601
|
attr_accessor :cryptogram
|
4227
|
-
|
4228
3602
|
# The Electronic Commerce Indicator (ECI) is returned by your 3D Secure
|
4229
3603
|
# provider and indicates what degree of authentication was performed.
|
4230
3604
|
sig { returns(String) }
|
4231
3605
|
attr_accessor :electronic_commerce_indicator
|
4232
|
-
|
4233
3606
|
# Network specific 3DS fields. Network specific arguments require an
|
4234
3607
|
# explicit card brand choice. The parameter `payment_method_options.card.network``
|
4235
3608
|
# must be populated accordingly
|
@@ -4237,21 +3610,17 @@ module Stripe
|
|
4237
3610
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions)
|
4238
3611
|
}
|
4239
3612
|
attr_accessor :network_options
|
4240
|
-
|
4241
3613
|
# The challenge indicator (`threeDSRequestorChallengeInd`) which was requested in the
|
4242
3614
|
# AReq sent to the card Issuer's ACS. A string containing 2 digits from 01-99.
|
4243
3615
|
sig { returns(String) }
|
4244
3616
|
attr_accessor :requestor_challenge_indicator
|
4245
|
-
|
4246
3617
|
# For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server
|
4247
3618
|
# Transaction ID (dsTransID).
|
4248
3619
|
sig { returns(String) }
|
4249
3620
|
attr_accessor :transaction_id
|
4250
|
-
|
4251
3621
|
# The version of 3D Secure that was performed.
|
4252
3622
|
sig { returns(String) }
|
4253
3623
|
attr_accessor :version
|
4254
|
-
|
4255
3624
|
sig {
|
4256
3625
|
params(ares_trans_status: String, cryptogram: String, electronic_commerce_indicator: String, network_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure::NetworkOptions, requestor_challenge_indicator: String, transaction_id: String, version: String).void
|
4257
3626
|
}
|
@@ -4270,28 +3639,23 @@ module Stripe
|
|
4270
3639
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::MandateOptions)
|
4271
3640
|
}
|
4272
3641
|
attr_accessor :mandate_options
|
4273
|
-
|
4274
3642
|
# When specified, this parameter signals that a card has been collected
|
4275
3643
|
# as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This
|
4276
3644
|
# parameter can only be provided during confirmation.
|
4277
3645
|
sig { returns(T::Boolean) }
|
4278
3646
|
attr_accessor :moto
|
4279
|
-
|
4280
3647
|
# Selected network to process this SetupIntent on. Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
|
4281
3648
|
sig { returns(String) }
|
4282
3649
|
attr_accessor :network
|
4283
|
-
|
4284
3650
|
# We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
4285
3651
|
sig { returns(String) }
|
4286
3652
|
attr_accessor :request_three_d_secure
|
4287
|
-
|
4288
3653
|
# If 3D Secure authentication was performed with a third-party provider,
|
4289
3654
|
# the authentication details to use for this setup.
|
4290
3655
|
sig {
|
4291
3656
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure)
|
4292
3657
|
}
|
4293
3658
|
attr_accessor :three_d_secure
|
4294
|
-
|
4295
3659
|
sig {
|
4296
3660
|
params(mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::MandateOptions, moto: T::Boolean, network: String, request_three_d_secure: String, three_d_secure: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card::ThreeDSecure).void
|
4297
3661
|
}
|
@@ -4310,7 +3674,6 @@ module Stripe
|
|
4310
3674
|
# [Deprecated] This is a legacy parameter that no longer has any function.
|
4311
3675
|
sig { returns(String) }
|
4312
3676
|
attr_accessor :persistent_token
|
4313
|
-
|
4314
3677
|
sig { params(persistent_token: String).void }
|
4315
3678
|
def initialize(persistent_token: nil); end
|
4316
3679
|
end
|
@@ -4318,15 +3681,12 @@ module Stripe
|
|
4318
3681
|
# The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
4319
3682
|
sig { returns(String) }
|
4320
3683
|
attr_accessor :billing_agreement_id
|
4321
|
-
|
4322
3684
|
# Attribute for param field currency
|
4323
3685
|
sig { returns(String) }
|
4324
3686
|
attr_accessor :currency
|
4325
|
-
|
4326
3687
|
# The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
4327
3688
|
sig { returns(T::Array[String]) }
|
4328
3689
|
attr_accessor :subsellers
|
4329
|
-
|
4330
3690
|
sig {
|
4331
3691
|
params(billing_agreement_id: String, currency: String, subsellers: T::Array[String]).void
|
4332
3692
|
}
|
@@ -4337,31 +3697,24 @@ module Stripe
|
|
4337
3697
|
# Amount that will be collected. It is required when `amount_type` is `fixed`.
|
4338
3698
|
sig { returns(Integer) }
|
4339
3699
|
attr_accessor :amount
|
4340
|
-
|
4341
3700
|
# The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
|
4342
3701
|
sig { returns(String) }
|
4343
3702
|
attr_accessor :amount_type
|
4344
|
-
|
4345
3703
|
# Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
4346
3704
|
sig { returns(String) }
|
4347
3705
|
attr_accessor :end_date
|
4348
|
-
|
4349
3706
|
# The periodicity at which payments will be collected.
|
4350
3707
|
sig { returns(String) }
|
4351
3708
|
attr_accessor :payment_schedule
|
4352
|
-
|
4353
3709
|
# The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
4354
3710
|
sig { returns(Integer) }
|
4355
3711
|
attr_accessor :payments_per_period
|
4356
|
-
|
4357
3712
|
# The purpose for which payments are made. Defaults to retail.
|
4358
3713
|
sig { returns(String) }
|
4359
3714
|
attr_accessor :purpose
|
4360
|
-
|
4361
3715
|
# Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
4362
3716
|
sig { returns(String) }
|
4363
3717
|
attr_accessor :start_date
|
4364
|
-
|
4365
3718
|
sig {
|
4366
3719
|
params(amount: Integer, amount_type: String, end_date: String, payment_schedule: String, payments_per_period: Integer, purpose: String, start_date: String).void
|
4367
3720
|
}
|
@@ -4380,7 +3733,6 @@ module Stripe
|
|
4380
3733
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Payto::MandateOptions)
|
4381
3734
|
}
|
4382
3735
|
attr_accessor :mandate_options
|
4383
|
-
|
4384
3736
|
sig {
|
4385
3737
|
params(mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Payto::MandateOptions).void
|
4386
3738
|
}
|
@@ -4391,7 +3743,6 @@ module Stripe
|
|
4391
3743
|
# Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.
|
4392
3744
|
sig { returns(T.nilable(String)) }
|
4393
3745
|
attr_accessor :reference_prefix
|
4394
|
-
|
4395
3746
|
sig { params(reference_prefix: T.nilable(String)).void }
|
4396
3747
|
def initialize(reference_prefix: nil); end
|
4397
3748
|
end
|
@@ -4400,7 +3751,6 @@ module Stripe
|
|
4400
3751
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::SepaDebit::MandateOptions)
|
4401
3752
|
}
|
4402
3753
|
attr_accessor :mandate_options
|
4403
|
-
|
4404
3754
|
sig {
|
4405
3755
|
params(mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::SepaDebit::MandateOptions).void
|
4406
3756
|
}
|
@@ -4412,11 +3762,9 @@ module Stripe
|
|
4412
3762
|
# The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
4413
3763
|
sig { returns(T::Array[String]) }
|
4414
3764
|
attr_accessor :account_subcategories
|
4415
|
-
|
4416
3765
|
# ID of the institution to use to filter for selectable accounts.
|
4417
3766
|
sig { returns(String) }
|
4418
3767
|
attr_accessor :institution
|
4419
|
-
|
4420
3768
|
sig { params(account_subcategories: T::Array[String], institution: String).void }
|
4421
3769
|
def initialize(account_subcategories: nil, institution: nil); end
|
4422
3770
|
end
|
@@ -4424,7 +3772,6 @@ module Stripe
|
|
4424
3772
|
# Settings for configuring manual entry of account details.
|
4425
3773
|
sig { returns(String) }
|
4426
3774
|
attr_accessor :mode
|
4427
|
-
|
4428
3775
|
sig { params(mode: String).void }
|
4429
3776
|
def initialize(mode: nil); end
|
4430
3777
|
end
|
@@ -4433,25 +3780,20 @@ module Stripe
|
|
4433
3780
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters)
|
4434
3781
|
}
|
4435
3782
|
attr_accessor :filters
|
4436
|
-
|
4437
3783
|
# Customize manual entry behavior
|
4438
3784
|
sig {
|
4439
3785
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry)
|
4440
3786
|
}
|
4441
3787
|
attr_accessor :manual_entry
|
4442
|
-
|
4443
3788
|
# The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
4444
3789
|
sig { returns(T::Array[String]) }
|
4445
3790
|
attr_accessor :permissions
|
4446
|
-
|
4447
3791
|
# List of data features that you would like to retrieve upon account creation.
|
4448
3792
|
sig { returns(T::Array[String]) }
|
4449
3793
|
attr_accessor :prefetch
|
4450
|
-
|
4451
3794
|
# For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
|
4452
3795
|
sig { returns(String) }
|
4453
3796
|
attr_accessor :return_url
|
4454
|
-
|
4455
3797
|
sig {
|
4456
3798
|
params(filters: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::Filters, manual_entry: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections::ManualEntry, permissions: T::Array[String], prefetch: T::Array[String], return_url: String).void
|
4457
3799
|
}
|
@@ -4467,7 +3809,6 @@ module Stripe
|
|
4467
3809
|
# The method used to collect offline mandate customer acceptance.
|
4468
3810
|
sig { returns(T.nilable(String)) }
|
4469
3811
|
attr_accessor :collection_method
|
4470
|
-
|
4471
3812
|
sig { params(collection_method: T.nilable(String)).void }
|
4472
3813
|
def initialize(collection_method: nil); end
|
4473
3814
|
end
|
@@ -4475,7 +3816,6 @@ module Stripe
|
|
4475
3816
|
# Triggers validations to run across the selected networks
|
4476
3817
|
sig { returns(T::Array[String]) }
|
4477
3818
|
attr_accessor :requested
|
4478
|
-
|
4479
3819
|
sig { params(requested: T::Array[String]).void }
|
4480
3820
|
def initialize(requested: nil); end
|
4481
3821
|
end
|
@@ -4484,23 +3824,19 @@ module Stripe
|
|
4484
3824
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections)
|
4485
3825
|
}
|
4486
3826
|
attr_accessor :financial_connections
|
4487
|
-
|
4488
3827
|
# Additional fields for Mandate creation
|
4489
3828
|
sig {
|
4490
3829
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::MandateOptions)
|
4491
3830
|
}
|
4492
3831
|
attr_accessor :mandate_options
|
4493
|
-
|
4494
3832
|
# Additional fields for network related functions
|
4495
3833
|
sig {
|
4496
3834
|
returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::Networks)
|
4497
3835
|
}
|
4498
3836
|
attr_accessor :networks
|
4499
|
-
|
4500
3837
|
# Bank account verification method.
|
4501
3838
|
sig { returns(String) }
|
4502
3839
|
attr_accessor :verification_method
|
4503
|
-
|
4504
3840
|
sig {
|
4505
3841
|
params(financial_connections: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::FinancialConnections, mandate_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::MandateOptions, networks: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount::Networks, verification_method: String).void
|
4506
3842
|
}
|
@@ -4514,43 +3850,33 @@ module Stripe
|
|
4514
3850
|
# If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
|
4515
3851
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AcssDebit) }
|
4516
3852
|
attr_accessor :acss_debit
|
4517
|
-
|
4518
3853
|
# If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
|
4519
3854
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AmazonPay) }
|
4520
3855
|
attr_accessor :amazon_pay
|
4521
|
-
|
4522
3856
|
# If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
|
4523
3857
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::BacsDebit) }
|
4524
3858
|
attr_accessor :bacs_debit
|
4525
|
-
|
4526
3859
|
# Configuration for any card setup attempted on this SetupIntent.
|
4527
3860
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card) }
|
4528
3861
|
attr_accessor :card
|
4529
|
-
|
4530
3862
|
# If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options.
|
4531
3863
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::CardPresent) }
|
4532
3864
|
attr_accessor :card_present
|
4533
|
-
|
4534
3865
|
# If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
|
4535
3866
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Link) }
|
4536
3867
|
attr_accessor :link
|
4537
|
-
|
4538
3868
|
# If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
|
4539
3869
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Paypal) }
|
4540
3870
|
attr_accessor :paypal
|
4541
|
-
|
4542
3871
|
# If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
4543
3872
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Payto) }
|
4544
3873
|
attr_accessor :payto
|
4545
|
-
|
4546
3874
|
# If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
4547
3875
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::SepaDebit) }
|
4548
3876
|
attr_accessor :sepa_debit
|
4549
|
-
|
4550
3877
|
# If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
|
4551
3878
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount) }
|
4552
3879
|
attr_accessor :us_bank_account
|
4553
|
-
|
4554
3880
|
sig {
|
4555
3881
|
params(acss_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AcssDebit, amazon_pay: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::AmazonPay, bacs_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::BacsDebit, card: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Card, card_present: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::CardPresent, link: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Link, paypal: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Paypal, payto: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::Payto, sepa_debit: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::SepaDebit, us_bank_account: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions::UsBankAccount).void
|
4556
3882
|
}
|
@@ -4572,38 +3898,30 @@ module Stripe
|
|
4572
3898
|
# If the provided ConfirmationToken contains properties that are also being provided in this request, such as `payment_method`, then the values in this request will take precedence.
|
4573
3899
|
sig { returns(String) }
|
4574
3900
|
attr_accessor :confirmation_token
|
4575
|
-
|
4576
3901
|
# Specifies which fields in the response should be expanded.
|
4577
3902
|
sig { returns(T::Array[String]) }
|
4578
3903
|
attr_accessor :expand
|
4579
|
-
|
4580
3904
|
# Attribute for param field mandate_data
|
4581
3905
|
sig { returns(T.nilable(::Stripe::SetupIntent::ConfirmParams::MandateData)) }
|
4582
3906
|
attr_accessor :mandate_data
|
4583
|
-
|
4584
3907
|
# ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent.
|
4585
3908
|
sig { returns(String) }
|
4586
3909
|
attr_accessor :payment_method
|
4587
|
-
|
4588
3910
|
# When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method)
|
4589
3911
|
# value in the SetupIntent.
|
4590
3912
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodData) }
|
4591
3913
|
attr_accessor :payment_method_data
|
4592
|
-
|
4593
3914
|
# Payment method-specific configuration for this SetupIntent.
|
4594
3915
|
sig { returns(::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions) }
|
4595
3916
|
attr_accessor :payment_method_options
|
4596
|
-
|
4597
3917
|
# The URL to redirect your customer back to after they authenticate on the payment method's app or site.
|
4598
3918
|
# If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
4599
3919
|
# This parameter is only used for cards and other redirect-based payment methods.
|
4600
3920
|
sig { returns(String) }
|
4601
3921
|
attr_accessor :return_url
|
4602
|
-
|
4603
3922
|
# Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
4604
3923
|
sig { returns(T::Boolean) }
|
4605
3924
|
attr_accessor :use_stripe_sdk
|
4606
|
-
|
4607
3925
|
sig {
|
4608
3926
|
params(confirmation_token: String, expand: T::Array[String], mandate_data: T.nilable(::Stripe::SetupIntent::ConfirmParams::MandateData), payment_method: String, payment_method_data: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodData, payment_method_options: ::Stripe::SetupIntent::ConfirmParams::PaymentMethodOptions, return_url: String, use_stripe_sdk: T::Boolean).void
|
4609
3927
|
}
|
@@ -4622,15 +3940,12 @@ module Stripe
|
|
4622
3940
|
# Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.
|
4623
3941
|
sig { returns(T::Array[Integer]) }
|
4624
3942
|
attr_accessor :amounts
|
4625
|
-
|
4626
3943
|
# A six-character code starting with SM present in the microdeposit sent to the bank account.
|
4627
3944
|
sig { returns(String) }
|
4628
3945
|
attr_accessor :descriptor_code
|
4629
|
-
|
4630
3946
|
# Specifies which fields in the response should be expanded.
|
4631
3947
|
sig { returns(T::Array[String]) }
|
4632
3948
|
attr_accessor :expand
|
4633
|
-
|
4634
3949
|
sig {
|
4635
3950
|
params(amounts: T::Array[Integer], descriptor_code: String, expand: T::Array[String]).void
|
4636
3951
|
}
|