stripe 13.6.0.pre.beta.1 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +699 -1457
- data/OPENAPI_VERSION +1 -1
- data/README.md +29 -0
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +2 -0
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/errors.rb +0 -7
- data/lib/stripe/object_types.rb +0 -26
- data/lib/stripe/resources/account.rb +83 -614
- data/lib/stripe/resources/account_session.rb +1 -247
- data/lib/stripe/resources/apple_pay_domain.rb +0 -9
- data/lib/stripe/resources/application_fee.rb +1 -10
- data/lib/stripe/resources/balance.rb +0 -9
- data/lib/stripe/resources/balance_transaction.rb +2 -11
- data/lib/stripe/resources/bank_account.rb +1 -1
- data/lib/stripe/resources/billing/alert.rb +0 -9
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -48
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -9
- data/lib/stripe/resources/billing/credit_grant.rb +4 -13
- data/lib/stripe/resources/billing/meter.rb +1 -10
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -9
- data/lib/stripe/resources/card.rb +2 -4
- data/lib/stripe/resources/charge.rb +35 -1457
- data/lib/stripe/resources/checkout/session.rb +100 -293
- data/lib/stripe/resources/climate/order.rb +0 -9
- data/lib/stripe/resources/climate/product.rb +0 -9
- data/lib/stripe/resources/climate/supplier.rb +0 -9
- data/lib/stripe/resources/confirmation_token.rb +74 -156
- data/lib/stripe/resources/country_spec.rb +0 -9
- data/lib/stripe/resources/coupon.rb +0 -9
- data/lib/stripe/resources/credit_note.rb +14 -35
- data/lib/stripe/resources/credit_note_line_item.rb +14 -12
- data/lib/stripe/resources/customer.rb +12 -28
- data/lib/stripe/resources/customer_balance_transaction.rb +3 -1
- data/lib/stripe/resources/dispute.rb +0 -9
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -9
- data/lib/stripe/resources/entitlements/feature.rb +0 -9
- data/lib/stripe/resources/event.rb +0 -40
- data/lib/stripe/resources/exchange_rate.rb +0 -9
- data/lib/stripe/resources/file.rb +0 -9
- data/lib/stripe/resources/file_link.rb +0 -9
- data/lib/stripe/resources/financial_connections/account.rb +0 -23
- data/lib/stripe/resources/financial_connections/session.rb +1 -65
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -9
- data/lib/stripe/resources/forwarding/request.rb +0 -9
- data/lib/stripe/resources/identity/verification_report.rb +0 -9
- data/lib/stripe/resources/identity/verification_session.rb +0 -9
- data/lib/stripe/resources/invoice.rb +225 -5120
- data/lib/stripe/resources/invoice_item.rb +65 -110
- data/lib/stripe/resources/invoice_line_item.rb +106 -89
- data/lib/stripe/resources/invoice_payment.rb +53 -4
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
- data/lib/stripe/resources/issuing/authorization.rb +0 -9
- data/lib/stripe/resources/issuing/card.rb +0 -9
- data/lib/stripe/resources/issuing/cardholder.rb +1 -11
- data/lib/stripe/resources/issuing/dispute.rb +0 -9
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -9
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -9
- data/lib/stripe/resources/issuing/token.rb +0 -9
- data/lib/stripe/resources/issuing/transaction.rb +0 -15
- data/lib/stripe/resources/line_item.rb +0 -28
- data/lib/stripe/resources/mandate.rb +6 -33
- data/lib/stripe/resources/payment_intent.rb +642 -4975
- data/lib/stripe/resources/payment_link.rb +84 -15
- data/lib/stripe/resources/payment_method.rb +74 -187
- data/lib/stripe/resources/payment_method_configuration.rb +87 -214
- data/lib/stripe/resources/payment_method_domain.rb +9 -18
- data/lib/stripe/resources/payout.rb +0 -9
- data/lib/stripe/resources/person.rb +9 -9
- data/lib/stripe/resources/plan.rb +0 -15
- data/lib/stripe/resources/price.rb +2 -47
- data/lib/stripe/resources/product.rb +0 -68
- data/lib/stripe/resources/promotion_code.rb +0 -9
- data/lib/stripe/resources/quote.rb +8 -2037
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -9
- data/lib/stripe/resources/radar/value_list.rb +0 -9
- data/lib/stripe/resources/radar/value_list_item.rb +0 -9
- data/lib/stripe/resources/refund.rb +13 -18
- data/lib/stripe/resources/reporting/report_run.rb +0 -9
- data/lib/stripe/resources/reporting/report_type.rb +0 -9
- data/lib/stripe/resources/review.rb +2 -11
- data/lib/stripe/resources/setup_attempt.rb +11 -16
- data/lib/stripe/resources/setup_intent.rb +158 -540
- data/lib/stripe/resources/shipping_rate.rb +0 -9
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -9
- data/lib/stripe/resources/source.rb +0 -41
- data/lib/stripe/resources/subscription.rb +14 -385
- data/lib/stripe/resources/subscription_item.rb +9 -134
- data/lib/stripe/resources/subscription_schedule.rb +14 -1135
- data/lib/stripe/resources/tax/calculation.rb +0 -9
- data/lib/stripe/resources/tax/registration.rb +1 -10
- data/lib/stripe/resources/tax/settings.rb +0 -9
- data/lib/stripe/resources/tax/transaction.rb +0 -9
- data/lib/stripe/resources/tax_code.rb +0 -9
- data/lib/stripe/resources/tax_id.rb +0 -9
- data/lib/stripe/resources/tax_rate.rb +0 -9
- data/lib/stripe/resources/terminal/configuration.rb +214 -14
- data/lib/stripe/resources/terminal/location.rb +0 -9
- data/lib/stripe/resources/terminal/reader.rb +0 -408
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -9
- data/lib/stripe/resources/token.rb +1 -10
- data/lib/stripe/resources/topup.rb +0 -9
- data/lib/stripe/resources/transfer.rb +0 -9
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -9
- data/lib/stripe/resources/treasury/financial_account.rb +4 -32
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -9
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -46
- data/lib/stripe/resources/treasury/received_credit.rb +1 -47
- data/lib/stripe/resources/treasury/received_debit.rb +1 -49
- data/lib/stripe/resources/treasury/transaction.rb +0 -9
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -9
- data/lib/stripe/resources/v2/event.rb +1 -0
- data/lib/stripe/resources/v2/event_destination.rb +1 -0
- data/lib/stripe/resources/webhook_endpoint.rb +0 -9
- data/lib/stripe/resources.rb +0 -25
- data/lib/stripe/services/account_external_account_service.rb +1 -1
- data/lib/stripe/services/account_service.rb +68 -509
- data/lib/stripe/services/account_session_service.rb +1 -217
- data/lib/stripe/services/balance_transaction_service.rb +1 -1
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +2 -2
- data/lib/stripe/services/billing/credit_grant_service.rb +2 -2
- data/lib/stripe/services/billing/meter_service.rb +1 -1
- data/lib/stripe/services/charge_service.rb +1 -1335
- data/lib/stripe/services/checkout/session_service.rb +60 -168
- data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -4
- data/lib/stripe/services/credit_note_service.rb +0 -8
- data/lib/stripe/services/customer_service.rb +0 -16
- data/lib/stripe/services/financial_connections/account_service.rb +1 -3
- data/lib/stripe/services/financial_connections/session_service.rb +1 -30
- data/lib/stripe/services/financial_connections_service.rb +1 -2
- data/lib/stripe/services/invoice_item_service.rb +34 -88
- data/lib/stripe/services/invoice_line_item_service.rb +25 -41
- data/lib/stripe/services/invoice_payment_service.rb +33 -5
- data/lib/stripe/services/invoice_service.rb +210 -3147
- data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
- data/lib/stripe/services/issuing/transaction_service.rb +0 -4
- data/lib/stripe/services/issuing_service.rb +1 -5
- data/lib/stripe/services/payment_intent_service.rb +568 -4513
- data/lib/stripe/services/payment_link_service.rb +59 -6
- data/lib/stripe/services/payment_method_configuration_service.rb +62 -146
- data/lib/stripe/services/payment_method_domain_service.rb +6 -6
- data/lib/stripe/services/payment_method_service.rb +49 -119
- data/lib/stripe/services/plan_service.rb +0 -4
- data/lib/stripe/services/price_service.rb +2 -25
- data/lib/stripe/services/product_service.rb +0 -38
- data/lib/stripe/services/quote_service.rb +9 -1716
- data/lib/stripe/services/setup_intent_service.rb +158 -492
- data/lib/stripe/services/subscription_item_service.rb +5 -111
- data/lib/stripe/services/subscription_schedule_service.rb +14 -1005
- data/lib/stripe/services/subscription_service.rb +13 -323
- data/lib/stripe/services/tax/registration_service.rb +1 -1
- data/lib/stripe/services/tax_service.rb +1 -3
- data/lib/stripe/services/terminal/configuration_service.rb +170 -4
- data/lib/stripe/services/terminal/reader_service.rb +0 -177
- data/lib/stripe/services/terminal_service.rb +1 -2
- data/lib/stripe/services/test_helpers/confirmation_token_service.rb +49 -87
- data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
- data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
- data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
- data/lib/stripe/services/token_service.rb +1 -1
- data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
- data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
- data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
- data/lib/stripe/services/v1_services.rb +2 -8
- data/lib/stripe/services/v2/core/event_destination_service.rb +1 -4
- data/lib/stripe/services/v2/core/event_service.rb +1 -4
- data/lib/stripe/services.rb +0 -27
- data/lib/stripe/stripe_client.rb +1 -0
- data/lib/stripe/stripe_configuration.rb +1 -3
- data/lib/stripe/util.rb +1 -7
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +0 -45
- data/rbi/stripe/resources/account.rbi +1131 -1479
- data/rbi/stripe/resources/account_link.rbi +9 -9
- data/rbi/stripe/resources/account_session.rbi +118 -367
- data/rbi/stripe/resources/apple_pay_domain.rbi +8 -15
- data/rbi/stripe/resources/application_fee.rbi +15 -20
- data/rbi/stripe/resources/apps/secret.rbi +20 -20
- data/rbi/stripe/resources/balance.rbi +0 -7
- data/rbi/stripe/resources/balance_transaction.rbi +19 -24
- data/rbi/stripe/resources/bank_account.rbi +1 -1
- data/rbi/stripe/resources/billing/alert.rbi +23 -28
- data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -53
- data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +6 -13
- data/rbi/stripe/resources/billing/credit_grant.rbi +30 -37
- data/rbi/stripe/resources/billing/meter.rbi +19 -26
- data/rbi/stripe/resources/billing/meter_event.rbi +4 -4
- data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +5 -5
- data/rbi/stripe/resources/billing_portal/configuration.rbi +86 -81
- data/rbi/stripe/resources/billing_portal/session.rbi +31 -27
- data/rbi/stripe/resources/card.rbi +2 -5
- data/rbi/stripe/resources/charge.rbi +136 -1576
- data/rbi/stripe/resources/checkout/session.rbi +631 -748
- data/rbi/stripe/resources/climate/order.rbi +20 -25
- data/rbi/stripe/resources/climate/product.rbi +5 -12
- data/rbi/stripe/resources/climate/supplier.rbi +5 -12
- data/rbi/stripe/resources/confirmation_token.rbi +274 -268
- data/rbi/stripe/resources/country_spec.rbi +5 -12
- data/rbi/stripe/resources/coupon.rbi +34 -39
- data/rbi/stripe/resources/credit_note.rbi +134 -146
- data/rbi/stripe/resources/credit_note_line_item.rbi +20 -18
- data/rbi/stripe/resources/customer.rbi +172 -164
- data/rbi/stripe/resources/customer_balance_transaction.rbi +4 -1
- data/rbi/stripe/resources/customer_session.rbi +19 -15
- data/rbi/stripe/resources/dispute.rbi +92 -95
- data/rbi/stripe/resources/entitlements/active_entitlement.rbi +5 -12
- data/rbi/stripe/resources/entitlements/feature.rbi +15 -22
- data/rbi/stripe/resources/ephemeral_key.rbi +2 -2
- data/rbi/stripe/resources/event.rbi +16 -60
- data/rbi/stripe/resources/exchange_rate.rbi +5 -12
- data/rbi/stripe/resources/file.rbi +20 -25
- data/rbi/stripe/resources/file_link.rbi +23 -28
- data/rbi/stripe/resources/financial_connections/account.rbi +25 -44
- data/rbi/stripe/resources/financial_connections/session.rbi +12 -75
- data/rbi/stripe/resources/financial_connections/transaction.rbi +16 -19
- data/rbi/stripe/resources/forwarding/request.rbi +21 -24
- data/rbi/stripe/resources/identity/verification_report.rbi +18 -21
- data/rbi/stripe/resources/identity/verification_session.rbi +60 -61
- data/rbi/stripe/resources/invoice.rbi +723 -5918
- data/rbi/stripe/resources/invoice_item.rbi +138 -177
- data/rbi/stripe/resources/invoice_line_item.rbi +199 -264
- data/rbi/stripe/resources/invoice_payment.rbi +51 -7
- data/rbi/stripe/resources/invoice_rendering_template.rbi +10 -20
- data/rbi/stripe/resources/issuing/authorization.rbi +216 -199
- data/rbi/stripe/resources/issuing/card.rbi +104 -101
- data/rbi/stripe/resources/issuing/cardholder.rbi +120 -108
- data/rbi/stripe/resources/issuing/dispute.rbi +164 -151
- data/rbi/stripe/resources/issuing/personalization_design.rbi +61 -56
- data/rbi/stripe/resources/issuing/physical_bundle.rbi +7 -14
- data/rbi/stripe/resources/issuing/token.rbi +16 -21
- data/rbi/stripe/resources/issuing/transaction.rbi +180 -176
- data/rbi/stripe/resources/line_item.rbi +0 -36
- data/rbi/stripe/resources/mandate.rbi +8 -40
- data/rbi/stripe/resources/payment_intent.rbi +2252 -6482
- data/rbi/stripe/resources/payment_link.rbi +346 -211
- data/rbi/stripe/resources/payment_method.rbi +226 -330
- data/rbi/stripe/resources/payment_method_configuration.rbi +602 -685
- data/rbi/stripe/resources/payment_method_domain.rbi +26 -31
- data/rbi/stripe/resources/payout.rbi +43 -42
- data/rbi/stripe/resources/person.rbi +9 -9
- data/rbi/stripe/resources/plan.rbi +51 -63
- data/rbi/stripe/resources/price.rbi +114 -151
- data/rbi/stripe/resources/product.rbi +90 -152
- data/rbi/stripe/resources/promotion_code.rbi +42 -47
- data/rbi/stripe/resources/quote.rbi +168 -2231
- data/rbi/stripe/resources/radar/early_fraud_warning.rbi +17 -20
- data/rbi/stripe/resources/radar/value_list.rbi +24 -29
- data/rbi/stripe/resources/radar/value_list_item.rbi +18 -21
- data/rbi/stripe/resources/refund.rbi +52 -51
- data/rbi/stripe/resources/reporting/report_run.rbi +27 -30
- data/rbi/stripe/resources/reporting/report_type.rbi +2 -9
- data/rbi/stripe/resources/review.rbi +17 -22
- data/rbi/stripe/resources/setup_attempt.rbi +25 -32
- data/rbi/stripe/resources/setup_intent.rbi +900 -1102
- data/rbi/stripe/resources/shipping_rate.rbi +41 -46
- data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +5 -12
- data/rbi/stripe/resources/source.rbi +132 -179
- data/rbi/stripe/resources/subscription.rbi +363 -707
- data/rbi/stripe/resources/subscription_item.rbi +69 -177
- data/rbi/stripe/resources/subscription_schedule.rbi +289 -1447
- data/rbi/stripe/resources/tax/calculation.rbi +43 -48
- data/rbi/stripe/resources/tax/registration.rbi +217 -170
- data/rbi/stripe/resources/tax/settings.rbi +14 -21
- data/rbi/stripe/resources/tax/transaction.rbi +20 -25
- data/rbi/stripe/resources/tax_code.rbi +5 -12
- data/rbi/stripe/resources/tax_id.rbi +15 -22
- data/rbi/stripe/resources/tax_rate.rbi +34 -39
- data/rbi/stripe/resources/terminal/configuration.rbi +457 -212
- data/rbi/stripe/resources/terminal/connection_token.rbi +3 -3
- data/rbi/stripe/resources/terminal/location.rbi +28 -35
- data/rbi/stripe/resources/terminal/reader.rbi +71 -441
- data/rbi/stripe/resources/test_helpers/test_clock.rbi +12 -17
- data/rbi/stripe/resources/token.rbi +288 -263
- data/rbi/stripe/resources/topup.rbi +35 -38
- data/rbi/stripe/resources/transfer.rbi +27 -32
- data/rbi/stripe/resources/treasury/credit_reversal.rbi +10 -17
- data/rbi/stripe/resources/treasury/debit_reversal.rbi +11 -18
- data/rbi/stripe/resources/treasury/financial_account.rbi +125 -130
- data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -3
- data/rbi/stripe/resources/treasury/inbound_transfer.rbi +22 -29
- data/rbi/stripe/resources/treasury/outbound_payment.rbi +82 -79
- data/rbi/stripe/resources/treasury/outbound_transfer.rbi +44 -86
- data/rbi/stripe/resources/treasury/received_credit.rbi +18 -64
- data/rbi/stripe/resources/treasury/received_debit.rbi +17 -66
- data/rbi/stripe/resources/treasury/transaction.rbi +27 -28
- data/rbi/stripe/resources/treasury/transaction_entry.rbi +25 -26
- data/rbi/stripe/resources/v2/amount.rbi +1 -1
- data/rbi/stripe/resources/v2/event.rbi +1 -0
- data/rbi/stripe/resources/v2/event_destination.rbi +1 -0
- data/rbi/stripe/resources/webhook_endpoint.rbi +18 -25
- data/rbi/stripe/services/account_capability_service.rbi +7 -7
- data/rbi/stripe/services/account_external_account_service.rbi +52 -52
- data/rbi/stripe/services/account_link_service.rbi +9 -9
- data/rbi/stripe/services/account_login_link_service.rbi +2 -2
- data/rbi/stripe/services/account_person_service.rbi +221 -201
- data/rbi/stripe/services/account_service.rbi +1221 -1345
- data/rbi/stripe/services/account_session_service.rbi +115 -346
- data/rbi/stripe/services/apple_pay_domain_service.rbi +10 -10
- data/rbi/stripe/services/application_fee_refund_service.rbi +16 -14
- data/rbi/stripe/services/application_fee_service.rbi +18 -14
- data/rbi/stripe/services/apps/secret_service.rbi +20 -20
- data/rbi/stripe/services/balance_service.rbi +2 -2
- data/rbi/stripe/services/balance_transaction_service.rbi +22 -18
- data/rbi/stripe/services/billing/alert_service.rbi +23 -23
- data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +10 -10
- data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +8 -8
- data/rbi/stripe/services/billing/credit_grant_service.rbi +32 -30
- data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +7 -5
- data/rbi/stripe/services/billing/meter_event_service.rbi +4 -4
- data/rbi/stripe/services/billing/meter_event_summary_service.rbi +6 -6
- data/rbi/stripe/services/billing/meter_service.rbi +21 -21
- data/rbi/stripe/services/billing_portal/configuration_service.rbi +90 -76
- data/rbi/stripe/services/billing_portal/session_service.rbi +29 -27
- data/rbi/stripe/services/charge_service.rbi +96 -1464
- data/rbi/stripe/services/checkout/session_line_item_service.rbi +5 -5
- data/rbi/stripe/services/checkout/session_service.rbi +555 -591
- data/rbi/stripe/services/climate/order_service.rbi +22 -20
- data/rbi/stripe/services/climate/product_service.rbi +7 -7
- data/rbi/stripe/services/climate/supplier_service.rbi +7 -7
- data/rbi/stripe/services/confirmation_token_service.rbi +2 -2
- data/rbi/stripe/services/country_spec_service.rbi +7 -7
- data/rbi/stripe/services/coupon_service.rbi +40 -34
- data/rbi/stripe/services/credit_note_line_item_service.rbi +5 -5
- data/rbi/stripe/services/credit_note_preview_lines_service.rbi +35 -35
- data/rbi/stripe/services/credit_note_service.rbi +81 -85
- data/rbi/stripe/services/customer_balance_transaction_service.rbi +15 -15
- data/rbi/stripe/services/customer_cash_balance_service.rbi +7 -7
- data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +7 -7
- data/rbi/stripe/services/customer_funding_instructions_service.rbi +5 -5
- data/rbi/stripe/services/customer_payment_method_service.rbi +9 -9
- data/rbi/stripe/services/customer_payment_source_service.rbi +48 -44
- data/rbi/stripe/services/customer_service.rbi +143 -139
- data/rbi/stripe/services/customer_session_service.rbi +21 -15
- data/rbi/stripe/services/customer_tax_id_service.rbi +9 -9
- data/rbi/stripe/services/dispute_service.rbi +92 -90
- data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +7 -7
- data/rbi/stripe/services/entitlements/feature_service.rbi +17 -17
- data/rbi/stripe/services/ephemeral_key_service.rbi +8 -8
- data/rbi/stripe/services/event_service.rbi +18 -16
- data/rbi/stripe/services/exchange_rate_service.rbi +7 -7
- data/rbi/stripe/services/file_link_service.rbi +25 -23
- data/rbi/stripe/services/file_service.rbi +22 -20
- data/rbi/stripe/services/financial_connections/account_owner_service.rbi +5 -5
- data/rbi/stripe/services/financial_connections/account_service.rbi +22 -21
- data/rbi/stripe/services/financial_connections/session_service.rbi +16 -39
- data/rbi/stripe/services/financial_connections/transaction_service.rbi +16 -14
- data/rbi/stripe/services/financial_connections_service.rbi +0 -1
- data/rbi/stripe/services/forwarding/request_service.rbi +21 -19
- data/rbi/stripe/services/identity/verification_report_service.rbi +18 -16
- data/rbi/stripe/services/identity/verification_session_service.rbi +62 -56
- data/rbi/stripe/services/invoice_item_service.rbi +99 -155
- data/rbi/stripe/services/invoice_line_item_service.rbi +71 -82
- data/rbi/stripe/services/invoice_payment_service.rbi +39 -12
- data/rbi/stripe/services/invoice_rendering_template_service.rbi +13 -13
- data/rbi/stripe/services/invoice_service.rbi +679 -3799
- data/rbi/stripe/services/issuing/authorization_service.rbi +32 -26
- data/rbi/stripe/services/issuing/card_service.rbi +102 -86
- data/rbi/stripe/services/issuing/cardholder_service.rbi +122 -103
- data/rbi/stripe/services/issuing/dispute_service.rbi +152 -146
- data/rbi/stripe/services/issuing/personalization_design_service.rbi +52 -42
- data/rbi/stripe/services/issuing/physical_bundle_service.rbi +9 -9
- data/rbi/stripe/services/issuing/token_service.rbi +20 -16
- data/rbi/stripe/services/issuing/transaction_service.rbi +25 -23
- data/rbi/stripe/services/issuing_service.rbi +0 -3
- data/rbi/stripe/services/mandate_service.rbi +2 -2
- data/rbi/stripe/services/payment_intent_service.rbi +2312 -6081
- data/rbi/stripe/services/payment_link_line_item_service.rbi +5 -5
- data/rbi/stripe/services/payment_link_service.rbi +303 -201
- data/rbi/stripe/services/payment_method_configuration_service.rbi +616 -620
- data/rbi/stripe/services/payment_method_domain_service.rbi +25 -23
- data/rbi/stripe/services/payment_method_service.rbi +192 -249
- data/rbi/stripe/services/payout_service.rbi +45 -37
- data/rbi/stripe/services/plan_service.rbi +53 -55
- data/rbi/stripe/services/price_service.rbi +124 -129
- data/rbi/stripe/services/product_feature_service.rbi +9 -9
- data/rbi/stripe/services/product_service.rbi +94 -122
- data/rbi/stripe/services/promotion_code_service.rbi +46 -42
- data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +5 -5
- data/rbi/stripe/services/quote_line_item_service.rbi +5 -5
- data/rbi/stripe/services/quote_service.rbi +159 -1863
- data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +17 -15
- data/rbi/stripe/services/radar/value_list_item_service.rbi +20 -16
- data/rbi/stripe/services/radar/value_list_service.rbi +28 -24
- data/rbi/stripe/services/refund_service.rbi +37 -33
- data/rbi/stripe/services/reporting/report_run_service.rbi +29 -25
- data/rbi/stripe/services/reporting/report_type_service.rbi +4 -4
- data/rbi/stripe/services/review_service.rbi +17 -15
- data/rbi/stripe/services/setup_attempt_service.rbi +13 -11
- data/rbi/stripe/services/setup_intent_service.rbi +1028 -1062
- data/rbi/stripe/services/shipping_rate_service.rbi +47 -41
- data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +7 -7
- data/rbi/stripe/services/source_service.rbi +149 -133
- data/rbi/stripe/services/source_transaction_service.rbi +5 -5
- data/rbi/stripe/services/subscription_item_service.rbi +61 -159
- data/rbi/stripe/services/subscription_schedule_service.rbi +289 -1305
- data/rbi/stripe/services/subscription_service.rbi +366 -640
- data/rbi/stripe/services/tax/calculation_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/calculation_service.rbi +40 -38
- data/rbi/stripe/services/tax/registration_service.rbi +337 -165
- data/rbi/stripe/services/tax/settings_service.rbi +16 -16
- data/rbi/stripe/services/tax/transaction_line_item_service.rbi +5 -5
- data/rbi/stripe/services/tax/transaction_service.rbi +19 -15
- data/rbi/stripe/services/tax_code_service.rbi +7 -7
- data/rbi/stripe/services/tax_id_service.rbi +17 -17
- data/rbi/stripe/services/tax_rate_service.rbi +36 -34
- data/rbi/stripe/services/tax_service.rbi +0 -2
- data/rbi/stripe/services/terminal/configuration_service.rbi +464 -204
- data/rbi/stripe/services/terminal/connection_token_service.rbi +3 -3
- data/rbi/stripe/services/terminal/location_service.rbi +30 -30
- data/rbi/stripe/services/terminal/reader_service.rbi +57 -226
- data/rbi/stripe/services/terminal_service.rbi +0 -1
- data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +157 -198
- data/rbi/stripe/services/test_helpers/customer_service.rbi +3 -3
- data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +180 -168
- data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +10 -10
- data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +11 -9
- data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +151 -145
- data/rbi/stripe/services/test_helpers/refund_service.rbi +2 -2
- data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +10 -39
- data/rbi/stripe/services/test_helpers/test_clock_service.rbi +14 -12
- data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +9 -9
- data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +20 -18
- data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +11 -38
- data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +11 -38
- data/rbi/stripe/services/token_service.rbi +292 -258
- data/rbi/stripe/services/topup_service.rbi +37 -33
- data/rbi/stripe/services/transfer_reversal_service.rbi +18 -16
- data/rbi/stripe/services/transfer_service.rbi +29 -27
- data/rbi/stripe/services/treasury/credit_reversal_service.rbi +12 -12
- data/rbi/stripe/services/treasury/debit_reversal_service.rbi +13 -13
- data/rbi/stripe/services/treasury/financial_account_features_service.rbi +23 -26
- data/rbi/stripe/services/treasury/financial_account_service.rbi +92 -96
- data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +15 -15
- data/rbi/stripe/services/treasury/outbound_payment_service.rbi +60 -56
- data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +24 -49
- data/rbi/stripe/services/treasury/received_credit_service.rbi +11 -9
- data/rbi/stripe/services/treasury/received_debit_service.rbi +8 -8
- data/rbi/stripe/services/treasury/transaction_entry_service.rbi +25 -21
- data/rbi/stripe/services/treasury/transaction_service.rbi +31 -23
- data/rbi/stripe/services/v1_services.rbi +1 -7
- data/rbi/stripe/services/v2/billing/meter_event_service.rbi +3 -3
- data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +3 -3
- data/rbi/stripe/services/v2/core/event_destination_service.rbi +21 -24
- data/rbi/stripe/services/v2/core/event_service.rbi +3 -6
- data/rbi/stripe/services/webhook_endpoint_service.rbi +20 -20
- metadata +4 -109
- data/lib/stripe/request_signing_authenticator.rb +0 -79
- data/lib/stripe/resources/account_notice.rb +0 -132
- data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
- data/lib/stripe/resources/capital/financing_offer.rb +0 -188
- data/lib/stripe/resources/capital/financing_summary.rb +0 -64
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
- data/lib/stripe/resources/financial_connections/institution.rb +0 -99
- data/lib/stripe/resources/gift_cards/card.rb +0 -217
- data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
- data/lib/stripe/resources/issuing/settlement.rb +0 -49
- data/lib/stripe/resources/margin.rb +0 -124
- data/lib/stripe/resources/order.rb +0 -2868
- data/lib/stripe/resources/payment_attempt_record.rb +0 -184
- data/lib/stripe/resources/payment_record.rb +0 -715
- data/lib/stripe/resources/quote_line.rb +0 -274
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
- data/lib/stripe/resources/tax/association.rb +0 -89
- data/lib/stripe/resources/tax/form.rb +0 -220
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
- data/lib/stripe/resources/usage_record.rb +0 -30
- data/lib/stripe/resources/usage_record_summary.rb +0 -33
- data/lib/stripe/services/account_notice_service.rb +0 -101
- data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
- data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
- data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
- data/lib/stripe/services/capital_service.rb +0 -15
- data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
- data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
- data/lib/stripe/services/gift_cards/card_service.rb +0 -170
- data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
- data/lib/stripe/services/gift_cards_service.rb +0 -14
- data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -1881
- data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
- data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
- data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
- data/lib/stripe/services/margin_service.rb +0 -119
- data/lib/stripe/services/order_line_item_service.rb +0 -35
- data/lib/stripe/services/order_service.rb +0 -2268
- data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
- data/lib/stripe/services/payment_record_service.rb +0 -542
- data/lib/stripe/services/quote_line_service.rb +0 -35
- data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
- data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
- data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -41
- data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -37
- data/lib/stripe/services/tax/association_service.rb +0 -31
- data/lib/stripe/services/tax/form_service.rb +0 -100
- data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
- data/rbi/stripe/resources/account_notice.rbi +0 -139
- data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
- data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
- data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
- data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
- data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
- data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
- data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
- data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
- data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
- data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
- data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
- data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
- data/rbi/stripe/resources/margin.rbi +0 -127
- data/rbi/stripe/resources/order.rbi +0 -3036
- data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
- data/rbi/stripe/resources/payment_record.rbi +0 -722
- data/rbi/stripe/resources/quote_line.rbi +0 -350
- data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
- data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
- data/rbi/stripe/resources/tax/association.rbi +0 -94
- data/rbi/stripe/resources/tax/form.rbi +0 -224
- data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
- data/rbi/stripe/resources/usage_record.rbi +0 -32
- data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
- data/rbi/stripe/services/account_notice_service.rbi +0 -90
- data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
- data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
- data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
- data/rbi/stripe/services/capital_service.rbi +0 -11
- data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
- data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
- data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
- data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
- data/rbi/stripe/services/gift_cards_service.rbi +0 -10
- data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
- data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
- data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
- data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
- data/rbi/stripe/services/margin_service.rbi +0 -104
- data/rbi/stripe/services/order_line_item_service.rbi +0 -31
- data/rbi/stripe/services/order_service.rbi +0 -2320
- data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
- data/rbi/stripe/services/payment_record_service.rbi +0 -521
- data/rbi/stripe/services/quote_line_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
- data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
- data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
- data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
- data/rbi/stripe/services/tax/association_service.rbi +0 -25
- data/rbi/stripe/services/tax/form_service.rbi +0 -85
- data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
@@ -208,7 +208,7 @@ module Stripe
|
|
208
208
|
sig { returns(DisplayPreference) }
|
209
209
|
attr_reader :display_preference
|
210
210
|
end
|
211
|
-
class
|
211
|
+
class Billie < Stripe::StripeObject
|
212
212
|
class DisplayPreference < Stripe::StripeObject
|
213
213
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
214
214
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -227,7 +227,7 @@ module Stripe
|
|
227
227
|
sig { returns(DisplayPreference) }
|
228
228
|
attr_reader :display_preference
|
229
229
|
end
|
230
|
-
class
|
230
|
+
class Blik < Stripe::StripeObject
|
231
231
|
class DisplayPreference < Stripe::StripeObject
|
232
232
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
233
233
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -246,7 +246,7 @@ module Stripe
|
|
246
246
|
sig { returns(DisplayPreference) }
|
247
247
|
attr_reader :display_preference
|
248
248
|
end
|
249
|
-
class
|
249
|
+
class Boleto < Stripe::StripeObject
|
250
250
|
class DisplayPreference < Stripe::StripeObject
|
251
251
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
252
252
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -265,7 +265,7 @@ module Stripe
|
|
265
265
|
sig { returns(DisplayPreference) }
|
266
266
|
attr_reader :display_preference
|
267
267
|
end
|
268
|
-
class
|
268
|
+
class Card < Stripe::StripeObject
|
269
269
|
class DisplayPreference < Stripe::StripeObject
|
270
270
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
271
271
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -284,7 +284,7 @@ module Stripe
|
|
284
284
|
sig { returns(DisplayPreference) }
|
285
285
|
attr_reader :display_preference
|
286
286
|
end
|
287
|
-
class
|
287
|
+
class CartesBancaires < Stripe::StripeObject
|
288
288
|
class DisplayPreference < Stripe::StripeObject
|
289
289
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
290
290
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -303,7 +303,7 @@ module Stripe
|
|
303
303
|
sig { returns(DisplayPreference) }
|
304
304
|
attr_reader :display_preference
|
305
305
|
end
|
306
|
-
class
|
306
|
+
class Cashapp < Stripe::StripeObject
|
307
307
|
class DisplayPreference < Stripe::StripeObject
|
308
308
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
309
309
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -322,7 +322,7 @@ module Stripe
|
|
322
322
|
sig { returns(DisplayPreference) }
|
323
323
|
attr_reader :display_preference
|
324
324
|
end
|
325
|
-
class
|
325
|
+
class CustomerBalance < Stripe::StripeObject
|
326
326
|
class DisplayPreference < Stripe::StripeObject
|
327
327
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
328
328
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -341,7 +341,7 @@ module Stripe
|
|
341
341
|
sig { returns(DisplayPreference) }
|
342
342
|
attr_reader :display_preference
|
343
343
|
end
|
344
|
-
class
|
344
|
+
class Eps < Stripe::StripeObject
|
345
345
|
class DisplayPreference < Stripe::StripeObject
|
346
346
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
347
347
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -360,7 +360,7 @@ module Stripe
|
|
360
360
|
sig { returns(DisplayPreference) }
|
361
361
|
attr_reader :display_preference
|
362
362
|
end
|
363
|
-
class
|
363
|
+
class Fpx < Stripe::StripeObject
|
364
364
|
class DisplayPreference < Stripe::StripeObject
|
365
365
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
366
366
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -379,7 +379,7 @@ module Stripe
|
|
379
379
|
sig { returns(DisplayPreference) }
|
380
380
|
attr_reader :display_preference
|
381
381
|
end
|
382
|
-
class
|
382
|
+
class Giropay < Stripe::StripeObject
|
383
383
|
class DisplayPreference < Stripe::StripeObject
|
384
384
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
385
385
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -398,7 +398,7 @@ module Stripe
|
|
398
398
|
sig { returns(DisplayPreference) }
|
399
399
|
attr_reader :display_preference
|
400
400
|
end
|
401
|
-
class
|
401
|
+
class GooglePay < Stripe::StripeObject
|
402
402
|
class DisplayPreference < Stripe::StripeObject
|
403
403
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
404
404
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -436,25 +436,6 @@ module Stripe
|
|
436
436
|
sig { returns(DisplayPreference) }
|
437
437
|
attr_reader :display_preference
|
438
438
|
end
|
439
|
-
class IdBankTransfer < Stripe::StripeObject
|
440
|
-
class DisplayPreference < Stripe::StripeObject
|
441
|
-
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
442
|
-
sig { returns(T.nilable(T::Boolean)) }
|
443
|
-
attr_reader :overridable
|
444
|
-
# The account's display preference.
|
445
|
-
sig { returns(String) }
|
446
|
-
attr_reader :preference
|
447
|
-
# The effective display preference value.
|
448
|
-
sig { returns(String) }
|
449
|
-
attr_reader :value
|
450
|
-
end
|
451
|
-
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
452
|
-
sig { returns(T::Boolean) }
|
453
|
-
attr_reader :available
|
454
|
-
# Attribute for field display_preference
|
455
|
-
sig { returns(DisplayPreference) }
|
456
|
-
attr_reader :display_preference
|
457
|
-
end
|
458
439
|
class Ideal < Stripe::StripeObject
|
459
440
|
class DisplayPreference < Stripe::StripeObject
|
460
441
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -588,7 +569,7 @@ module Stripe
|
|
588
569
|
sig { returns(DisplayPreference) }
|
589
570
|
attr_reader :display_preference
|
590
571
|
end
|
591
|
-
class
|
572
|
+
class NzBankAccount < Stripe::StripeObject
|
592
573
|
class DisplayPreference < Stripe::StripeObject
|
593
574
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
594
575
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -607,7 +588,7 @@ module Stripe
|
|
607
588
|
sig { returns(DisplayPreference) }
|
608
589
|
attr_reader :display_preference
|
609
590
|
end
|
610
|
-
class
|
591
|
+
class Oxxo < Stripe::StripeObject
|
611
592
|
class DisplayPreference < Stripe::StripeObject
|
612
593
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
613
594
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -626,7 +607,7 @@ module Stripe
|
|
626
607
|
sig { returns(DisplayPreference) }
|
627
608
|
attr_reader :display_preference
|
628
609
|
end
|
629
|
-
class
|
610
|
+
class P24 < Stripe::StripeObject
|
630
611
|
class DisplayPreference < Stripe::StripeObject
|
631
612
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
632
613
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -645,7 +626,7 @@ module Stripe
|
|
645
626
|
sig { returns(DisplayPreference) }
|
646
627
|
attr_reader :display_preference
|
647
628
|
end
|
648
|
-
class
|
629
|
+
class PayByBank < Stripe::StripeObject
|
649
630
|
class DisplayPreference < Stripe::StripeObject
|
650
631
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
651
632
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -664,7 +645,7 @@ module Stripe
|
|
664
645
|
sig { returns(DisplayPreference) }
|
665
646
|
attr_reader :display_preference
|
666
647
|
end
|
667
|
-
class
|
648
|
+
class Paynow < Stripe::StripeObject
|
668
649
|
class DisplayPreference < Stripe::StripeObject
|
669
650
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
670
651
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -683,7 +664,7 @@ module Stripe
|
|
683
664
|
sig { returns(DisplayPreference) }
|
684
665
|
attr_reader :display_preference
|
685
666
|
end
|
686
|
-
class
|
667
|
+
class Paypal < Stripe::StripeObject
|
687
668
|
class DisplayPreference < Stripe::StripeObject
|
688
669
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
689
670
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -721,25 +702,6 @@ module Stripe
|
|
721
702
|
sig { returns(DisplayPreference) }
|
722
703
|
attr_reader :display_preference
|
723
704
|
end
|
724
|
-
class Qris < Stripe::StripeObject
|
725
|
-
class DisplayPreference < Stripe::StripeObject
|
726
|
-
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
727
|
-
sig { returns(T.nilable(T::Boolean)) }
|
728
|
-
attr_reader :overridable
|
729
|
-
# The account's display preference.
|
730
|
-
sig { returns(String) }
|
731
|
-
attr_reader :preference
|
732
|
-
# The effective display preference value.
|
733
|
-
sig { returns(String) }
|
734
|
-
attr_reader :value
|
735
|
-
end
|
736
|
-
# Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
737
|
-
sig { returns(T::Boolean) }
|
738
|
-
attr_reader :available
|
739
|
-
# Attribute for field display_preference
|
740
|
-
sig { returns(DisplayPreference) }
|
741
|
-
attr_reader :display_preference
|
742
|
-
end
|
743
705
|
class RevolutPay < Stripe::StripeObject
|
744
706
|
class DisplayPreference < Stripe::StripeObject
|
745
707
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
@@ -759,7 +721,7 @@ module Stripe
|
|
759
721
|
sig { returns(DisplayPreference) }
|
760
722
|
attr_reader :display_preference
|
761
723
|
end
|
762
|
-
class
|
724
|
+
class Satispay < Stripe::StripeObject
|
763
725
|
class DisplayPreference < Stripe::StripeObject
|
764
726
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
765
727
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -778,7 +740,7 @@ module Stripe
|
|
778
740
|
sig { returns(DisplayPreference) }
|
779
741
|
attr_reader :display_preference
|
780
742
|
end
|
781
|
-
class
|
743
|
+
class SepaDebit < Stripe::StripeObject
|
782
744
|
class DisplayPreference < Stripe::StripeObject
|
783
745
|
# For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
784
746
|
sig { returns(T.nilable(T::Boolean)) }
|
@@ -947,6 +909,9 @@ module Stripe
|
|
947
909
|
# Attribute for field bancontact
|
948
910
|
sig { returns(Bancontact) }
|
949
911
|
attr_reader :bancontact
|
912
|
+
# Attribute for field billie
|
913
|
+
sig { returns(Billie) }
|
914
|
+
attr_reader :billie
|
950
915
|
# Attribute for field blik
|
951
916
|
sig { returns(Blik) }
|
952
917
|
attr_reader :blik
|
@@ -977,18 +942,12 @@ module Stripe
|
|
977
942
|
# Attribute for field google_pay
|
978
943
|
sig { returns(GooglePay) }
|
979
944
|
attr_reader :google_pay
|
980
|
-
# Attribute for field gopay
|
981
|
-
sig { returns(Gopay) }
|
982
|
-
attr_reader :gopay
|
983
945
|
# Attribute for field grabpay
|
984
946
|
sig { returns(Grabpay) }
|
985
947
|
attr_reader :grabpay
|
986
948
|
# Unique identifier for the object.
|
987
949
|
sig { returns(String) }
|
988
950
|
attr_reader :id
|
989
|
-
# Attribute for field id_bank_transfer
|
990
|
-
sig { returns(IdBankTransfer) }
|
991
|
-
attr_reader :id_bank_transfer
|
992
951
|
# Attribute for field ideal
|
993
952
|
sig { returns(Ideal) }
|
994
953
|
attr_reader :ideal
|
@@ -1019,6 +978,9 @@ module Stripe
|
|
1019
978
|
# The configuration's name.
|
1020
979
|
sig { returns(String) }
|
1021
980
|
attr_reader :name
|
981
|
+
# Attribute for field nz_bank_account
|
982
|
+
sig { returns(NzBankAccount) }
|
983
|
+
attr_reader :nz_bank_account
|
1022
984
|
# String representing the object's type. Objects of the same type share the same value.
|
1023
985
|
sig { returns(String) }
|
1024
986
|
attr_reader :object
|
@@ -1040,24 +1002,18 @@ module Stripe
|
|
1040
1002
|
# Attribute for field paypal
|
1041
1003
|
sig { returns(Paypal) }
|
1042
1004
|
attr_reader :paypal
|
1043
|
-
# Attribute for field payto
|
1044
|
-
sig { returns(Payto) }
|
1045
|
-
attr_reader :payto
|
1046
1005
|
# Attribute for field promptpay
|
1047
1006
|
sig { returns(Promptpay) }
|
1048
1007
|
attr_reader :promptpay
|
1049
|
-
# Attribute for field qris
|
1050
|
-
sig { returns(Qris) }
|
1051
|
-
attr_reader :qris
|
1052
1008
|
# Attribute for field revolut_pay
|
1053
1009
|
sig { returns(RevolutPay) }
|
1054
1010
|
attr_reader :revolut_pay
|
1011
|
+
# Attribute for field satispay
|
1012
|
+
sig { returns(Satispay) }
|
1013
|
+
attr_reader :satispay
|
1055
1014
|
# Attribute for field sepa_debit
|
1056
1015
|
sig { returns(SepaDebit) }
|
1057
1016
|
attr_reader :sepa_debit
|
1058
|
-
# Attribute for field shopeepay
|
1059
|
-
sig { returns(Shopeepay) }
|
1060
|
-
attr_reader :shopeepay
|
1061
1017
|
# Attribute for field sofort
|
1062
1018
|
sig { returns(Sofort) }
|
1063
1019
|
attr_reader :sofort
|
@@ -1078,22 +1034,22 @@ module Stripe
|
|
1078
1034
|
attr_reader :zip
|
1079
1035
|
class ListParams < Stripe::RequestParams
|
1080
1036
|
# The Connect application to filter by.
|
1081
|
-
sig { returns(T.nilable(String)) }
|
1037
|
+
sig { returns(T.nilable(T.nilable(String))) }
|
1082
1038
|
attr_accessor :application
|
1083
1039
|
# 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.
|
1084
|
-
sig { returns(String) }
|
1040
|
+
sig { returns(T.nilable(String)) }
|
1085
1041
|
attr_accessor :ending_before
|
1086
1042
|
# Specifies which fields in the response should be expanded.
|
1087
|
-
sig { returns(T::Array[String]) }
|
1043
|
+
sig { returns(T.nilable(T::Array[String])) }
|
1088
1044
|
attr_accessor :expand
|
1089
1045
|
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
1090
|
-
sig { returns(Integer) }
|
1046
|
+
sig { returns(T.nilable(Integer)) }
|
1091
1047
|
attr_accessor :limit
|
1092
1048
|
# 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.
|
1093
|
-
sig { returns(String) }
|
1049
|
+
sig { returns(T.nilable(String)) }
|
1094
1050
|
attr_accessor :starting_after
|
1095
1051
|
sig {
|
1096
|
-
params(application: T.nilable(String), ending_before: String, expand: T::Array[String], limit: Integer, starting_after: String).void
|
1052
|
+
params(application: T.nilable(T.nilable(String)), ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
|
1097
1053
|
}
|
1098
1054
|
def initialize(
|
1099
1055
|
application: nil,
|
@@ -1107,1000 +1063,986 @@ module Stripe
|
|
1107
1063
|
class AcssDebit < Stripe::RequestParams
|
1108
1064
|
class DisplayPreference < Stripe::RequestParams
|
1109
1065
|
# The account's preference for whether or not to display this payment method.
|
1110
|
-
sig { returns(String) }
|
1066
|
+
sig { returns(T.nilable(String)) }
|
1111
1067
|
attr_accessor :preference
|
1112
|
-
sig { params(preference: String).void }
|
1068
|
+
sig { params(preference: T.nilable(String)).void }
|
1113
1069
|
def initialize(preference: nil); end
|
1114
1070
|
end
|
1115
1071
|
# Whether or not the payment method should be displayed.
|
1116
1072
|
sig {
|
1117
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit::DisplayPreference)
|
1073
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit::DisplayPreference))
|
1118
1074
|
}
|
1119
1075
|
attr_accessor :display_preference
|
1120
1076
|
sig {
|
1121
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit::DisplayPreference).void
|
1077
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit::DisplayPreference)).void
|
1122
1078
|
}
|
1123
1079
|
def initialize(display_preference: nil); end
|
1124
1080
|
end
|
1125
1081
|
class Affirm < Stripe::RequestParams
|
1126
1082
|
class DisplayPreference < Stripe::RequestParams
|
1127
1083
|
# The account's preference for whether or not to display this payment method.
|
1128
|
-
sig { returns(String) }
|
1084
|
+
sig { returns(T.nilable(String)) }
|
1129
1085
|
attr_accessor :preference
|
1130
|
-
sig { params(preference: String).void }
|
1086
|
+
sig { params(preference: T.nilable(String)).void }
|
1131
1087
|
def initialize(preference: nil); end
|
1132
1088
|
end
|
1133
1089
|
# Whether or not the payment method should be displayed.
|
1134
1090
|
sig {
|
1135
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm::DisplayPreference)
|
1091
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm::DisplayPreference))
|
1136
1092
|
}
|
1137
1093
|
attr_accessor :display_preference
|
1138
1094
|
sig {
|
1139
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Affirm::DisplayPreference).void
|
1095
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm::DisplayPreference)).void
|
1140
1096
|
}
|
1141
1097
|
def initialize(display_preference: nil); end
|
1142
1098
|
end
|
1143
1099
|
class AfterpayClearpay < Stripe::RequestParams
|
1144
1100
|
class DisplayPreference < Stripe::RequestParams
|
1145
1101
|
# The account's preference for whether or not to display this payment method.
|
1146
|
-
sig { returns(String) }
|
1102
|
+
sig { returns(T.nilable(String)) }
|
1147
1103
|
attr_accessor :preference
|
1148
|
-
sig { params(preference: String).void }
|
1104
|
+
sig { params(preference: T.nilable(String)).void }
|
1149
1105
|
def initialize(preference: nil); end
|
1150
1106
|
end
|
1151
1107
|
# Whether or not the payment method should be displayed.
|
1152
1108
|
sig {
|
1153
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay::DisplayPreference)
|
1109
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay::DisplayPreference))
|
1154
1110
|
}
|
1155
1111
|
attr_accessor :display_preference
|
1156
1112
|
sig {
|
1157
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay::DisplayPreference).void
|
1113
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay::DisplayPreference)).void
|
1158
1114
|
}
|
1159
1115
|
def initialize(display_preference: nil); end
|
1160
1116
|
end
|
1161
1117
|
class Alipay < Stripe::RequestParams
|
1162
1118
|
class DisplayPreference < Stripe::RequestParams
|
1163
1119
|
# The account's preference for whether or not to display this payment method.
|
1164
|
-
sig { returns(String) }
|
1120
|
+
sig { returns(T.nilable(String)) }
|
1165
1121
|
attr_accessor :preference
|
1166
|
-
sig { params(preference: String).void }
|
1122
|
+
sig { params(preference: T.nilable(String)).void }
|
1167
1123
|
def initialize(preference: nil); end
|
1168
1124
|
end
|
1169
1125
|
# Whether or not the payment method should be displayed.
|
1170
1126
|
sig {
|
1171
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay::DisplayPreference)
|
1127
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay::DisplayPreference))
|
1172
1128
|
}
|
1173
1129
|
attr_accessor :display_preference
|
1174
1130
|
sig {
|
1175
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Alipay::DisplayPreference).void
|
1131
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay::DisplayPreference)).void
|
1176
1132
|
}
|
1177
1133
|
def initialize(display_preference: nil); end
|
1178
1134
|
end
|
1179
1135
|
class Alma < Stripe::RequestParams
|
1180
1136
|
class DisplayPreference < Stripe::RequestParams
|
1181
1137
|
# The account's preference for whether or not to display this payment method.
|
1182
|
-
sig { returns(String) }
|
1138
|
+
sig { returns(T.nilable(String)) }
|
1183
1139
|
attr_accessor :preference
|
1184
|
-
sig { params(preference: String).void }
|
1140
|
+
sig { params(preference: T.nilable(String)).void }
|
1185
1141
|
def initialize(preference: nil); end
|
1186
1142
|
end
|
1187
1143
|
# Whether or not the payment method should be displayed.
|
1188
|
-
sig {
|
1144
|
+
sig {
|
1145
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma::DisplayPreference))
|
1146
|
+
}
|
1189
1147
|
attr_accessor :display_preference
|
1190
1148
|
sig {
|
1191
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Alma::DisplayPreference).void
|
1149
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma::DisplayPreference)).void
|
1192
1150
|
}
|
1193
1151
|
def initialize(display_preference: nil); end
|
1194
1152
|
end
|
1195
1153
|
class AmazonPay < Stripe::RequestParams
|
1196
1154
|
class DisplayPreference < Stripe::RequestParams
|
1197
1155
|
# The account's preference for whether or not to display this payment method.
|
1198
|
-
sig { returns(String) }
|
1156
|
+
sig { returns(T.nilable(String)) }
|
1199
1157
|
attr_accessor :preference
|
1200
|
-
sig { params(preference: String).void }
|
1158
|
+
sig { params(preference: T.nilable(String)).void }
|
1201
1159
|
def initialize(preference: nil); end
|
1202
1160
|
end
|
1203
1161
|
# Whether or not the payment method should be displayed.
|
1204
1162
|
sig {
|
1205
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay::DisplayPreference)
|
1163
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay::DisplayPreference))
|
1206
1164
|
}
|
1207
1165
|
attr_accessor :display_preference
|
1208
1166
|
sig {
|
1209
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay::DisplayPreference).void
|
1167
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay::DisplayPreference)).void
|
1210
1168
|
}
|
1211
1169
|
def initialize(display_preference: nil); end
|
1212
1170
|
end
|
1213
1171
|
class ApplePay < Stripe::RequestParams
|
1214
1172
|
class DisplayPreference < Stripe::RequestParams
|
1215
1173
|
# The account's preference for whether or not to display this payment method.
|
1216
|
-
sig { returns(String) }
|
1174
|
+
sig { returns(T.nilable(String)) }
|
1217
1175
|
attr_accessor :preference
|
1218
|
-
sig { params(preference: String).void }
|
1176
|
+
sig { params(preference: T.nilable(String)).void }
|
1219
1177
|
def initialize(preference: nil); end
|
1220
1178
|
end
|
1221
1179
|
# Whether or not the payment method should be displayed.
|
1222
1180
|
sig {
|
1223
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay::DisplayPreference)
|
1181
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay::DisplayPreference))
|
1224
1182
|
}
|
1225
1183
|
attr_accessor :display_preference
|
1226
1184
|
sig {
|
1227
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay::DisplayPreference).void
|
1185
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay::DisplayPreference)).void
|
1228
1186
|
}
|
1229
1187
|
def initialize(display_preference: nil); end
|
1230
1188
|
end
|
1231
1189
|
class ApplePayLater < Stripe::RequestParams
|
1232
1190
|
class DisplayPreference < Stripe::RequestParams
|
1233
1191
|
# The account's preference for whether or not to display this payment method.
|
1234
|
-
sig { returns(String) }
|
1192
|
+
sig { returns(T.nilable(String)) }
|
1235
1193
|
attr_accessor :preference
|
1236
|
-
sig { params(preference: String).void }
|
1194
|
+
sig { params(preference: T.nilable(String)).void }
|
1237
1195
|
def initialize(preference: nil); end
|
1238
1196
|
end
|
1239
1197
|
# Whether or not the payment method should be displayed.
|
1240
1198
|
sig {
|
1241
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater::DisplayPreference)
|
1199
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater::DisplayPreference))
|
1242
1200
|
}
|
1243
1201
|
attr_accessor :display_preference
|
1244
1202
|
sig {
|
1245
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater::DisplayPreference).void
|
1203
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater::DisplayPreference)).void
|
1246
1204
|
}
|
1247
1205
|
def initialize(display_preference: nil); end
|
1248
1206
|
end
|
1249
1207
|
class AuBecsDebit < Stripe::RequestParams
|
1250
1208
|
class DisplayPreference < Stripe::RequestParams
|
1251
1209
|
# The account's preference for whether or not to display this payment method.
|
1252
|
-
sig { returns(String) }
|
1210
|
+
sig { returns(T.nilable(String)) }
|
1253
1211
|
attr_accessor :preference
|
1254
|
-
sig { params(preference: String).void }
|
1212
|
+
sig { params(preference: T.nilable(String)).void }
|
1255
1213
|
def initialize(preference: nil); end
|
1256
1214
|
end
|
1257
1215
|
# Whether or not the payment method should be displayed.
|
1258
1216
|
sig {
|
1259
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit::DisplayPreference)
|
1217
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit::DisplayPreference))
|
1260
1218
|
}
|
1261
1219
|
attr_accessor :display_preference
|
1262
1220
|
sig {
|
1263
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit::DisplayPreference).void
|
1221
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit::DisplayPreference)).void
|
1264
1222
|
}
|
1265
1223
|
def initialize(display_preference: nil); end
|
1266
1224
|
end
|
1267
1225
|
class BacsDebit < Stripe::RequestParams
|
1268
1226
|
class DisplayPreference < Stripe::RequestParams
|
1269
1227
|
# The account's preference for whether or not to display this payment method.
|
1270
|
-
sig { returns(String) }
|
1228
|
+
sig { returns(T.nilable(String)) }
|
1271
1229
|
attr_accessor :preference
|
1272
|
-
sig { params(preference: String).void }
|
1230
|
+
sig { params(preference: T.nilable(String)).void }
|
1273
1231
|
def initialize(preference: nil); end
|
1274
1232
|
end
|
1275
1233
|
# Whether or not the payment method should be displayed.
|
1276
1234
|
sig {
|
1277
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit::DisplayPreference)
|
1235
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit::DisplayPreference))
|
1278
1236
|
}
|
1279
1237
|
attr_accessor :display_preference
|
1280
1238
|
sig {
|
1281
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit::DisplayPreference).void
|
1239
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit::DisplayPreference)).void
|
1282
1240
|
}
|
1283
1241
|
def initialize(display_preference: nil); end
|
1284
1242
|
end
|
1285
1243
|
class Bancontact < Stripe::RequestParams
|
1286
1244
|
class DisplayPreference < Stripe::RequestParams
|
1287
1245
|
# The account's preference for whether or not to display this payment method.
|
1288
|
-
sig { returns(String) }
|
1246
|
+
sig { returns(T.nilable(String)) }
|
1289
1247
|
attr_accessor :preference
|
1290
|
-
sig { params(preference: String).void }
|
1248
|
+
sig { params(preference: T.nilable(String)).void }
|
1291
1249
|
def initialize(preference: nil); end
|
1292
1250
|
end
|
1293
1251
|
# Whether or not the payment method should be displayed.
|
1294
1252
|
sig {
|
1295
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact::DisplayPreference)
|
1253
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact::DisplayPreference))
|
1296
1254
|
}
|
1297
1255
|
attr_accessor :display_preference
|
1298
1256
|
sig {
|
1299
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact::DisplayPreference).void
|
1257
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact::DisplayPreference)).void
|
1300
1258
|
}
|
1301
1259
|
def initialize(display_preference: nil); end
|
1302
1260
|
end
|
1303
|
-
class
|
1261
|
+
class Billie < Stripe::RequestParams
|
1304
1262
|
class DisplayPreference < Stripe::RequestParams
|
1305
1263
|
# The account's preference for whether or not to display this payment method.
|
1306
|
-
sig { returns(String) }
|
1264
|
+
sig { returns(T.nilable(String)) }
|
1307
1265
|
attr_accessor :preference
|
1308
|
-
sig { params(preference: String).void }
|
1266
|
+
sig { params(preference: T.nilable(String)).void }
|
1309
1267
|
def initialize(preference: nil); end
|
1310
1268
|
end
|
1311
1269
|
# Whether or not the payment method should be displayed.
|
1312
|
-
sig {
|
1270
|
+
sig {
|
1271
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie::DisplayPreference))
|
1272
|
+
}
|
1313
1273
|
attr_accessor :display_preference
|
1314
1274
|
sig {
|
1315
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1275
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie::DisplayPreference)).void
|
1316
1276
|
}
|
1317
1277
|
def initialize(display_preference: nil); end
|
1318
1278
|
end
|
1319
|
-
class
|
1279
|
+
class Blik < Stripe::RequestParams
|
1320
1280
|
class DisplayPreference < Stripe::RequestParams
|
1321
1281
|
# The account's preference for whether or not to display this payment method.
|
1322
|
-
sig { returns(String) }
|
1282
|
+
sig { returns(T.nilable(String)) }
|
1323
1283
|
attr_accessor :preference
|
1324
|
-
sig { params(preference: String).void }
|
1284
|
+
sig { params(preference: T.nilable(String)).void }
|
1325
1285
|
def initialize(preference: nil); end
|
1326
1286
|
end
|
1327
1287
|
# Whether or not the payment method should be displayed.
|
1328
1288
|
sig {
|
1329
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1289
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik::DisplayPreference))
|
1330
1290
|
}
|
1331
1291
|
attr_accessor :display_preference
|
1332
1292
|
sig {
|
1333
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1293
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik::DisplayPreference)).void
|
1334
1294
|
}
|
1335
1295
|
def initialize(display_preference: nil); end
|
1336
1296
|
end
|
1337
|
-
class
|
1297
|
+
class Boleto < Stripe::RequestParams
|
1338
1298
|
class DisplayPreference < Stripe::RequestParams
|
1339
1299
|
# The account's preference for whether or not to display this payment method.
|
1340
|
-
sig { returns(String) }
|
1300
|
+
sig { returns(T.nilable(String)) }
|
1341
1301
|
attr_accessor :preference
|
1342
|
-
sig { params(preference: String).void }
|
1302
|
+
sig { params(preference: T.nilable(String)).void }
|
1343
1303
|
def initialize(preference: nil); end
|
1344
1304
|
end
|
1345
1305
|
# Whether or not the payment method should be displayed.
|
1346
|
-
sig {
|
1306
|
+
sig {
|
1307
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto::DisplayPreference))
|
1308
|
+
}
|
1347
1309
|
attr_accessor :display_preference
|
1348
1310
|
sig {
|
1349
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1311
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto::DisplayPreference)).void
|
1350
1312
|
}
|
1351
1313
|
def initialize(display_preference: nil); end
|
1352
1314
|
end
|
1353
|
-
class
|
1315
|
+
class Card < Stripe::RequestParams
|
1354
1316
|
class DisplayPreference < Stripe::RequestParams
|
1355
1317
|
# The account's preference for whether or not to display this payment method.
|
1356
|
-
sig { returns(String) }
|
1318
|
+
sig { returns(T.nilable(String)) }
|
1357
1319
|
attr_accessor :preference
|
1358
|
-
sig { params(preference: String).void }
|
1320
|
+
sig { params(preference: T.nilable(String)).void }
|
1359
1321
|
def initialize(preference: nil); end
|
1360
1322
|
end
|
1361
1323
|
# Whether or not the payment method should be displayed.
|
1362
1324
|
sig {
|
1363
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1325
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card::DisplayPreference))
|
1364
1326
|
}
|
1365
1327
|
attr_accessor :display_preference
|
1366
1328
|
sig {
|
1367
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1329
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card::DisplayPreference)).void
|
1368
1330
|
}
|
1369
1331
|
def initialize(display_preference: nil); end
|
1370
1332
|
end
|
1371
|
-
class
|
1333
|
+
class CartesBancaires < Stripe::RequestParams
|
1372
1334
|
class DisplayPreference < Stripe::RequestParams
|
1373
1335
|
# The account's preference for whether or not to display this payment method.
|
1374
|
-
sig { returns(String) }
|
1336
|
+
sig { returns(T.nilable(String)) }
|
1375
1337
|
attr_accessor :preference
|
1376
|
-
sig { params(preference: String).void }
|
1338
|
+
sig { params(preference: T.nilable(String)).void }
|
1377
1339
|
def initialize(preference: nil); end
|
1378
1340
|
end
|
1379
1341
|
# Whether or not the payment method should be displayed.
|
1380
1342
|
sig {
|
1381
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1343
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires::DisplayPreference))
|
1382
1344
|
}
|
1383
1345
|
attr_accessor :display_preference
|
1384
1346
|
sig {
|
1385
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1347
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires::DisplayPreference)).void
|
1386
1348
|
}
|
1387
1349
|
def initialize(display_preference: nil); end
|
1388
1350
|
end
|
1389
|
-
class
|
1351
|
+
class Cashapp < Stripe::RequestParams
|
1390
1352
|
class DisplayPreference < Stripe::RequestParams
|
1391
1353
|
# The account's preference for whether or not to display this payment method.
|
1392
|
-
sig { returns(String) }
|
1354
|
+
sig { returns(T.nilable(String)) }
|
1393
1355
|
attr_accessor :preference
|
1394
|
-
sig { params(preference: String).void }
|
1356
|
+
sig { params(preference: T.nilable(String)).void }
|
1395
1357
|
def initialize(preference: nil); end
|
1396
1358
|
end
|
1397
1359
|
# Whether or not the payment method should be displayed.
|
1398
1360
|
sig {
|
1399
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1361
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp::DisplayPreference))
|
1400
1362
|
}
|
1401
1363
|
attr_accessor :display_preference
|
1402
1364
|
sig {
|
1403
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1365
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp::DisplayPreference)).void
|
1404
1366
|
}
|
1405
1367
|
def initialize(display_preference: nil); end
|
1406
1368
|
end
|
1407
|
-
class
|
1369
|
+
class CustomerBalance < Stripe::RequestParams
|
1408
1370
|
class DisplayPreference < Stripe::RequestParams
|
1409
1371
|
# The account's preference for whether or not to display this payment method.
|
1410
|
-
sig { returns(String) }
|
1372
|
+
sig { returns(T.nilable(String)) }
|
1411
1373
|
attr_accessor :preference
|
1412
|
-
sig { params(preference: String).void }
|
1374
|
+
sig { params(preference: T.nilable(String)).void }
|
1413
1375
|
def initialize(preference: nil); end
|
1414
1376
|
end
|
1415
1377
|
# Whether or not the payment method should be displayed.
|
1416
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Eps::DisplayPreference) }
|
1417
|
-
attr_accessor :display_preference
|
1418
1378
|
sig {
|
1419
|
-
|
1379
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance::DisplayPreference))
|
1420
1380
|
}
|
1421
|
-
def initialize(display_preference: nil); end
|
1422
|
-
end
|
1423
|
-
class Fpx < Stripe::RequestParams
|
1424
|
-
class DisplayPreference < Stripe::RequestParams
|
1425
|
-
# The account's preference for whether or not to display this payment method.
|
1426
|
-
sig { returns(String) }
|
1427
|
-
attr_accessor :preference
|
1428
|
-
sig { params(preference: String).void }
|
1429
|
-
def initialize(preference: nil); end
|
1430
|
-
end
|
1431
|
-
# Whether or not the payment method should be displayed.
|
1432
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx::DisplayPreference) }
|
1433
1381
|
attr_accessor :display_preference
|
1434
1382
|
sig {
|
1435
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1383
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance::DisplayPreference)).void
|
1436
1384
|
}
|
1437
1385
|
def initialize(display_preference: nil); end
|
1438
1386
|
end
|
1439
|
-
class
|
1387
|
+
class Eps < Stripe::RequestParams
|
1440
1388
|
class DisplayPreference < Stripe::RequestParams
|
1441
1389
|
# The account's preference for whether or not to display this payment method.
|
1442
|
-
sig { returns(String) }
|
1390
|
+
sig { returns(T.nilable(String)) }
|
1443
1391
|
attr_accessor :preference
|
1444
|
-
sig { params(preference: String).void }
|
1392
|
+
sig { params(preference: T.nilable(String)).void }
|
1445
1393
|
def initialize(preference: nil); end
|
1446
1394
|
end
|
1447
1395
|
# Whether or not the payment method should be displayed.
|
1448
1396
|
sig {
|
1449
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1397
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps::DisplayPreference))
|
1450
1398
|
}
|
1451
1399
|
attr_accessor :display_preference
|
1452
1400
|
sig {
|
1453
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1401
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps::DisplayPreference)).void
|
1454
1402
|
}
|
1455
1403
|
def initialize(display_preference: nil); end
|
1456
1404
|
end
|
1457
|
-
class
|
1405
|
+
class Fpx < Stripe::RequestParams
|
1458
1406
|
class DisplayPreference < Stripe::RequestParams
|
1459
1407
|
# The account's preference for whether or not to display this payment method.
|
1460
|
-
sig { returns(String) }
|
1408
|
+
sig { returns(T.nilable(String)) }
|
1461
1409
|
attr_accessor :preference
|
1462
|
-
sig { params(preference: String).void }
|
1410
|
+
sig { params(preference: T.nilable(String)).void }
|
1463
1411
|
def initialize(preference: nil); end
|
1464
1412
|
end
|
1465
1413
|
# Whether or not the payment method should be displayed.
|
1466
1414
|
sig {
|
1467
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1415
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx::DisplayPreference))
|
1468
1416
|
}
|
1469
1417
|
attr_accessor :display_preference
|
1470
1418
|
sig {
|
1471
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1419
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx::DisplayPreference)).void
|
1472
1420
|
}
|
1473
1421
|
def initialize(display_preference: nil); end
|
1474
1422
|
end
|
1475
|
-
class
|
1423
|
+
class Giropay < Stripe::RequestParams
|
1476
1424
|
class DisplayPreference < Stripe::RequestParams
|
1477
1425
|
# The account's preference for whether or not to display this payment method.
|
1478
|
-
sig { returns(String) }
|
1426
|
+
sig { returns(T.nilable(String)) }
|
1479
1427
|
attr_accessor :preference
|
1480
|
-
sig { params(preference: String).void }
|
1428
|
+
sig { params(preference: T.nilable(String)).void }
|
1481
1429
|
def initialize(preference: nil); end
|
1482
1430
|
end
|
1483
1431
|
# Whether or not the payment method should be displayed.
|
1484
1432
|
sig {
|
1485
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1433
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay::DisplayPreference))
|
1486
1434
|
}
|
1487
1435
|
attr_accessor :display_preference
|
1488
1436
|
sig {
|
1489
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1437
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay::DisplayPreference)).void
|
1490
1438
|
}
|
1491
1439
|
def initialize(display_preference: nil); end
|
1492
1440
|
end
|
1493
|
-
class
|
1441
|
+
class GooglePay < Stripe::RequestParams
|
1494
1442
|
class DisplayPreference < Stripe::RequestParams
|
1495
1443
|
# The account's preference for whether or not to display this payment method.
|
1496
|
-
sig { returns(String) }
|
1444
|
+
sig { returns(T.nilable(String)) }
|
1497
1445
|
attr_accessor :preference
|
1498
|
-
sig { params(preference: String).void }
|
1446
|
+
sig { params(preference: T.nilable(String)).void }
|
1499
1447
|
def initialize(preference: nil); end
|
1500
1448
|
end
|
1501
1449
|
# Whether or not the payment method should be displayed.
|
1502
1450
|
sig {
|
1503
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1451
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay::DisplayPreference))
|
1504
1452
|
}
|
1505
1453
|
attr_accessor :display_preference
|
1506
1454
|
sig {
|
1507
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1455
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay::DisplayPreference)).void
|
1508
1456
|
}
|
1509
1457
|
def initialize(display_preference: nil); end
|
1510
1458
|
end
|
1511
|
-
class
|
1459
|
+
class Grabpay < Stripe::RequestParams
|
1512
1460
|
class DisplayPreference < Stripe::RequestParams
|
1513
1461
|
# The account's preference for whether or not to display this payment method.
|
1514
|
-
sig { returns(String) }
|
1462
|
+
sig { returns(T.nilable(String)) }
|
1515
1463
|
attr_accessor :preference
|
1516
|
-
sig { params(preference: String).void }
|
1464
|
+
sig { params(preference: T.nilable(String)).void }
|
1517
1465
|
def initialize(preference: nil); end
|
1518
1466
|
end
|
1519
1467
|
# Whether or not the payment method should be displayed.
|
1520
1468
|
sig {
|
1521
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1469
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay::DisplayPreference))
|
1522
1470
|
}
|
1523
1471
|
attr_accessor :display_preference
|
1524
1472
|
sig {
|
1525
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1473
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay::DisplayPreference)).void
|
1526
1474
|
}
|
1527
1475
|
def initialize(display_preference: nil); end
|
1528
1476
|
end
|
1529
1477
|
class Ideal < Stripe::RequestParams
|
1530
1478
|
class DisplayPreference < Stripe::RequestParams
|
1531
1479
|
# The account's preference for whether or not to display this payment method.
|
1532
|
-
sig { returns(String) }
|
1480
|
+
sig { returns(T.nilable(String)) }
|
1533
1481
|
attr_accessor :preference
|
1534
|
-
sig { params(preference: String).void }
|
1482
|
+
sig { params(preference: T.nilable(String)).void }
|
1535
1483
|
def initialize(preference: nil); end
|
1536
1484
|
end
|
1537
1485
|
# Whether or not the payment method should be displayed.
|
1538
1486
|
sig {
|
1539
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal::DisplayPreference)
|
1487
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal::DisplayPreference))
|
1540
1488
|
}
|
1541
1489
|
attr_accessor :display_preference
|
1542
1490
|
sig {
|
1543
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Ideal::DisplayPreference).void
|
1491
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal::DisplayPreference)).void
|
1544
1492
|
}
|
1545
1493
|
def initialize(display_preference: nil); end
|
1546
1494
|
end
|
1547
1495
|
class Jcb < Stripe::RequestParams
|
1548
1496
|
class DisplayPreference < Stripe::RequestParams
|
1549
1497
|
# The account's preference for whether or not to display this payment method.
|
1550
|
-
sig { returns(String) }
|
1498
|
+
sig { returns(T.nilable(String)) }
|
1551
1499
|
attr_accessor :preference
|
1552
|
-
sig { params(preference: String).void }
|
1500
|
+
sig { params(preference: T.nilable(String)).void }
|
1553
1501
|
def initialize(preference: nil); end
|
1554
1502
|
end
|
1555
1503
|
# Whether or not the payment method should be displayed.
|
1556
|
-
sig {
|
1504
|
+
sig {
|
1505
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb::DisplayPreference))
|
1506
|
+
}
|
1557
1507
|
attr_accessor :display_preference
|
1558
1508
|
sig {
|
1559
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Jcb::DisplayPreference).void
|
1509
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb::DisplayPreference)).void
|
1560
1510
|
}
|
1561
1511
|
def initialize(display_preference: nil); end
|
1562
1512
|
end
|
1563
1513
|
class Klarna < Stripe::RequestParams
|
1564
1514
|
class DisplayPreference < Stripe::RequestParams
|
1565
1515
|
# The account's preference for whether or not to display this payment method.
|
1566
|
-
sig { returns(String) }
|
1516
|
+
sig { returns(T.nilable(String)) }
|
1567
1517
|
attr_accessor :preference
|
1568
|
-
sig { params(preference: String).void }
|
1518
|
+
sig { params(preference: T.nilable(String)).void }
|
1569
1519
|
def initialize(preference: nil); end
|
1570
1520
|
end
|
1571
1521
|
# Whether or not the payment method should be displayed.
|
1572
1522
|
sig {
|
1573
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna::DisplayPreference)
|
1523
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna::DisplayPreference))
|
1574
1524
|
}
|
1575
1525
|
attr_accessor :display_preference
|
1576
1526
|
sig {
|
1577
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Klarna::DisplayPreference).void
|
1527
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna::DisplayPreference)).void
|
1578
1528
|
}
|
1579
1529
|
def initialize(display_preference: nil); end
|
1580
1530
|
end
|
1581
1531
|
class Konbini < Stripe::RequestParams
|
1582
1532
|
class DisplayPreference < Stripe::RequestParams
|
1583
1533
|
# The account's preference for whether or not to display this payment method.
|
1584
|
-
sig { returns(String) }
|
1534
|
+
sig { returns(T.nilable(String)) }
|
1585
1535
|
attr_accessor :preference
|
1586
|
-
sig { params(preference: String).void }
|
1536
|
+
sig { params(preference: T.nilable(String)).void }
|
1587
1537
|
def initialize(preference: nil); end
|
1588
1538
|
end
|
1589
1539
|
# Whether or not the payment method should be displayed.
|
1590
1540
|
sig {
|
1591
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini::DisplayPreference)
|
1541
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini::DisplayPreference))
|
1592
1542
|
}
|
1593
1543
|
attr_accessor :display_preference
|
1594
1544
|
sig {
|
1595
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Konbini::DisplayPreference).void
|
1545
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini::DisplayPreference)).void
|
1596
1546
|
}
|
1597
1547
|
def initialize(display_preference: nil); end
|
1598
1548
|
end
|
1599
1549
|
class Link < Stripe::RequestParams
|
1600
1550
|
class DisplayPreference < Stripe::RequestParams
|
1601
1551
|
# The account's preference for whether or not to display this payment method.
|
1602
|
-
sig { returns(String) }
|
1552
|
+
sig { returns(T.nilable(String)) }
|
1603
1553
|
attr_accessor :preference
|
1604
|
-
sig { params(preference: String).void }
|
1554
|
+
sig { params(preference: T.nilable(String)).void }
|
1605
1555
|
def initialize(preference: nil); end
|
1606
1556
|
end
|
1607
1557
|
# Whether or not the payment method should be displayed.
|
1608
|
-
sig {
|
1558
|
+
sig {
|
1559
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link::DisplayPreference))
|
1560
|
+
}
|
1609
1561
|
attr_accessor :display_preference
|
1610
1562
|
sig {
|
1611
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Link::DisplayPreference).void
|
1563
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link::DisplayPreference)).void
|
1612
1564
|
}
|
1613
1565
|
def initialize(display_preference: nil); end
|
1614
1566
|
end
|
1615
1567
|
class Mobilepay < Stripe::RequestParams
|
1616
1568
|
class DisplayPreference < Stripe::RequestParams
|
1617
1569
|
# The account's preference for whether or not to display this payment method.
|
1618
|
-
sig { returns(String) }
|
1570
|
+
sig { returns(T.nilable(String)) }
|
1619
1571
|
attr_accessor :preference
|
1620
|
-
sig { params(preference: String).void }
|
1572
|
+
sig { params(preference: T.nilable(String)).void }
|
1621
1573
|
def initialize(preference: nil); end
|
1622
1574
|
end
|
1623
1575
|
# Whether or not the payment method should be displayed.
|
1624
1576
|
sig {
|
1625
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay::DisplayPreference)
|
1577
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay::DisplayPreference))
|
1626
1578
|
}
|
1627
1579
|
attr_accessor :display_preference
|
1628
1580
|
sig {
|
1629
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay::DisplayPreference).void
|
1581
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay::DisplayPreference)).void
|
1630
1582
|
}
|
1631
1583
|
def initialize(display_preference: nil); end
|
1632
1584
|
end
|
1633
1585
|
class Multibanco < Stripe::RequestParams
|
1634
1586
|
class DisplayPreference < Stripe::RequestParams
|
1635
1587
|
# The account's preference for whether or not to display this payment method.
|
1636
|
-
sig { returns(String) }
|
1588
|
+
sig { returns(T.nilable(String)) }
|
1637
1589
|
attr_accessor :preference
|
1638
|
-
sig { params(preference: String).void }
|
1590
|
+
sig { params(preference: T.nilable(String)).void }
|
1639
1591
|
def initialize(preference: nil); end
|
1640
1592
|
end
|
1641
1593
|
# Whether or not the payment method should be displayed.
|
1642
1594
|
sig {
|
1643
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco::DisplayPreference)
|
1595
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco::DisplayPreference))
|
1644
1596
|
}
|
1645
1597
|
attr_accessor :display_preference
|
1646
1598
|
sig {
|
1647
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco::DisplayPreference).void
|
1599
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco::DisplayPreference)).void
|
1648
1600
|
}
|
1649
1601
|
def initialize(display_preference: nil); end
|
1650
1602
|
end
|
1651
|
-
class
|
1603
|
+
class NzBankAccount < Stripe::RequestParams
|
1652
1604
|
class DisplayPreference < Stripe::RequestParams
|
1653
1605
|
# The account's preference for whether or not to display this payment method.
|
1654
|
-
sig { returns(String) }
|
1606
|
+
sig { returns(T.nilable(String)) }
|
1655
1607
|
attr_accessor :preference
|
1656
|
-
sig { params(preference: String).void }
|
1608
|
+
sig { params(preference: T.nilable(String)).void }
|
1657
1609
|
def initialize(preference: nil); end
|
1658
1610
|
end
|
1659
1611
|
# Whether or not the payment method should be displayed.
|
1660
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo::DisplayPreference) }
|
1661
|
-
attr_accessor :display_preference
|
1662
1612
|
sig {
|
1663
|
-
|
1613
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount::DisplayPreference))
|
1664
1614
|
}
|
1665
|
-
def initialize(display_preference: nil); end
|
1666
|
-
end
|
1667
|
-
class P24 < Stripe::RequestParams
|
1668
|
-
class DisplayPreference < Stripe::RequestParams
|
1669
|
-
# The account's preference for whether or not to display this payment method.
|
1670
|
-
sig { returns(String) }
|
1671
|
-
attr_accessor :preference
|
1672
|
-
sig { params(preference: String).void }
|
1673
|
-
def initialize(preference: nil); end
|
1674
|
-
end
|
1675
|
-
# Whether or not the payment method should be displayed.
|
1676
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::P24::DisplayPreference) }
|
1677
1615
|
attr_accessor :display_preference
|
1678
1616
|
sig {
|
1679
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1617
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount::DisplayPreference)).void
|
1680
1618
|
}
|
1681
1619
|
def initialize(display_preference: nil); end
|
1682
1620
|
end
|
1683
|
-
class
|
1621
|
+
class Oxxo < Stripe::RequestParams
|
1684
1622
|
class DisplayPreference < Stripe::RequestParams
|
1685
1623
|
# The account's preference for whether or not to display this payment method.
|
1686
|
-
sig { returns(String) }
|
1624
|
+
sig { returns(T.nilable(String)) }
|
1687
1625
|
attr_accessor :preference
|
1688
|
-
sig { params(preference: String).void }
|
1626
|
+
sig { params(preference: T.nilable(String)).void }
|
1689
1627
|
def initialize(preference: nil); end
|
1690
1628
|
end
|
1691
1629
|
# Whether or not the payment method should be displayed.
|
1692
1630
|
sig {
|
1693
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1631
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo::DisplayPreference))
|
1694
1632
|
}
|
1695
1633
|
attr_accessor :display_preference
|
1696
1634
|
sig {
|
1697
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1635
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo::DisplayPreference)).void
|
1698
1636
|
}
|
1699
1637
|
def initialize(display_preference: nil); end
|
1700
1638
|
end
|
1701
|
-
class
|
1639
|
+
class P24 < Stripe::RequestParams
|
1702
1640
|
class DisplayPreference < Stripe::RequestParams
|
1703
1641
|
# The account's preference for whether or not to display this payment method.
|
1704
|
-
sig { returns(String) }
|
1642
|
+
sig { returns(T.nilable(String)) }
|
1705
1643
|
attr_accessor :preference
|
1706
|
-
sig { params(preference: String).void }
|
1644
|
+
sig { params(preference: T.nilable(String)).void }
|
1707
1645
|
def initialize(preference: nil); end
|
1708
1646
|
end
|
1709
1647
|
# Whether or not the payment method should be displayed.
|
1710
1648
|
sig {
|
1711
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1649
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24::DisplayPreference))
|
1712
1650
|
}
|
1713
1651
|
attr_accessor :display_preference
|
1714
1652
|
sig {
|
1715
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1653
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24::DisplayPreference)).void
|
1716
1654
|
}
|
1717
1655
|
def initialize(display_preference: nil); end
|
1718
1656
|
end
|
1719
|
-
class
|
1657
|
+
class PayByBank < Stripe::RequestParams
|
1720
1658
|
class DisplayPreference < Stripe::RequestParams
|
1721
1659
|
# The account's preference for whether or not to display this payment method.
|
1722
|
-
sig { returns(String) }
|
1660
|
+
sig { returns(T.nilable(String)) }
|
1723
1661
|
attr_accessor :preference
|
1724
|
-
sig { params(preference: String).void }
|
1662
|
+
sig { params(preference: T.nilable(String)).void }
|
1725
1663
|
def initialize(preference: nil); end
|
1726
1664
|
end
|
1727
1665
|
# Whether or not the payment method should be displayed.
|
1728
1666
|
sig {
|
1729
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1667
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank::DisplayPreference))
|
1730
1668
|
}
|
1731
1669
|
attr_accessor :display_preference
|
1732
1670
|
sig {
|
1733
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1671
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank::DisplayPreference)).void
|
1734
1672
|
}
|
1735
1673
|
def initialize(display_preference: nil); end
|
1736
1674
|
end
|
1737
|
-
class
|
1675
|
+
class Paynow < Stripe::RequestParams
|
1738
1676
|
class DisplayPreference < Stripe::RequestParams
|
1739
1677
|
# The account's preference for whether or not to display this payment method.
|
1740
|
-
sig { returns(String) }
|
1678
|
+
sig { returns(T.nilable(String)) }
|
1741
1679
|
attr_accessor :preference
|
1742
|
-
sig { params(preference: String).void }
|
1680
|
+
sig { params(preference: T.nilable(String)).void }
|
1743
1681
|
def initialize(preference: nil); end
|
1744
1682
|
end
|
1745
1683
|
# Whether or not the payment method should be displayed.
|
1746
1684
|
sig {
|
1747
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1685
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow::DisplayPreference))
|
1748
1686
|
}
|
1749
1687
|
attr_accessor :display_preference
|
1750
1688
|
sig {
|
1751
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1689
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow::DisplayPreference)).void
|
1752
1690
|
}
|
1753
1691
|
def initialize(display_preference: nil); end
|
1754
1692
|
end
|
1755
|
-
class
|
1693
|
+
class Paypal < Stripe::RequestParams
|
1756
1694
|
class DisplayPreference < Stripe::RequestParams
|
1757
1695
|
# The account's preference for whether or not to display this payment method.
|
1758
|
-
sig { returns(String) }
|
1696
|
+
sig { returns(T.nilable(String)) }
|
1759
1697
|
attr_accessor :preference
|
1760
|
-
sig { params(preference: String).void }
|
1698
|
+
sig { params(preference: T.nilable(String)).void }
|
1761
1699
|
def initialize(preference: nil); end
|
1762
1700
|
end
|
1763
1701
|
# Whether or not the payment method should be displayed.
|
1764
1702
|
sig {
|
1765
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1703
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal::DisplayPreference))
|
1766
1704
|
}
|
1767
1705
|
attr_accessor :display_preference
|
1768
1706
|
sig {
|
1769
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1707
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal::DisplayPreference)).void
|
1770
1708
|
}
|
1771
1709
|
def initialize(display_preference: nil); end
|
1772
1710
|
end
|
1773
|
-
class
|
1711
|
+
class Promptpay < Stripe::RequestParams
|
1774
1712
|
class DisplayPreference < Stripe::RequestParams
|
1775
1713
|
# The account's preference for whether or not to display this payment method.
|
1776
|
-
sig { returns(String) }
|
1714
|
+
sig { returns(T.nilable(String)) }
|
1777
1715
|
attr_accessor :preference
|
1778
|
-
sig { params(preference: String).void }
|
1716
|
+
sig { params(preference: T.nilable(String)).void }
|
1779
1717
|
def initialize(preference: nil); end
|
1780
1718
|
end
|
1781
1719
|
# Whether or not the payment method should be displayed.
|
1782
|
-
sig {
|
1720
|
+
sig {
|
1721
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay::DisplayPreference))
|
1722
|
+
}
|
1783
1723
|
attr_accessor :display_preference
|
1784
1724
|
sig {
|
1785
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1725
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay::DisplayPreference)).void
|
1786
1726
|
}
|
1787
1727
|
def initialize(display_preference: nil); end
|
1788
1728
|
end
|
1789
1729
|
class RevolutPay < Stripe::RequestParams
|
1790
1730
|
class DisplayPreference < Stripe::RequestParams
|
1791
1731
|
# The account's preference for whether or not to display this payment method.
|
1792
|
-
sig { returns(String) }
|
1732
|
+
sig { returns(T.nilable(String)) }
|
1793
1733
|
attr_accessor :preference
|
1794
|
-
sig { params(preference: String).void }
|
1734
|
+
sig { params(preference: T.nilable(String)).void }
|
1795
1735
|
def initialize(preference: nil); end
|
1796
1736
|
end
|
1797
1737
|
# Whether or not the payment method should be displayed.
|
1798
1738
|
sig {
|
1799
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay::DisplayPreference)
|
1739
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay::DisplayPreference))
|
1800
1740
|
}
|
1801
1741
|
attr_accessor :display_preference
|
1802
1742
|
sig {
|
1803
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay::DisplayPreference).void
|
1743
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay::DisplayPreference)).void
|
1804
1744
|
}
|
1805
1745
|
def initialize(display_preference: nil); end
|
1806
1746
|
end
|
1807
|
-
class
|
1747
|
+
class Satispay < Stripe::RequestParams
|
1808
1748
|
class DisplayPreference < Stripe::RequestParams
|
1809
1749
|
# The account's preference for whether or not to display this payment method.
|
1810
|
-
sig { returns(String) }
|
1750
|
+
sig { returns(T.nilable(String)) }
|
1811
1751
|
attr_accessor :preference
|
1812
|
-
sig { params(preference: String).void }
|
1752
|
+
sig { params(preference: T.nilable(String)).void }
|
1813
1753
|
def initialize(preference: nil); end
|
1814
1754
|
end
|
1815
1755
|
# Whether or not the payment method should be displayed.
|
1816
1756
|
sig {
|
1817
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1757
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay::DisplayPreference))
|
1818
1758
|
}
|
1819
1759
|
attr_accessor :display_preference
|
1820
1760
|
sig {
|
1821
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1761
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay::DisplayPreference)).void
|
1822
1762
|
}
|
1823
1763
|
def initialize(display_preference: nil); end
|
1824
1764
|
end
|
1825
|
-
class
|
1765
|
+
class SepaDebit < Stripe::RequestParams
|
1826
1766
|
class DisplayPreference < Stripe::RequestParams
|
1827
1767
|
# The account's preference for whether or not to display this payment method.
|
1828
|
-
sig { returns(String) }
|
1768
|
+
sig { returns(T.nilable(String)) }
|
1829
1769
|
attr_accessor :preference
|
1830
|
-
sig { params(preference: String).void }
|
1770
|
+
sig { params(preference: T.nilable(String)).void }
|
1831
1771
|
def initialize(preference: nil); end
|
1832
1772
|
end
|
1833
1773
|
# Whether or not the payment method should be displayed.
|
1834
1774
|
sig {
|
1835
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::
|
1775
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit::DisplayPreference))
|
1836
1776
|
}
|
1837
1777
|
attr_accessor :display_preference
|
1838
1778
|
sig {
|
1839
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::
|
1779
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit::DisplayPreference)).void
|
1840
1780
|
}
|
1841
1781
|
def initialize(display_preference: nil); end
|
1842
1782
|
end
|
1843
1783
|
class Sofort < Stripe::RequestParams
|
1844
1784
|
class DisplayPreference < Stripe::RequestParams
|
1845
1785
|
# The account's preference for whether or not to display this payment method.
|
1846
|
-
sig { returns(String) }
|
1786
|
+
sig { returns(T.nilable(String)) }
|
1847
1787
|
attr_accessor :preference
|
1848
|
-
sig { params(preference: String).void }
|
1788
|
+
sig { params(preference: T.nilable(String)).void }
|
1849
1789
|
def initialize(preference: nil); end
|
1850
1790
|
end
|
1851
1791
|
# Whether or not the payment method should be displayed.
|
1852
1792
|
sig {
|
1853
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort::DisplayPreference)
|
1793
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort::DisplayPreference))
|
1854
1794
|
}
|
1855
1795
|
attr_accessor :display_preference
|
1856
1796
|
sig {
|
1857
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Sofort::DisplayPreference).void
|
1797
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort::DisplayPreference)).void
|
1858
1798
|
}
|
1859
1799
|
def initialize(display_preference: nil); end
|
1860
1800
|
end
|
1861
1801
|
class Swish < Stripe::RequestParams
|
1862
1802
|
class DisplayPreference < Stripe::RequestParams
|
1863
1803
|
# The account's preference for whether or not to display this payment method.
|
1864
|
-
sig { returns(String) }
|
1804
|
+
sig { returns(T.nilable(String)) }
|
1865
1805
|
attr_accessor :preference
|
1866
|
-
sig { params(preference: String).void }
|
1806
|
+
sig { params(preference: T.nilable(String)).void }
|
1867
1807
|
def initialize(preference: nil); end
|
1868
1808
|
end
|
1869
1809
|
# Whether or not the payment method should be displayed.
|
1870
1810
|
sig {
|
1871
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::Swish::DisplayPreference)
|
1811
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish::DisplayPreference))
|
1872
1812
|
}
|
1873
1813
|
attr_accessor :display_preference
|
1874
1814
|
sig {
|
1875
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Swish::DisplayPreference).void
|
1815
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish::DisplayPreference)).void
|
1876
1816
|
}
|
1877
1817
|
def initialize(display_preference: nil); end
|
1878
1818
|
end
|
1879
1819
|
class Twint < Stripe::RequestParams
|
1880
1820
|
class DisplayPreference < Stripe::RequestParams
|
1881
1821
|
# The account's preference for whether or not to display this payment method.
|
1882
|
-
sig { returns(String) }
|
1822
|
+
sig { returns(T.nilable(String)) }
|
1883
1823
|
attr_accessor :preference
|
1884
|
-
sig { params(preference: String).void }
|
1824
|
+
sig { params(preference: T.nilable(String)).void }
|
1885
1825
|
def initialize(preference: nil); end
|
1886
1826
|
end
|
1887
1827
|
# Whether or not the payment method should be displayed.
|
1888
1828
|
sig {
|
1889
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::Twint::DisplayPreference)
|
1829
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint::DisplayPreference))
|
1890
1830
|
}
|
1891
1831
|
attr_accessor :display_preference
|
1892
1832
|
sig {
|
1893
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Twint::DisplayPreference).void
|
1833
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint::DisplayPreference)).void
|
1894
1834
|
}
|
1895
1835
|
def initialize(display_preference: nil); end
|
1896
1836
|
end
|
1897
1837
|
class UsBankAccount < Stripe::RequestParams
|
1898
1838
|
class DisplayPreference < Stripe::RequestParams
|
1899
1839
|
# The account's preference for whether or not to display this payment method.
|
1900
|
-
sig { returns(String) }
|
1840
|
+
sig { returns(T.nilable(String)) }
|
1901
1841
|
attr_accessor :preference
|
1902
|
-
sig { params(preference: String).void }
|
1842
|
+
sig { params(preference: T.nilable(String)).void }
|
1903
1843
|
def initialize(preference: nil); end
|
1904
1844
|
end
|
1905
1845
|
# Whether or not the payment method should be displayed.
|
1906
1846
|
sig {
|
1907
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount::DisplayPreference)
|
1847
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount::DisplayPreference))
|
1908
1848
|
}
|
1909
1849
|
attr_accessor :display_preference
|
1910
1850
|
sig {
|
1911
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount::DisplayPreference).void
|
1851
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount::DisplayPreference)).void
|
1912
1852
|
}
|
1913
1853
|
def initialize(display_preference: nil); end
|
1914
1854
|
end
|
1915
1855
|
class WechatPay < Stripe::RequestParams
|
1916
1856
|
class DisplayPreference < Stripe::RequestParams
|
1917
1857
|
# The account's preference for whether or not to display this payment method.
|
1918
|
-
sig { returns(String) }
|
1858
|
+
sig { returns(T.nilable(String)) }
|
1919
1859
|
attr_accessor :preference
|
1920
|
-
sig { params(preference: String).void }
|
1860
|
+
sig { params(preference: T.nilable(String)).void }
|
1921
1861
|
def initialize(preference: nil); end
|
1922
1862
|
end
|
1923
1863
|
# Whether or not the payment method should be displayed.
|
1924
1864
|
sig {
|
1925
|
-
returns(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay::DisplayPreference)
|
1865
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay::DisplayPreference))
|
1926
1866
|
}
|
1927
1867
|
attr_accessor :display_preference
|
1928
1868
|
sig {
|
1929
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay::DisplayPreference).void
|
1869
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay::DisplayPreference)).void
|
1930
1870
|
}
|
1931
1871
|
def initialize(display_preference: nil); end
|
1932
1872
|
end
|
1933
1873
|
class Zip < Stripe::RequestParams
|
1934
1874
|
class DisplayPreference < Stripe::RequestParams
|
1935
1875
|
# The account's preference for whether or not to display this payment method.
|
1936
|
-
sig { returns(String) }
|
1876
|
+
sig { returns(T.nilable(String)) }
|
1937
1877
|
attr_accessor :preference
|
1938
|
-
sig { params(preference: String).void }
|
1878
|
+
sig { params(preference: T.nilable(String)).void }
|
1939
1879
|
def initialize(preference: nil); end
|
1940
1880
|
end
|
1941
1881
|
# Whether or not the payment method should be displayed.
|
1942
|
-
sig {
|
1882
|
+
sig {
|
1883
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip::DisplayPreference))
|
1884
|
+
}
|
1943
1885
|
attr_accessor :display_preference
|
1944
1886
|
sig {
|
1945
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::CreateParams::Zip::DisplayPreference).void
|
1887
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip::DisplayPreference)).void
|
1946
1888
|
}
|
1947
1889
|
def initialize(display_preference: nil); end
|
1948
1890
|
end
|
1949
1891
|
# Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
|
1950
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit) }
|
1892
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit)) }
|
1951
1893
|
attr_accessor :acss_debit
|
1952
1894
|
# [Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.
|
1953
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm) }
|
1895
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm)) }
|
1954
1896
|
attr_accessor :affirm
|
1955
1897
|
# Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.
|
1956
|
-
sig {
|
1898
|
+
sig {
|
1899
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay))
|
1900
|
+
}
|
1957
1901
|
attr_accessor :afterpay_clearpay
|
1958
1902
|
# Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.
|
1959
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay) }
|
1903
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay)) }
|
1960
1904
|
attr_accessor :alipay
|
1961
1905
|
# Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
|
1962
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Alma) }
|
1906
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma)) }
|
1963
1907
|
attr_accessor :alma
|
1964
1908
|
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
1965
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay) }
|
1909
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay)) }
|
1966
1910
|
attr_accessor :amazon_pay
|
1967
1911
|
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
|
1968
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay) }
|
1912
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay)) }
|
1969
1913
|
attr_accessor :apple_pay
|
1970
1914
|
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
|
1971
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater) }
|
1915
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater)) }
|
1972
1916
|
attr_accessor :apple_pay_later
|
1973
1917
|
# Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.
|
1974
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit) }
|
1918
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit)) }
|
1975
1919
|
attr_accessor :au_becs_debit
|
1976
1920
|
# Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.
|
1977
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit) }
|
1921
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit)) }
|
1978
1922
|
attr_accessor :bacs_debit
|
1979
1923
|
# Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.
|
1980
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact) }
|
1924
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact)) }
|
1981
1925
|
attr_accessor :bancontact
|
1926
|
+
# Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
1927
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie)) }
|
1928
|
+
attr_accessor :billie
|
1982
1929
|
# BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.
|
1983
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Blik) }
|
1930
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik)) }
|
1984
1931
|
attr_accessor :blik
|
1985
1932
|
# Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.
|
1986
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto) }
|
1933
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto)) }
|
1987
1934
|
attr_accessor :boleto
|
1988
1935
|
# Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
|
1989
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Card) }
|
1936
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card)) }
|
1990
1937
|
attr_accessor :card
|
1991
1938
|
# Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.
|
1992
|
-
sig {
|
1939
|
+
sig {
|
1940
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires))
|
1941
|
+
}
|
1993
1942
|
attr_accessor :cartes_bancaires
|
1994
1943
|
# Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.
|
1995
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp) }
|
1944
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp)) }
|
1996
1945
|
attr_accessor :cashapp
|
1997
1946
|
# Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.
|
1998
|
-
sig {
|
1947
|
+
sig {
|
1948
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance))
|
1949
|
+
}
|
1999
1950
|
attr_accessor :customer_balance
|
2000
1951
|
# EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.
|
2001
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Eps) }
|
1952
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps)) }
|
2002
1953
|
attr_accessor :eps
|
2003
1954
|
# Specifies which fields in the response should be expanded.
|
2004
|
-
sig { returns(T::Array[String]) }
|
1955
|
+
sig { returns(T.nilable(T::Array[String])) }
|
2005
1956
|
attr_accessor :expand
|
2006
1957
|
# Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.
|
2007
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx) }
|
1958
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx)) }
|
2008
1959
|
attr_accessor :fpx
|
2009
1960
|
# giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.
|
2010
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay) }
|
1961
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay)) }
|
2011
1962
|
attr_accessor :giropay
|
2012
1963
|
# Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
|
2013
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay) }
|
1964
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay)) }
|
2014
1965
|
attr_accessor :google_pay
|
2015
|
-
# GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
2016
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Gopay) }
|
2017
|
-
attr_accessor :gopay
|
2018
1966
|
# GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
|
2019
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay) }
|
1967
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay)) }
|
2020
1968
|
attr_accessor :grabpay
|
2021
|
-
# Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
2022
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::IdBankTransfer) }
|
2023
|
-
attr_accessor :id_bank_transfer
|
2024
1969
|
# iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
|
2025
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal) }
|
1970
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal)) }
|
2026
1971
|
attr_accessor :ideal
|
2027
1972
|
# JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
|
2028
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb) }
|
1973
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb)) }
|
2029
1974
|
attr_accessor :jcb
|
2030
1975
|
# Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
|
2031
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna) }
|
1976
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna)) }
|
2032
1977
|
attr_accessor :klarna
|
2033
1978
|
# Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
|
2034
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini) }
|
1979
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini)) }
|
2035
1980
|
attr_accessor :konbini
|
2036
1981
|
# [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
|
2037
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Link) }
|
1982
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link)) }
|
2038
1983
|
attr_accessor :link
|
2039
1984
|
# MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
|
2040
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay) }
|
1985
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay)) }
|
2041
1986
|
attr_accessor :mobilepay
|
2042
1987
|
# Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.
|
2043
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco) }
|
1988
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco)) }
|
2044
1989
|
attr_accessor :multibanco
|
2045
1990
|
# Configuration name.
|
2046
|
-
sig { returns(String) }
|
1991
|
+
sig { returns(T.nilable(String)) }
|
2047
1992
|
attr_accessor :name
|
1993
|
+
# Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
|
1994
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount)) }
|
1995
|
+
attr_accessor :nz_bank_account
|
2048
1996
|
# OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
|
2049
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo) }
|
1997
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo)) }
|
2050
1998
|
attr_accessor :oxxo
|
2051
1999
|
# Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.
|
2052
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::P24) }
|
2000
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24)) }
|
2053
2001
|
attr_accessor :p24
|
2054
2002
|
# Configuration's parent configuration. Specify to create a child configuration.
|
2055
|
-
sig { returns(String) }
|
2003
|
+
sig { returns(T.nilable(String)) }
|
2056
2004
|
attr_accessor :parent
|
2057
2005
|
# Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
|
2058
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank) }
|
2006
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank)) }
|
2059
2007
|
attr_accessor :pay_by_bank
|
2060
2008
|
# PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
|
2061
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow) }
|
2009
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow)) }
|
2062
2010
|
attr_accessor :paynow
|
2063
2011
|
# PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
|
2064
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal) }
|
2012
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal)) }
|
2065
2013
|
attr_accessor :paypal
|
2066
|
-
# PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
2067
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Payto) }
|
2068
|
-
attr_accessor :payto
|
2069
2014
|
# PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
2070
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay) }
|
2015
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay)) }
|
2071
2016
|
attr_accessor :promptpay
|
2072
|
-
# QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
2073
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Qris) }
|
2074
|
-
attr_accessor :qris
|
2075
2017
|
# Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
2076
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay) }
|
2018
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay)) }
|
2077
2019
|
attr_accessor :revolut_pay
|
2020
|
+
# Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
2021
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay)) }
|
2022
|
+
attr_accessor :satispay
|
2078
2023
|
# The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
|
2079
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit) }
|
2024
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit)) }
|
2080
2025
|
attr_accessor :sepa_debit
|
2081
|
-
# ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
2082
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Shopeepay) }
|
2083
|
-
attr_accessor :shopeepay
|
2084
2026
|
# Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
|
2085
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort) }
|
2027
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort)) }
|
2086
2028
|
attr_accessor :sofort
|
2087
2029
|
# Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
|
2088
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Swish) }
|
2030
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish)) }
|
2089
2031
|
attr_accessor :swish
|
2090
2032
|
# Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
|
2091
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Twint) }
|
2033
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint)) }
|
2092
2034
|
attr_accessor :twint
|
2093
2035
|
# Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
|
2094
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount) }
|
2036
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount)) }
|
2095
2037
|
attr_accessor :us_bank_account
|
2096
2038
|
# WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.
|
2097
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay) }
|
2039
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay)) }
|
2098
2040
|
attr_accessor :wechat_pay
|
2099
2041
|
# Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.
|
2100
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::CreateParams::Zip) }
|
2042
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip)) }
|
2101
2043
|
attr_accessor :zip
|
2102
2044
|
sig {
|
2103
|
-
params(acss_debit: ::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit, affirm: ::Stripe::PaymentMethodConfiguration::CreateParams::Affirm, afterpay_clearpay: ::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay, alipay: ::Stripe::PaymentMethodConfiguration::CreateParams::Alipay, alma: ::Stripe::PaymentMethodConfiguration::CreateParams::Alma, amazon_pay: ::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay, apple_pay: ::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay, apple_pay_later: ::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater, au_becs_debit: ::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit, bacs_debit: ::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit, bancontact: ::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact, blik: ::Stripe::PaymentMethodConfiguration::CreateParams::Blik, boleto: ::Stripe::PaymentMethodConfiguration::CreateParams::Boleto, card: ::Stripe::PaymentMethodConfiguration::CreateParams::Card, cartes_bancaires: ::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires, cashapp: ::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp, customer_balance: ::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance, eps: ::Stripe::PaymentMethodConfiguration::CreateParams::Eps, expand: T::Array[String], fpx: ::Stripe::PaymentMethodConfiguration::CreateParams::Fpx, giropay: ::Stripe::PaymentMethodConfiguration::CreateParams::Giropay, google_pay: ::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay,
|
2045
|
+
params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AcssDebit), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::P24), parent: T.nilable(String), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Paypal), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::CreateParams::Zip)).void
|
2104
2046
|
}
|
2105
2047
|
def initialize(
|
2106
2048
|
acss_debit: nil,
|
@@ -2114,6 +2056,7 @@ module Stripe
|
|
2114
2056
|
au_becs_debit: nil,
|
2115
2057
|
bacs_debit: nil,
|
2116
2058
|
bancontact: nil,
|
2059
|
+
billie: nil,
|
2117
2060
|
blik: nil,
|
2118
2061
|
boleto: nil,
|
2119
2062
|
card: nil,
|
@@ -2125,9 +2068,7 @@ module Stripe
|
|
2125
2068
|
fpx: nil,
|
2126
2069
|
giropay: nil,
|
2127
2070
|
google_pay: nil,
|
2128
|
-
gopay: nil,
|
2129
2071
|
grabpay: nil,
|
2130
|
-
id_bank_transfer: nil,
|
2131
2072
|
ideal: nil,
|
2132
2073
|
jcb: nil,
|
2133
2074
|
klarna: nil,
|
@@ -2136,18 +2077,17 @@ module Stripe
|
|
2136
2077
|
mobilepay: nil,
|
2137
2078
|
multibanco: nil,
|
2138
2079
|
name: nil,
|
2080
|
+
nz_bank_account: nil,
|
2139
2081
|
oxxo: nil,
|
2140
2082
|
p24: nil,
|
2141
2083
|
parent: nil,
|
2142
2084
|
pay_by_bank: nil,
|
2143
2085
|
paynow: nil,
|
2144
2086
|
paypal: nil,
|
2145
|
-
payto: nil,
|
2146
2087
|
promptpay: nil,
|
2147
|
-
qris: nil,
|
2148
2088
|
revolut_pay: nil,
|
2089
|
+
satispay: nil,
|
2149
2090
|
sepa_debit: nil,
|
2150
|
-
shopeepay: nil,
|
2151
2091
|
sofort: nil,
|
2152
2092
|
swish: nil,
|
2153
2093
|
twint: nil,
|
@@ -2156,1011 +2096,990 @@ module Stripe
|
|
2156
2096
|
zip: nil
|
2157
2097
|
); end
|
2158
2098
|
end
|
2159
|
-
class RetrieveParams < Stripe::RequestParams
|
2160
|
-
# Specifies which fields in the response should be expanded.
|
2161
|
-
sig { returns(T::Array[String]) }
|
2162
|
-
attr_accessor :expand
|
2163
|
-
sig { params(expand: T::Array[String]).void }
|
2164
|
-
def initialize(expand: nil); end
|
2165
|
-
end
|
2166
2099
|
class UpdateParams < Stripe::RequestParams
|
2167
2100
|
class AcssDebit < Stripe::RequestParams
|
2168
2101
|
class DisplayPreference < Stripe::RequestParams
|
2169
2102
|
# The account's preference for whether or not to display this payment method.
|
2170
|
-
sig { returns(String) }
|
2103
|
+
sig { returns(T.nilable(String)) }
|
2171
2104
|
attr_accessor :preference
|
2172
|
-
sig { params(preference: String).void }
|
2105
|
+
sig { params(preference: T.nilable(String)).void }
|
2173
2106
|
def initialize(preference: nil); end
|
2174
2107
|
end
|
2175
2108
|
# Whether or not the payment method should be displayed.
|
2176
2109
|
sig {
|
2177
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit::DisplayPreference)
|
2110
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit::DisplayPreference))
|
2178
2111
|
}
|
2179
2112
|
attr_accessor :display_preference
|
2180
2113
|
sig {
|
2181
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit::DisplayPreference).void
|
2114
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit::DisplayPreference)).void
|
2182
2115
|
}
|
2183
2116
|
def initialize(display_preference: nil); end
|
2184
2117
|
end
|
2185
2118
|
class Affirm < Stripe::RequestParams
|
2186
2119
|
class DisplayPreference < Stripe::RequestParams
|
2187
2120
|
# The account's preference for whether or not to display this payment method.
|
2188
|
-
sig { returns(String) }
|
2121
|
+
sig { returns(T.nilable(String)) }
|
2189
2122
|
attr_accessor :preference
|
2190
|
-
sig { params(preference: String).void }
|
2123
|
+
sig { params(preference: T.nilable(String)).void }
|
2191
2124
|
def initialize(preference: nil); end
|
2192
2125
|
end
|
2193
2126
|
# Whether or not the payment method should be displayed.
|
2194
2127
|
sig {
|
2195
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm::DisplayPreference)
|
2128
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm::DisplayPreference))
|
2196
2129
|
}
|
2197
2130
|
attr_accessor :display_preference
|
2198
2131
|
sig {
|
2199
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm::DisplayPreference).void
|
2132
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm::DisplayPreference)).void
|
2200
2133
|
}
|
2201
2134
|
def initialize(display_preference: nil); end
|
2202
2135
|
end
|
2203
2136
|
class AfterpayClearpay < Stripe::RequestParams
|
2204
2137
|
class DisplayPreference < Stripe::RequestParams
|
2205
2138
|
# The account's preference for whether or not to display this payment method.
|
2206
|
-
sig { returns(String) }
|
2139
|
+
sig { returns(T.nilable(String)) }
|
2207
2140
|
attr_accessor :preference
|
2208
|
-
sig { params(preference: String).void }
|
2141
|
+
sig { params(preference: T.nilable(String)).void }
|
2209
2142
|
def initialize(preference: nil); end
|
2210
2143
|
end
|
2211
2144
|
# Whether or not the payment method should be displayed.
|
2212
2145
|
sig {
|
2213
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay::DisplayPreference)
|
2146
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay::DisplayPreference))
|
2214
2147
|
}
|
2215
2148
|
attr_accessor :display_preference
|
2216
2149
|
sig {
|
2217
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay::DisplayPreference).void
|
2150
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay::DisplayPreference)).void
|
2218
2151
|
}
|
2219
2152
|
def initialize(display_preference: nil); end
|
2220
2153
|
end
|
2221
2154
|
class Alipay < Stripe::RequestParams
|
2222
2155
|
class DisplayPreference < Stripe::RequestParams
|
2223
2156
|
# The account's preference for whether or not to display this payment method.
|
2224
|
-
sig { returns(String) }
|
2157
|
+
sig { returns(T.nilable(String)) }
|
2225
2158
|
attr_accessor :preference
|
2226
|
-
sig { params(preference: String).void }
|
2159
|
+
sig { params(preference: T.nilable(String)).void }
|
2227
2160
|
def initialize(preference: nil); end
|
2228
2161
|
end
|
2229
2162
|
# Whether or not the payment method should be displayed.
|
2230
2163
|
sig {
|
2231
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay::DisplayPreference)
|
2164
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay::DisplayPreference))
|
2232
2165
|
}
|
2233
2166
|
attr_accessor :display_preference
|
2234
2167
|
sig {
|
2235
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay::DisplayPreference).void
|
2168
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay::DisplayPreference)).void
|
2236
2169
|
}
|
2237
2170
|
def initialize(display_preference: nil); end
|
2238
2171
|
end
|
2239
2172
|
class Alma < Stripe::RequestParams
|
2240
2173
|
class DisplayPreference < Stripe::RequestParams
|
2241
2174
|
# The account's preference for whether or not to display this payment method.
|
2242
|
-
sig { returns(String) }
|
2175
|
+
sig { returns(T.nilable(String)) }
|
2243
2176
|
attr_accessor :preference
|
2244
|
-
sig { params(preference: String).void }
|
2177
|
+
sig { params(preference: T.nilable(String)).void }
|
2245
2178
|
def initialize(preference: nil); end
|
2246
2179
|
end
|
2247
2180
|
# Whether or not the payment method should be displayed.
|
2248
|
-
sig {
|
2181
|
+
sig {
|
2182
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma::DisplayPreference))
|
2183
|
+
}
|
2249
2184
|
attr_accessor :display_preference
|
2250
2185
|
sig {
|
2251
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Alma::DisplayPreference).void
|
2186
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma::DisplayPreference)).void
|
2252
2187
|
}
|
2253
2188
|
def initialize(display_preference: nil); end
|
2254
2189
|
end
|
2255
2190
|
class AmazonPay < Stripe::RequestParams
|
2256
2191
|
class DisplayPreference < Stripe::RequestParams
|
2257
2192
|
# The account's preference for whether or not to display this payment method.
|
2258
|
-
sig { returns(String) }
|
2193
|
+
sig { returns(T.nilable(String)) }
|
2259
2194
|
attr_accessor :preference
|
2260
|
-
sig { params(preference: String).void }
|
2195
|
+
sig { params(preference: T.nilable(String)).void }
|
2261
2196
|
def initialize(preference: nil); end
|
2262
2197
|
end
|
2263
2198
|
# Whether or not the payment method should be displayed.
|
2264
2199
|
sig {
|
2265
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay::DisplayPreference)
|
2200
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay::DisplayPreference))
|
2266
2201
|
}
|
2267
2202
|
attr_accessor :display_preference
|
2268
2203
|
sig {
|
2269
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay::DisplayPreference).void
|
2204
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay::DisplayPreference)).void
|
2270
2205
|
}
|
2271
2206
|
def initialize(display_preference: nil); end
|
2272
2207
|
end
|
2273
2208
|
class ApplePay < Stripe::RequestParams
|
2274
2209
|
class DisplayPreference < Stripe::RequestParams
|
2275
2210
|
# The account's preference for whether or not to display this payment method.
|
2276
|
-
sig { returns(String) }
|
2211
|
+
sig { returns(T.nilable(String)) }
|
2277
2212
|
attr_accessor :preference
|
2278
|
-
sig { params(preference: String).void }
|
2213
|
+
sig { params(preference: T.nilable(String)).void }
|
2279
2214
|
def initialize(preference: nil); end
|
2280
2215
|
end
|
2281
2216
|
# Whether or not the payment method should be displayed.
|
2282
2217
|
sig {
|
2283
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay::DisplayPreference)
|
2218
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay::DisplayPreference))
|
2284
2219
|
}
|
2285
2220
|
attr_accessor :display_preference
|
2286
2221
|
sig {
|
2287
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay::DisplayPreference).void
|
2222
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay::DisplayPreference)).void
|
2288
2223
|
}
|
2289
2224
|
def initialize(display_preference: nil); end
|
2290
2225
|
end
|
2291
2226
|
class ApplePayLater < Stripe::RequestParams
|
2292
2227
|
class DisplayPreference < Stripe::RequestParams
|
2293
2228
|
# The account's preference for whether or not to display this payment method.
|
2294
|
-
sig { returns(String) }
|
2229
|
+
sig { returns(T.nilable(String)) }
|
2295
2230
|
attr_accessor :preference
|
2296
|
-
sig { params(preference: String).void }
|
2231
|
+
sig { params(preference: T.nilable(String)).void }
|
2297
2232
|
def initialize(preference: nil); end
|
2298
2233
|
end
|
2299
2234
|
# Whether or not the payment method should be displayed.
|
2300
2235
|
sig {
|
2301
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater::DisplayPreference)
|
2236
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater::DisplayPreference))
|
2302
2237
|
}
|
2303
2238
|
attr_accessor :display_preference
|
2304
2239
|
sig {
|
2305
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater::DisplayPreference).void
|
2240
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater::DisplayPreference)).void
|
2306
2241
|
}
|
2307
2242
|
def initialize(display_preference: nil); end
|
2308
2243
|
end
|
2309
2244
|
class AuBecsDebit < Stripe::RequestParams
|
2310
2245
|
class DisplayPreference < Stripe::RequestParams
|
2311
2246
|
# The account's preference for whether or not to display this payment method.
|
2312
|
-
sig { returns(String) }
|
2247
|
+
sig { returns(T.nilable(String)) }
|
2313
2248
|
attr_accessor :preference
|
2314
|
-
sig { params(preference: String).void }
|
2249
|
+
sig { params(preference: T.nilable(String)).void }
|
2315
2250
|
def initialize(preference: nil); end
|
2316
2251
|
end
|
2317
2252
|
# Whether or not the payment method should be displayed.
|
2318
2253
|
sig {
|
2319
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit::DisplayPreference)
|
2254
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit::DisplayPreference))
|
2320
2255
|
}
|
2321
2256
|
attr_accessor :display_preference
|
2322
2257
|
sig {
|
2323
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit::DisplayPreference).void
|
2258
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit::DisplayPreference)).void
|
2324
2259
|
}
|
2325
2260
|
def initialize(display_preference: nil); end
|
2326
2261
|
end
|
2327
2262
|
class BacsDebit < Stripe::RequestParams
|
2328
2263
|
class DisplayPreference < Stripe::RequestParams
|
2329
2264
|
# The account's preference for whether or not to display this payment method.
|
2330
|
-
sig { returns(String) }
|
2265
|
+
sig { returns(T.nilable(String)) }
|
2331
2266
|
attr_accessor :preference
|
2332
|
-
sig { params(preference: String).void }
|
2267
|
+
sig { params(preference: T.nilable(String)).void }
|
2333
2268
|
def initialize(preference: nil); end
|
2334
2269
|
end
|
2335
2270
|
# Whether or not the payment method should be displayed.
|
2336
2271
|
sig {
|
2337
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit::DisplayPreference)
|
2272
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit::DisplayPreference))
|
2338
2273
|
}
|
2339
2274
|
attr_accessor :display_preference
|
2340
2275
|
sig {
|
2341
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit::DisplayPreference).void
|
2276
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit::DisplayPreference)).void
|
2342
2277
|
}
|
2343
2278
|
def initialize(display_preference: nil); end
|
2344
2279
|
end
|
2345
2280
|
class Bancontact < Stripe::RequestParams
|
2346
2281
|
class DisplayPreference < Stripe::RequestParams
|
2347
2282
|
# The account's preference for whether or not to display this payment method.
|
2348
|
-
sig { returns(String) }
|
2283
|
+
sig { returns(T.nilable(String)) }
|
2349
2284
|
attr_accessor :preference
|
2350
|
-
sig { params(preference: String).void }
|
2285
|
+
sig { params(preference: T.nilable(String)).void }
|
2351
2286
|
def initialize(preference: nil); end
|
2352
2287
|
end
|
2353
2288
|
# Whether or not the payment method should be displayed.
|
2354
2289
|
sig {
|
2355
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact::DisplayPreference)
|
2290
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact::DisplayPreference))
|
2356
2291
|
}
|
2357
2292
|
attr_accessor :display_preference
|
2358
2293
|
sig {
|
2359
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact::DisplayPreference).void
|
2294
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact::DisplayPreference)).void
|
2360
2295
|
}
|
2361
2296
|
def initialize(display_preference: nil); end
|
2362
2297
|
end
|
2363
|
-
class
|
2298
|
+
class Billie < Stripe::RequestParams
|
2364
2299
|
class DisplayPreference < Stripe::RequestParams
|
2365
2300
|
# The account's preference for whether or not to display this payment method.
|
2366
|
-
sig { returns(String) }
|
2301
|
+
sig { returns(T.nilable(String)) }
|
2367
2302
|
attr_accessor :preference
|
2368
|
-
sig { params(preference: String).void }
|
2303
|
+
sig { params(preference: T.nilable(String)).void }
|
2369
2304
|
def initialize(preference: nil); end
|
2370
2305
|
end
|
2371
2306
|
# Whether or not the payment method should be displayed.
|
2372
|
-
sig {
|
2307
|
+
sig {
|
2308
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie::DisplayPreference))
|
2309
|
+
}
|
2373
2310
|
attr_accessor :display_preference
|
2374
2311
|
sig {
|
2375
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2312
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie::DisplayPreference)).void
|
2376
2313
|
}
|
2377
2314
|
def initialize(display_preference: nil); end
|
2378
2315
|
end
|
2379
|
-
class
|
2316
|
+
class Blik < Stripe::RequestParams
|
2380
2317
|
class DisplayPreference < Stripe::RequestParams
|
2381
2318
|
# The account's preference for whether or not to display this payment method.
|
2382
|
-
sig { returns(String) }
|
2319
|
+
sig { returns(T.nilable(String)) }
|
2383
2320
|
attr_accessor :preference
|
2384
|
-
sig { params(preference: String).void }
|
2321
|
+
sig { params(preference: T.nilable(String)).void }
|
2385
2322
|
def initialize(preference: nil); end
|
2386
2323
|
end
|
2387
2324
|
# Whether or not the payment method should be displayed.
|
2388
2325
|
sig {
|
2389
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2326
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik::DisplayPreference))
|
2390
2327
|
}
|
2391
2328
|
attr_accessor :display_preference
|
2392
2329
|
sig {
|
2393
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2330
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik::DisplayPreference)).void
|
2394
2331
|
}
|
2395
2332
|
def initialize(display_preference: nil); end
|
2396
2333
|
end
|
2397
|
-
class
|
2334
|
+
class Boleto < Stripe::RequestParams
|
2398
2335
|
class DisplayPreference < Stripe::RequestParams
|
2399
2336
|
# The account's preference for whether or not to display this payment method.
|
2400
|
-
sig { returns(String) }
|
2337
|
+
sig { returns(T.nilable(String)) }
|
2401
2338
|
attr_accessor :preference
|
2402
|
-
sig { params(preference: String).void }
|
2339
|
+
sig { params(preference: T.nilable(String)).void }
|
2403
2340
|
def initialize(preference: nil); end
|
2404
2341
|
end
|
2405
2342
|
# Whether or not the payment method should be displayed.
|
2406
|
-
sig {
|
2343
|
+
sig {
|
2344
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto::DisplayPreference))
|
2345
|
+
}
|
2407
2346
|
attr_accessor :display_preference
|
2408
2347
|
sig {
|
2409
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2348
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto::DisplayPreference)).void
|
2410
2349
|
}
|
2411
2350
|
def initialize(display_preference: nil); end
|
2412
2351
|
end
|
2413
|
-
class
|
2352
|
+
class Card < Stripe::RequestParams
|
2414
2353
|
class DisplayPreference < Stripe::RequestParams
|
2415
2354
|
# The account's preference for whether or not to display this payment method.
|
2416
|
-
sig { returns(String) }
|
2355
|
+
sig { returns(T.nilable(String)) }
|
2417
2356
|
attr_accessor :preference
|
2418
|
-
sig { params(preference: String).void }
|
2357
|
+
sig { params(preference: T.nilable(String)).void }
|
2419
2358
|
def initialize(preference: nil); end
|
2420
2359
|
end
|
2421
2360
|
# Whether or not the payment method should be displayed.
|
2422
2361
|
sig {
|
2423
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2362
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card::DisplayPreference))
|
2424
2363
|
}
|
2425
2364
|
attr_accessor :display_preference
|
2426
2365
|
sig {
|
2427
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2366
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card::DisplayPreference)).void
|
2428
2367
|
}
|
2429
2368
|
def initialize(display_preference: nil); end
|
2430
2369
|
end
|
2431
|
-
class
|
2370
|
+
class CartesBancaires < Stripe::RequestParams
|
2432
2371
|
class DisplayPreference < Stripe::RequestParams
|
2433
2372
|
# The account's preference for whether or not to display this payment method.
|
2434
|
-
sig { returns(String) }
|
2373
|
+
sig { returns(T.nilable(String)) }
|
2435
2374
|
attr_accessor :preference
|
2436
|
-
sig { params(preference: String).void }
|
2375
|
+
sig { params(preference: T.nilable(String)).void }
|
2437
2376
|
def initialize(preference: nil); end
|
2438
2377
|
end
|
2439
2378
|
# Whether or not the payment method should be displayed.
|
2440
2379
|
sig {
|
2441
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2380
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires::DisplayPreference))
|
2442
2381
|
}
|
2443
2382
|
attr_accessor :display_preference
|
2444
2383
|
sig {
|
2445
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2384
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires::DisplayPreference)).void
|
2446
2385
|
}
|
2447
2386
|
def initialize(display_preference: nil); end
|
2448
2387
|
end
|
2449
|
-
class
|
2388
|
+
class Cashapp < Stripe::RequestParams
|
2450
2389
|
class DisplayPreference < Stripe::RequestParams
|
2451
2390
|
# The account's preference for whether or not to display this payment method.
|
2452
|
-
sig { returns(String) }
|
2391
|
+
sig { returns(T.nilable(String)) }
|
2453
2392
|
attr_accessor :preference
|
2454
|
-
sig { params(preference: String).void }
|
2393
|
+
sig { params(preference: T.nilable(String)).void }
|
2455
2394
|
def initialize(preference: nil); end
|
2456
2395
|
end
|
2457
2396
|
# Whether or not the payment method should be displayed.
|
2458
2397
|
sig {
|
2459
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2398
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp::DisplayPreference))
|
2460
2399
|
}
|
2461
2400
|
attr_accessor :display_preference
|
2462
2401
|
sig {
|
2463
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2402
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp::DisplayPreference)).void
|
2464
2403
|
}
|
2465
2404
|
def initialize(display_preference: nil); end
|
2466
2405
|
end
|
2467
|
-
class
|
2406
|
+
class CustomerBalance < Stripe::RequestParams
|
2468
2407
|
class DisplayPreference < Stripe::RequestParams
|
2469
2408
|
# The account's preference for whether or not to display this payment method.
|
2470
|
-
sig { returns(String) }
|
2409
|
+
sig { returns(T.nilable(String)) }
|
2471
2410
|
attr_accessor :preference
|
2472
|
-
sig { params(preference: String).void }
|
2411
|
+
sig { params(preference: T.nilable(String)).void }
|
2473
2412
|
def initialize(preference: nil); end
|
2474
2413
|
end
|
2475
2414
|
# Whether or not the payment method should be displayed.
|
2476
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps::DisplayPreference) }
|
2477
|
-
attr_accessor :display_preference
|
2478
2415
|
sig {
|
2479
|
-
|
2416
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance::DisplayPreference))
|
2480
2417
|
}
|
2481
|
-
def initialize(display_preference: nil); end
|
2482
|
-
end
|
2483
|
-
class Fpx < Stripe::RequestParams
|
2484
|
-
class DisplayPreference < Stripe::RequestParams
|
2485
|
-
# The account's preference for whether or not to display this payment method.
|
2486
|
-
sig { returns(String) }
|
2487
|
-
attr_accessor :preference
|
2488
|
-
sig { params(preference: String).void }
|
2489
|
-
def initialize(preference: nil); end
|
2490
|
-
end
|
2491
|
-
# Whether or not the payment method should be displayed.
|
2492
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx::DisplayPreference) }
|
2493
2418
|
attr_accessor :display_preference
|
2494
2419
|
sig {
|
2495
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2420
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance::DisplayPreference)).void
|
2496
2421
|
}
|
2497
2422
|
def initialize(display_preference: nil); end
|
2498
2423
|
end
|
2499
|
-
class
|
2424
|
+
class Eps < Stripe::RequestParams
|
2500
2425
|
class DisplayPreference < Stripe::RequestParams
|
2501
2426
|
# The account's preference for whether or not to display this payment method.
|
2502
|
-
sig { returns(String) }
|
2427
|
+
sig { returns(T.nilable(String)) }
|
2503
2428
|
attr_accessor :preference
|
2504
|
-
sig { params(preference: String).void }
|
2429
|
+
sig { params(preference: T.nilable(String)).void }
|
2505
2430
|
def initialize(preference: nil); end
|
2506
2431
|
end
|
2507
2432
|
# Whether or not the payment method should be displayed.
|
2508
2433
|
sig {
|
2509
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2434
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps::DisplayPreference))
|
2510
2435
|
}
|
2511
2436
|
attr_accessor :display_preference
|
2512
2437
|
sig {
|
2513
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2438
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps::DisplayPreference)).void
|
2514
2439
|
}
|
2515
2440
|
def initialize(display_preference: nil); end
|
2516
2441
|
end
|
2517
|
-
class
|
2442
|
+
class Fpx < Stripe::RequestParams
|
2518
2443
|
class DisplayPreference < Stripe::RequestParams
|
2519
2444
|
# The account's preference for whether or not to display this payment method.
|
2520
|
-
sig { returns(String) }
|
2445
|
+
sig { returns(T.nilable(String)) }
|
2521
2446
|
attr_accessor :preference
|
2522
|
-
sig { params(preference: String).void }
|
2447
|
+
sig { params(preference: T.nilable(String)).void }
|
2523
2448
|
def initialize(preference: nil); end
|
2524
2449
|
end
|
2525
2450
|
# Whether or not the payment method should be displayed.
|
2526
2451
|
sig {
|
2527
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2452
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx::DisplayPreference))
|
2528
2453
|
}
|
2529
2454
|
attr_accessor :display_preference
|
2530
2455
|
sig {
|
2531
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2456
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx::DisplayPreference)).void
|
2532
2457
|
}
|
2533
2458
|
def initialize(display_preference: nil); end
|
2534
2459
|
end
|
2535
|
-
class
|
2460
|
+
class Giropay < Stripe::RequestParams
|
2536
2461
|
class DisplayPreference < Stripe::RequestParams
|
2537
2462
|
# The account's preference for whether or not to display this payment method.
|
2538
|
-
sig { returns(String) }
|
2463
|
+
sig { returns(T.nilable(String)) }
|
2539
2464
|
attr_accessor :preference
|
2540
|
-
sig { params(preference: String).void }
|
2465
|
+
sig { params(preference: T.nilable(String)).void }
|
2541
2466
|
def initialize(preference: nil); end
|
2542
2467
|
end
|
2543
2468
|
# Whether or not the payment method should be displayed.
|
2544
2469
|
sig {
|
2545
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2470
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay::DisplayPreference))
|
2546
2471
|
}
|
2547
2472
|
attr_accessor :display_preference
|
2548
2473
|
sig {
|
2549
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2474
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay::DisplayPreference)).void
|
2550
2475
|
}
|
2551
2476
|
def initialize(display_preference: nil); end
|
2552
2477
|
end
|
2553
|
-
class
|
2478
|
+
class GooglePay < Stripe::RequestParams
|
2554
2479
|
class DisplayPreference < Stripe::RequestParams
|
2555
2480
|
# The account's preference for whether or not to display this payment method.
|
2556
|
-
sig { returns(String) }
|
2481
|
+
sig { returns(T.nilable(String)) }
|
2557
2482
|
attr_accessor :preference
|
2558
|
-
sig { params(preference: String).void }
|
2483
|
+
sig { params(preference: T.nilable(String)).void }
|
2559
2484
|
def initialize(preference: nil); end
|
2560
2485
|
end
|
2561
2486
|
# Whether or not the payment method should be displayed.
|
2562
2487
|
sig {
|
2563
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2488
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay::DisplayPreference))
|
2564
2489
|
}
|
2565
2490
|
attr_accessor :display_preference
|
2566
2491
|
sig {
|
2567
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2492
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay::DisplayPreference)).void
|
2568
2493
|
}
|
2569
2494
|
def initialize(display_preference: nil); end
|
2570
2495
|
end
|
2571
|
-
class
|
2496
|
+
class Grabpay < Stripe::RequestParams
|
2572
2497
|
class DisplayPreference < Stripe::RequestParams
|
2573
2498
|
# The account's preference for whether or not to display this payment method.
|
2574
|
-
sig { returns(String) }
|
2499
|
+
sig { returns(T.nilable(String)) }
|
2575
2500
|
attr_accessor :preference
|
2576
|
-
sig { params(preference: String).void }
|
2501
|
+
sig { params(preference: T.nilable(String)).void }
|
2577
2502
|
def initialize(preference: nil); end
|
2578
2503
|
end
|
2579
2504
|
# Whether or not the payment method should be displayed.
|
2580
2505
|
sig {
|
2581
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2506
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay::DisplayPreference))
|
2582
2507
|
}
|
2583
2508
|
attr_accessor :display_preference
|
2584
2509
|
sig {
|
2585
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2510
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay::DisplayPreference)).void
|
2586
2511
|
}
|
2587
2512
|
def initialize(display_preference: nil); end
|
2588
2513
|
end
|
2589
2514
|
class Ideal < Stripe::RequestParams
|
2590
2515
|
class DisplayPreference < Stripe::RequestParams
|
2591
2516
|
# The account's preference for whether or not to display this payment method.
|
2592
|
-
sig { returns(String) }
|
2517
|
+
sig { returns(T.nilable(String)) }
|
2593
2518
|
attr_accessor :preference
|
2594
|
-
sig { params(preference: String).void }
|
2519
|
+
sig { params(preference: T.nilable(String)).void }
|
2595
2520
|
def initialize(preference: nil); end
|
2596
2521
|
end
|
2597
2522
|
# Whether or not the payment method should be displayed.
|
2598
2523
|
sig {
|
2599
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal::DisplayPreference)
|
2524
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal::DisplayPreference))
|
2600
2525
|
}
|
2601
2526
|
attr_accessor :display_preference
|
2602
2527
|
sig {
|
2603
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal::DisplayPreference).void
|
2528
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal::DisplayPreference)).void
|
2604
2529
|
}
|
2605
2530
|
def initialize(display_preference: nil); end
|
2606
2531
|
end
|
2607
2532
|
class Jcb < Stripe::RequestParams
|
2608
2533
|
class DisplayPreference < Stripe::RequestParams
|
2609
2534
|
# The account's preference for whether or not to display this payment method.
|
2610
|
-
sig { returns(String) }
|
2535
|
+
sig { returns(T.nilable(String)) }
|
2611
2536
|
attr_accessor :preference
|
2612
|
-
sig { params(preference: String).void }
|
2537
|
+
sig { params(preference: T.nilable(String)).void }
|
2613
2538
|
def initialize(preference: nil); end
|
2614
2539
|
end
|
2615
2540
|
# Whether or not the payment method should be displayed.
|
2616
|
-
sig {
|
2541
|
+
sig {
|
2542
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb::DisplayPreference))
|
2543
|
+
}
|
2617
2544
|
attr_accessor :display_preference
|
2618
2545
|
sig {
|
2619
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb::DisplayPreference).void
|
2546
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb::DisplayPreference)).void
|
2620
2547
|
}
|
2621
2548
|
def initialize(display_preference: nil); end
|
2622
2549
|
end
|
2623
2550
|
class Klarna < Stripe::RequestParams
|
2624
2551
|
class DisplayPreference < Stripe::RequestParams
|
2625
2552
|
# The account's preference for whether or not to display this payment method.
|
2626
|
-
sig { returns(String) }
|
2553
|
+
sig { returns(T.nilable(String)) }
|
2627
2554
|
attr_accessor :preference
|
2628
|
-
sig { params(preference: String).void }
|
2555
|
+
sig { params(preference: T.nilable(String)).void }
|
2629
2556
|
def initialize(preference: nil); end
|
2630
2557
|
end
|
2631
2558
|
# Whether or not the payment method should be displayed.
|
2632
2559
|
sig {
|
2633
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna::DisplayPreference)
|
2560
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna::DisplayPreference))
|
2634
2561
|
}
|
2635
2562
|
attr_accessor :display_preference
|
2636
2563
|
sig {
|
2637
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna::DisplayPreference).void
|
2564
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna::DisplayPreference)).void
|
2638
2565
|
}
|
2639
2566
|
def initialize(display_preference: nil); end
|
2640
2567
|
end
|
2641
2568
|
class Konbini < Stripe::RequestParams
|
2642
2569
|
class DisplayPreference < Stripe::RequestParams
|
2643
2570
|
# The account's preference for whether or not to display this payment method.
|
2644
|
-
sig { returns(String) }
|
2571
|
+
sig { returns(T.nilable(String)) }
|
2645
2572
|
attr_accessor :preference
|
2646
|
-
sig { params(preference: String).void }
|
2573
|
+
sig { params(preference: T.nilable(String)).void }
|
2647
2574
|
def initialize(preference: nil); end
|
2648
2575
|
end
|
2649
2576
|
# Whether or not the payment method should be displayed.
|
2650
2577
|
sig {
|
2651
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini::DisplayPreference)
|
2578
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini::DisplayPreference))
|
2652
2579
|
}
|
2653
2580
|
attr_accessor :display_preference
|
2654
2581
|
sig {
|
2655
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini::DisplayPreference).void
|
2582
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini::DisplayPreference)).void
|
2656
2583
|
}
|
2657
2584
|
def initialize(display_preference: nil); end
|
2658
2585
|
end
|
2659
2586
|
class Link < Stripe::RequestParams
|
2660
2587
|
class DisplayPreference < Stripe::RequestParams
|
2661
2588
|
# The account's preference for whether or not to display this payment method.
|
2662
|
-
sig { returns(String) }
|
2589
|
+
sig { returns(T.nilable(String)) }
|
2663
2590
|
attr_accessor :preference
|
2664
|
-
sig { params(preference: String).void }
|
2591
|
+
sig { params(preference: T.nilable(String)).void }
|
2665
2592
|
def initialize(preference: nil); end
|
2666
2593
|
end
|
2667
2594
|
# Whether or not the payment method should be displayed.
|
2668
|
-
sig {
|
2595
|
+
sig {
|
2596
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link::DisplayPreference))
|
2597
|
+
}
|
2669
2598
|
attr_accessor :display_preference
|
2670
2599
|
sig {
|
2671
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Link::DisplayPreference).void
|
2600
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link::DisplayPreference)).void
|
2672
2601
|
}
|
2673
2602
|
def initialize(display_preference: nil); end
|
2674
2603
|
end
|
2675
2604
|
class Mobilepay < Stripe::RequestParams
|
2676
2605
|
class DisplayPreference < Stripe::RequestParams
|
2677
2606
|
# The account's preference for whether or not to display this payment method.
|
2678
|
-
sig { returns(String) }
|
2607
|
+
sig { returns(T.nilable(String)) }
|
2679
2608
|
attr_accessor :preference
|
2680
|
-
sig { params(preference: String).void }
|
2609
|
+
sig { params(preference: T.nilable(String)).void }
|
2681
2610
|
def initialize(preference: nil); end
|
2682
2611
|
end
|
2683
2612
|
# Whether or not the payment method should be displayed.
|
2684
2613
|
sig {
|
2685
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay::DisplayPreference)
|
2614
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay::DisplayPreference))
|
2686
2615
|
}
|
2687
2616
|
attr_accessor :display_preference
|
2688
2617
|
sig {
|
2689
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay::DisplayPreference).void
|
2618
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay::DisplayPreference)).void
|
2690
2619
|
}
|
2691
2620
|
def initialize(display_preference: nil); end
|
2692
2621
|
end
|
2693
2622
|
class Multibanco < Stripe::RequestParams
|
2694
2623
|
class DisplayPreference < Stripe::RequestParams
|
2695
2624
|
# The account's preference for whether or not to display this payment method.
|
2696
|
-
sig { returns(String) }
|
2625
|
+
sig { returns(T.nilable(String)) }
|
2697
2626
|
attr_accessor :preference
|
2698
|
-
sig { params(preference: String).void }
|
2627
|
+
sig { params(preference: T.nilable(String)).void }
|
2699
2628
|
def initialize(preference: nil); end
|
2700
2629
|
end
|
2701
2630
|
# Whether or not the payment method should be displayed.
|
2702
2631
|
sig {
|
2703
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco::DisplayPreference)
|
2632
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco::DisplayPreference))
|
2704
2633
|
}
|
2705
2634
|
attr_accessor :display_preference
|
2706
2635
|
sig {
|
2707
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco::DisplayPreference).void
|
2636
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco::DisplayPreference)).void
|
2708
2637
|
}
|
2709
2638
|
def initialize(display_preference: nil); end
|
2710
2639
|
end
|
2711
|
-
class
|
2640
|
+
class NzBankAccount < Stripe::RequestParams
|
2712
2641
|
class DisplayPreference < Stripe::RequestParams
|
2713
2642
|
# The account's preference for whether or not to display this payment method.
|
2714
|
-
sig { returns(String) }
|
2643
|
+
sig { returns(T.nilable(String)) }
|
2715
2644
|
attr_accessor :preference
|
2716
|
-
sig { params(preference: String).void }
|
2645
|
+
sig { params(preference: T.nilable(String)).void }
|
2717
2646
|
def initialize(preference: nil); end
|
2718
2647
|
end
|
2719
2648
|
# Whether or not the payment method should be displayed.
|
2720
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo::DisplayPreference) }
|
2721
|
-
attr_accessor :display_preference
|
2722
2649
|
sig {
|
2723
|
-
|
2650
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount::DisplayPreference))
|
2724
2651
|
}
|
2725
|
-
def initialize(display_preference: nil); end
|
2726
|
-
end
|
2727
|
-
class P24 < Stripe::RequestParams
|
2728
|
-
class DisplayPreference < Stripe::RequestParams
|
2729
|
-
# The account's preference for whether or not to display this payment method.
|
2730
|
-
sig { returns(String) }
|
2731
|
-
attr_accessor :preference
|
2732
|
-
sig { params(preference: String).void }
|
2733
|
-
def initialize(preference: nil); end
|
2734
|
-
end
|
2735
|
-
# Whether or not the payment method should be displayed.
|
2736
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::P24::DisplayPreference) }
|
2737
2652
|
attr_accessor :display_preference
|
2738
2653
|
sig {
|
2739
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2654
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount::DisplayPreference)).void
|
2740
2655
|
}
|
2741
2656
|
def initialize(display_preference: nil); end
|
2742
2657
|
end
|
2743
|
-
class
|
2658
|
+
class Oxxo < Stripe::RequestParams
|
2744
2659
|
class DisplayPreference < Stripe::RequestParams
|
2745
2660
|
# The account's preference for whether or not to display this payment method.
|
2746
|
-
sig { returns(String) }
|
2661
|
+
sig { returns(T.nilable(String)) }
|
2747
2662
|
attr_accessor :preference
|
2748
|
-
sig { params(preference: String).void }
|
2663
|
+
sig { params(preference: T.nilable(String)).void }
|
2749
2664
|
def initialize(preference: nil); end
|
2750
2665
|
end
|
2751
2666
|
# Whether or not the payment method should be displayed.
|
2752
2667
|
sig {
|
2753
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2668
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo::DisplayPreference))
|
2754
2669
|
}
|
2755
2670
|
attr_accessor :display_preference
|
2756
2671
|
sig {
|
2757
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2672
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo::DisplayPreference)).void
|
2758
2673
|
}
|
2759
2674
|
def initialize(display_preference: nil); end
|
2760
2675
|
end
|
2761
|
-
class
|
2676
|
+
class P24 < Stripe::RequestParams
|
2762
2677
|
class DisplayPreference < Stripe::RequestParams
|
2763
2678
|
# The account's preference for whether or not to display this payment method.
|
2764
|
-
sig { returns(String) }
|
2679
|
+
sig { returns(T.nilable(String)) }
|
2765
2680
|
attr_accessor :preference
|
2766
|
-
sig { params(preference: String).void }
|
2681
|
+
sig { params(preference: T.nilable(String)).void }
|
2767
2682
|
def initialize(preference: nil); end
|
2768
2683
|
end
|
2769
2684
|
# Whether or not the payment method should be displayed.
|
2770
2685
|
sig {
|
2771
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2686
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24::DisplayPreference))
|
2772
2687
|
}
|
2773
2688
|
attr_accessor :display_preference
|
2774
2689
|
sig {
|
2775
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2690
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24::DisplayPreference)).void
|
2776
2691
|
}
|
2777
2692
|
def initialize(display_preference: nil); end
|
2778
2693
|
end
|
2779
|
-
class
|
2694
|
+
class PayByBank < Stripe::RequestParams
|
2780
2695
|
class DisplayPreference < Stripe::RequestParams
|
2781
2696
|
# The account's preference for whether or not to display this payment method.
|
2782
|
-
sig { returns(String) }
|
2697
|
+
sig { returns(T.nilable(String)) }
|
2783
2698
|
attr_accessor :preference
|
2784
|
-
sig { params(preference: String).void }
|
2699
|
+
sig { params(preference: T.nilable(String)).void }
|
2785
2700
|
def initialize(preference: nil); end
|
2786
2701
|
end
|
2787
2702
|
# Whether or not the payment method should be displayed.
|
2788
2703
|
sig {
|
2789
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2704
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank::DisplayPreference))
|
2790
2705
|
}
|
2791
2706
|
attr_accessor :display_preference
|
2792
2707
|
sig {
|
2793
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2708
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank::DisplayPreference)).void
|
2794
2709
|
}
|
2795
2710
|
def initialize(display_preference: nil); end
|
2796
2711
|
end
|
2797
|
-
class
|
2712
|
+
class Paynow < Stripe::RequestParams
|
2798
2713
|
class DisplayPreference < Stripe::RequestParams
|
2799
2714
|
# The account's preference for whether or not to display this payment method.
|
2800
|
-
sig { returns(String) }
|
2715
|
+
sig { returns(T.nilable(String)) }
|
2801
2716
|
attr_accessor :preference
|
2802
|
-
sig { params(preference: String).void }
|
2717
|
+
sig { params(preference: T.nilable(String)).void }
|
2803
2718
|
def initialize(preference: nil); end
|
2804
2719
|
end
|
2805
2720
|
# Whether or not the payment method should be displayed.
|
2806
2721
|
sig {
|
2807
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2722
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow::DisplayPreference))
|
2808
2723
|
}
|
2809
2724
|
attr_accessor :display_preference
|
2810
2725
|
sig {
|
2811
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2726
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow::DisplayPreference)).void
|
2812
2727
|
}
|
2813
2728
|
def initialize(display_preference: nil); end
|
2814
2729
|
end
|
2815
|
-
class
|
2730
|
+
class Paypal < Stripe::RequestParams
|
2816
2731
|
class DisplayPreference < Stripe::RequestParams
|
2817
2732
|
# The account's preference for whether or not to display this payment method.
|
2818
|
-
sig { returns(String) }
|
2733
|
+
sig { returns(T.nilable(String)) }
|
2819
2734
|
attr_accessor :preference
|
2820
|
-
sig { params(preference: String).void }
|
2735
|
+
sig { params(preference: T.nilable(String)).void }
|
2821
2736
|
def initialize(preference: nil); end
|
2822
2737
|
end
|
2823
2738
|
# Whether or not the payment method should be displayed.
|
2824
2739
|
sig {
|
2825
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2740
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal::DisplayPreference))
|
2826
2741
|
}
|
2827
2742
|
attr_accessor :display_preference
|
2828
2743
|
sig {
|
2829
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2744
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal::DisplayPreference)).void
|
2830
2745
|
}
|
2831
2746
|
def initialize(display_preference: nil); end
|
2832
2747
|
end
|
2833
|
-
class
|
2748
|
+
class Promptpay < Stripe::RequestParams
|
2834
2749
|
class DisplayPreference < Stripe::RequestParams
|
2835
2750
|
# The account's preference for whether or not to display this payment method.
|
2836
|
-
sig { returns(String) }
|
2751
|
+
sig { returns(T.nilable(String)) }
|
2837
2752
|
attr_accessor :preference
|
2838
|
-
sig { params(preference: String).void }
|
2753
|
+
sig { params(preference: T.nilable(String)).void }
|
2839
2754
|
def initialize(preference: nil); end
|
2840
2755
|
end
|
2841
2756
|
# Whether or not the payment method should be displayed.
|
2842
|
-
sig {
|
2757
|
+
sig {
|
2758
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay::DisplayPreference))
|
2759
|
+
}
|
2843
2760
|
attr_accessor :display_preference
|
2844
2761
|
sig {
|
2845
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2762
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay::DisplayPreference)).void
|
2846
2763
|
}
|
2847
2764
|
def initialize(display_preference: nil); end
|
2848
2765
|
end
|
2849
2766
|
class RevolutPay < Stripe::RequestParams
|
2850
2767
|
class DisplayPreference < Stripe::RequestParams
|
2851
2768
|
# The account's preference for whether or not to display this payment method.
|
2852
|
-
sig { returns(String) }
|
2769
|
+
sig { returns(T.nilable(String)) }
|
2853
2770
|
attr_accessor :preference
|
2854
|
-
sig { params(preference: String).void }
|
2771
|
+
sig { params(preference: T.nilable(String)).void }
|
2855
2772
|
def initialize(preference: nil); end
|
2856
2773
|
end
|
2857
2774
|
# Whether or not the payment method should be displayed.
|
2858
2775
|
sig {
|
2859
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay::DisplayPreference)
|
2776
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay::DisplayPreference))
|
2860
2777
|
}
|
2861
2778
|
attr_accessor :display_preference
|
2862
2779
|
sig {
|
2863
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay::DisplayPreference).void
|
2780
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay::DisplayPreference)).void
|
2864
2781
|
}
|
2865
2782
|
def initialize(display_preference: nil); end
|
2866
2783
|
end
|
2867
|
-
class
|
2784
|
+
class Satispay < Stripe::RequestParams
|
2868
2785
|
class DisplayPreference < Stripe::RequestParams
|
2869
2786
|
# The account's preference for whether or not to display this payment method.
|
2870
|
-
sig { returns(String) }
|
2787
|
+
sig { returns(T.nilable(String)) }
|
2871
2788
|
attr_accessor :preference
|
2872
|
-
sig { params(preference: String).void }
|
2789
|
+
sig { params(preference: T.nilable(String)).void }
|
2873
2790
|
def initialize(preference: nil); end
|
2874
2791
|
end
|
2875
2792
|
# Whether or not the payment method should be displayed.
|
2876
2793
|
sig {
|
2877
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2794
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay::DisplayPreference))
|
2878
2795
|
}
|
2879
2796
|
attr_accessor :display_preference
|
2880
2797
|
sig {
|
2881
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2798
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay::DisplayPreference)).void
|
2882
2799
|
}
|
2883
2800
|
def initialize(display_preference: nil); end
|
2884
2801
|
end
|
2885
|
-
class
|
2802
|
+
class SepaDebit < Stripe::RequestParams
|
2886
2803
|
class DisplayPreference < Stripe::RequestParams
|
2887
2804
|
# The account's preference for whether or not to display this payment method.
|
2888
|
-
sig { returns(String) }
|
2805
|
+
sig { returns(T.nilable(String)) }
|
2889
2806
|
attr_accessor :preference
|
2890
|
-
sig { params(preference: String).void }
|
2807
|
+
sig { params(preference: T.nilable(String)).void }
|
2891
2808
|
def initialize(preference: nil); end
|
2892
2809
|
end
|
2893
2810
|
# Whether or not the payment method should be displayed.
|
2894
2811
|
sig {
|
2895
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2812
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit::DisplayPreference))
|
2896
2813
|
}
|
2897
2814
|
attr_accessor :display_preference
|
2898
2815
|
sig {
|
2899
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::
|
2816
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit::DisplayPreference)).void
|
2900
2817
|
}
|
2901
2818
|
def initialize(display_preference: nil); end
|
2902
2819
|
end
|
2903
2820
|
class Sofort < Stripe::RequestParams
|
2904
2821
|
class DisplayPreference < Stripe::RequestParams
|
2905
2822
|
# The account's preference for whether or not to display this payment method.
|
2906
|
-
sig { returns(String) }
|
2823
|
+
sig { returns(T.nilable(String)) }
|
2907
2824
|
attr_accessor :preference
|
2908
|
-
sig { params(preference: String).void }
|
2825
|
+
sig { params(preference: T.nilable(String)).void }
|
2909
2826
|
def initialize(preference: nil); end
|
2910
2827
|
end
|
2911
2828
|
# Whether or not the payment method should be displayed.
|
2912
2829
|
sig {
|
2913
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort::DisplayPreference)
|
2830
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort::DisplayPreference))
|
2914
2831
|
}
|
2915
2832
|
attr_accessor :display_preference
|
2916
2833
|
sig {
|
2917
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort::DisplayPreference).void
|
2834
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort::DisplayPreference)).void
|
2918
2835
|
}
|
2919
2836
|
def initialize(display_preference: nil); end
|
2920
2837
|
end
|
2921
2838
|
class Swish < Stripe::RequestParams
|
2922
2839
|
class DisplayPreference < Stripe::RequestParams
|
2923
2840
|
# The account's preference for whether or not to display this payment method.
|
2924
|
-
sig { returns(String) }
|
2841
|
+
sig { returns(T.nilable(String)) }
|
2925
2842
|
attr_accessor :preference
|
2926
|
-
sig { params(preference: String).void }
|
2843
|
+
sig { params(preference: T.nilable(String)).void }
|
2927
2844
|
def initialize(preference: nil); end
|
2928
2845
|
end
|
2929
2846
|
# Whether or not the payment method should be displayed.
|
2930
2847
|
sig {
|
2931
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish::DisplayPreference)
|
2848
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish::DisplayPreference))
|
2932
2849
|
}
|
2933
2850
|
attr_accessor :display_preference
|
2934
2851
|
sig {
|
2935
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Swish::DisplayPreference).void
|
2852
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish::DisplayPreference)).void
|
2936
2853
|
}
|
2937
2854
|
def initialize(display_preference: nil); end
|
2938
2855
|
end
|
2939
2856
|
class Twint < Stripe::RequestParams
|
2940
2857
|
class DisplayPreference < Stripe::RequestParams
|
2941
2858
|
# The account's preference for whether or not to display this payment method.
|
2942
|
-
sig { returns(String) }
|
2859
|
+
sig { returns(T.nilable(String)) }
|
2943
2860
|
attr_accessor :preference
|
2944
|
-
sig { params(preference: String).void }
|
2861
|
+
sig { params(preference: T.nilable(String)).void }
|
2945
2862
|
def initialize(preference: nil); end
|
2946
2863
|
end
|
2947
2864
|
# Whether or not the payment method should be displayed.
|
2948
2865
|
sig {
|
2949
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint::DisplayPreference)
|
2866
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint::DisplayPreference))
|
2950
2867
|
}
|
2951
2868
|
attr_accessor :display_preference
|
2952
2869
|
sig {
|
2953
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Twint::DisplayPreference).void
|
2870
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint::DisplayPreference)).void
|
2954
2871
|
}
|
2955
2872
|
def initialize(display_preference: nil); end
|
2956
2873
|
end
|
2957
2874
|
class UsBankAccount < Stripe::RequestParams
|
2958
2875
|
class DisplayPreference < Stripe::RequestParams
|
2959
2876
|
# The account's preference for whether or not to display this payment method.
|
2960
|
-
sig { returns(String) }
|
2877
|
+
sig { returns(T.nilable(String)) }
|
2961
2878
|
attr_accessor :preference
|
2962
|
-
sig { params(preference: String).void }
|
2879
|
+
sig { params(preference: T.nilable(String)).void }
|
2963
2880
|
def initialize(preference: nil); end
|
2964
2881
|
end
|
2965
2882
|
# Whether or not the payment method should be displayed.
|
2966
2883
|
sig {
|
2967
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount::DisplayPreference)
|
2884
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount::DisplayPreference))
|
2968
2885
|
}
|
2969
2886
|
attr_accessor :display_preference
|
2970
2887
|
sig {
|
2971
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount::DisplayPreference).void
|
2888
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount::DisplayPreference)).void
|
2972
2889
|
}
|
2973
2890
|
def initialize(display_preference: nil); end
|
2974
2891
|
end
|
2975
2892
|
class WechatPay < Stripe::RequestParams
|
2976
2893
|
class DisplayPreference < Stripe::RequestParams
|
2977
2894
|
# The account's preference for whether or not to display this payment method.
|
2978
|
-
sig { returns(String) }
|
2895
|
+
sig { returns(T.nilable(String)) }
|
2979
2896
|
attr_accessor :preference
|
2980
|
-
sig { params(preference: String).void }
|
2897
|
+
sig { params(preference: T.nilable(String)).void }
|
2981
2898
|
def initialize(preference: nil); end
|
2982
2899
|
end
|
2983
2900
|
# Whether or not the payment method should be displayed.
|
2984
2901
|
sig {
|
2985
|
-
returns(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay::DisplayPreference)
|
2902
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay::DisplayPreference))
|
2986
2903
|
}
|
2987
2904
|
attr_accessor :display_preference
|
2988
2905
|
sig {
|
2989
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay::DisplayPreference).void
|
2906
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay::DisplayPreference)).void
|
2990
2907
|
}
|
2991
2908
|
def initialize(display_preference: nil); end
|
2992
2909
|
end
|
2993
2910
|
class Zip < Stripe::RequestParams
|
2994
2911
|
class DisplayPreference < Stripe::RequestParams
|
2995
2912
|
# The account's preference for whether or not to display this payment method.
|
2996
|
-
sig { returns(String) }
|
2913
|
+
sig { returns(T.nilable(String)) }
|
2997
2914
|
attr_accessor :preference
|
2998
|
-
sig { params(preference: String).void }
|
2915
|
+
sig { params(preference: T.nilable(String)).void }
|
2999
2916
|
def initialize(preference: nil); end
|
3000
2917
|
end
|
3001
2918
|
# Whether or not the payment method should be displayed.
|
3002
|
-
sig {
|
2919
|
+
sig {
|
2920
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip::DisplayPreference))
|
2921
|
+
}
|
3003
2922
|
attr_accessor :display_preference
|
3004
2923
|
sig {
|
3005
|
-
params(display_preference: ::Stripe::PaymentMethodConfiguration::UpdateParams::Zip::DisplayPreference).void
|
2924
|
+
params(display_preference: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip::DisplayPreference)).void
|
3006
2925
|
}
|
3007
2926
|
def initialize(display_preference: nil); end
|
3008
2927
|
end
|
3009
2928
|
# Canadian pre-authorized debit payments, check this [page](https://stripe.com/docs/payments/acss-debit) for more details like country availability.
|
3010
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit) }
|
2929
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit)) }
|
3011
2930
|
attr_accessor :acss_debit
|
3012
2931
|
# Whether the configuration can be used for new payments.
|
3013
|
-
sig { returns(T::Boolean) }
|
2932
|
+
sig { returns(T.nilable(T::Boolean)) }
|
3014
2933
|
attr_accessor :active
|
3015
2934
|
# [Affirm](https://www.affirm.com/) gives your customers a way to split purchases over a series of payments. Depending on the purchase, they can pay with four interest-free payments (Split Pay) or pay over a longer term (Installments), which might include interest. Check this [page](https://stripe.com/docs/payments/affirm) for more details like country availability.
|
3016
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm) }
|
2935
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm)) }
|
3017
2936
|
attr_accessor :affirm
|
3018
2937
|
# Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://stripe.com/docs/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.
|
3019
|
-
sig {
|
2938
|
+
sig {
|
2939
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay))
|
2940
|
+
}
|
3020
2941
|
attr_accessor :afterpay_clearpay
|
3021
2942
|
# Alipay is a digital wallet in China that has more than a billion active users worldwide. Alipay users can pay on the web or on a mobile device using login credentials or their Alipay app. Alipay has a low dispute rate and reduces fraud by authenticating payments using the customer's login credentials. Check this [page](https://stripe.com/docs/payments/alipay) for more details.
|
3022
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay) }
|
2943
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay)) }
|
3023
2944
|
attr_accessor :alipay
|
3024
2945
|
# Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.
|
3025
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma) }
|
2946
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma)) }
|
3026
2947
|
attr_accessor :alma
|
3027
2948
|
# Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.
|
3028
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay) }
|
2949
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay)) }
|
3029
2950
|
attr_accessor :amazon_pay
|
3030
2951
|
# Stripe users can accept [Apple Pay](/payments/apple-pay) in iOS applications in iOS 9 and later, and on the web in Safari starting with iOS 10 or macOS Sierra. There are no additional fees to process Apple Pay payments, and the [pricing](/pricing) is the same as other card transactions. Check this [page](https://stripe.com/docs/apple-pay) for more details.
|
3031
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay) }
|
2952
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay)) }
|
3032
2953
|
attr_accessor :apple_pay
|
3033
2954
|
# Apple Pay Later, a payment method for customers to buy now and pay later, gives your customers a way to split purchases into four installments across six weeks.
|
3034
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater) }
|
2955
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater)) }
|
3035
2956
|
attr_accessor :apple_pay_later
|
3036
2957
|
# Stripe users in Australia can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with an Australian bank account. Check this [page](https://stripe.com/docs/payments/au-becs-debit) for more details.
|
3037
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit) }
|
2958
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit)) }
|
3038
2959
|
attr_accessor :au_becs_debit
|
3039
2960
|
# Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://stripe.com/docs/payments/payment-methods/bacs-debit) for more details.
|
3040
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit) }
|
2961
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit)) }
|
3041
2962
|
attr_accessor :bacs_debit
|
3042
2963
|
# Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://stripe.com/docs/api/customers) use a Bancontact card or mobile app linked to a Belgian bank account to make online payments that are secure, guaranteed, and confirmed immediately. Check this [page](https://stripe.com/docs/payments/bancontact) for more details.
|
3043
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact) }
|
2964
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact)) }
|
3044
2965
|
attr_accessor :bancontact
|
2966
|
+
# Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
2967
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie)) }
|
2968
|
+
attr_accessor :billie
|
3045
2969
|
# BLIK is a [single use](https://stripe.com/docs/payments/payment-methods#usage) payment method that requires customers to authenticate their payments. When customers want to pay online using BLIK, they request a six-digit code from their banking application and enter it into the payment collection form. Check this [page](https://stripe.com/docs/payments/blik) for more details.
|
3046
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik) }
|
2970
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik)) }
|
3047
2971
|
attr_accessor :blik
|
3048
2972
|
# Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://stripe.com/docs/payments/boleto) for more details.
|
3049
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto) }
|
2973
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto)) }
|
3050
2974
|
attr_accessor :boleto
|
3051
2975
|
# Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.
|
3052
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Card) }
|
2976
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card)) }
|
3053
2977
|
attr_accessor :card
|
3054
2978
|
# Cartes Bancaires is France's local card network. More than 95% of these cards are co-branded with either Visa or Mastercard, meaning you can process these cards over either Cartes Bancaires or the Visa or Mastercard networks. Check this [page](https://stripe.com/docs/payments/cartes-bancaires) for more details.
|
3055
|
-
sig {
|
2979
|
+
sig {
|
2980
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires))
|
2981
|
+
}
|
3056
2982
|
attr_accessor :cartes_bancaires
|
3057
2983
|
# Cash App is a popular consumer app in the US that allows customers to bank, invest, send, and receive money using their digital wallet. Check this [page](https://stripe.com/docs/payments/cash-app-pay) for more details.
|
3058
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp) }
|
2984
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp)) }
|
3059
2985
|
attr_accessor :cashapp
|
3060
2986
|
# Uses a customer’s [cash balance](https://stripe.com/docs/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://stripe.com/docs/payments/bank-transfers) for more details.
|
3061
|
-
sig {
|
2987
|
+
sig {
|
2988
|
+
returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance))
|
2989
|
+
}
|
3062
2990
|
attr_accessor :customer_balance
|
3063
2991
|
# EPS is an Austria-based payment method that allows customers to complete transactions online using their bank credentials. EPS is supported by all Austrian banks and is accepted by over 80% of Austrian online retailers. Check this [page](https://stripe.com/docs/payments/eps) for more details.
|
3064
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps) }
|
2992
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps)) }
|
3065
2993
|
attr_accessor :eps
|
3066
2994
|
# Specifies which fields in the response should be expanded.
|
3067
|
-
sig { returns(T::Array[String]) }
|
2995
|
+
sig { returns(T.nilable(T::Array[String])) }
|
3068
2996
|
attr_accessor :expand
|
3069
2997
|
# Financial Process Exchange (FPX) is a Malaysia-based payment method that allows customers to complete transactions online using their bank credentials. Bank Negara Malaysia (BNM), the Central Bank of Malaysia, and eleven other major Malaysian financial institutions are members of the PayNet Group, which owns and operates FPX. It is one of the most popular online payment methods in Malaysia, with nearly 90 million transactions in 2018 according to BNM. Check this [page](https://stripe.com/docs/payments/fpx) for more details.
|
3070
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx) }
|
2998
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx)) }
|
3071
2999
|
attr_accessor :fpx
|
3072
3000
|
# giropay is a German payment method based on online banking, introduced in 2006. It allows customers to complete transactions online using their online banking environment, with funds debited from their bank account. Depending on their bank, customers confirm payments on giropay using a second factor of authentication or a PIN. giropay accounts for 10% of online checkouts in Germany. Check this [page](https://stripe.com/docs/payments/giropay) for more details.
|
3073
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay) }
|
3001
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay)) }
|
3074
3002
|
attr_accessor :giropay
|
3075
3003
|
# Google Pay allows customers to make payments in your app or website using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Use the Google Pay API to request any credit or debit card stored in your customer's Google account. Check this [page](https://stripe.com/docs/google-pay) for more details.
|
3076
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay) }
|
3004
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay)) }
|
3077
3005
|
attr_accessor :google_pay
|
3078
|
-
# GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
3079
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Gopay) }
|
3080
|
-
attr_accessor :gopay
|
3081
3006
|
# GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
|
3082
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay) }
|
3007
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay)) }
|
3083
3008
|
attr_accessor :grabpay
|
3084
|
-
# Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
3085
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::IdBankTransfer) }
|
3086
|
-
attr_accessor :id_bank_transfer
|
3087
3009
|
# iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
|
3088
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal) }
|
3010
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal)) }
|
3089
3011
|
attr_accessor :ideal
|
3090
3012
|
# JCB is a credit card company based in Japan. JCB is currently available in Japan to businesses approved by JCB, and available to all businesses in Australia, Canada, Hong Kong, Japan, New Zealand, Singapore, Switzerland, United Kingdom, United States, and all countries in the European Economic Area except Iceland. Check this [page](https://support.stripe.com/questions/accepting-japan-credit-bureau-%28jcb%29-payments) for more details.
|
3091
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb) }
|
3013
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb)) }
|
3092
3014
|
attr_accessor :jcb
|
3093
3015
|
# Klarna gives customers a range of [payment options](https://stripe.com/docs/payments/klarna#payment-options) during checkout. Available payment options vary depending on the customer's billing address and the transaction amount. These payment options make it convenient for customers to purchase items in all price ranges. Check this [page](https://stripe.com/docs/payments/klarna) for more details.
|
3094
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna) }
|
3016
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna)) }
|
3095
3017
|
attr_accessor :klarna
|
3096
3018
|
# Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://stripe.com/docs/payments/konbini) for more details.
|
3097
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini) }
|
3019
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini)) }
|
3098
3020
|
attr_accessor :konbini
|
3099
3021
|
# [Link](https://stripe.com/docs/payments/link) is a payment method network. With Link, users save their payment details once, then reuse that information to pay with one click for any business on the network.
|
3100
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Link) }
|
3022
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link)) }
|
3101
3023
|
attr_accessor :link
|
3102
3024
|
# MobilePay is a [single-use](https://stripe.com/docs/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://stripe.com/docs/payments/mobilepay) for more details.
|
3103
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay) }
|
3025
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay)) }
|
3104
3026
|
attr_accessor :mobilepay
|
3105
3027
|
# Stripe users in Europe and the United States can accept Multibanco payments from customers in Portugal using [Sources](https://stripe.com/docs/sources)—a single integration path for creating payments using any supported method.
|
3106
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco) }
|
3028
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco)) }
|
3107
3029
|
attr_accessor :multibanco
|
3108
3030
|
# Configuration name.
|
3109
|
-
sig { returns(String) }
|
3031
|
+
sig { returns(T.nilable(String)) }
|
3110
3032
|
attr_accessor :name
|
3033
|
+
# Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://stripe.com/docs/payments/nz-bank-account) for more details.
|
3034
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount)) }
|
3035
|
+
attr_accessor :nz_bank_account
|
3111
3036
|
# OXXO is a Mexican chain of convenience stores with thousands of locations across Latin America and represents nearly 20% of online transactions in Mexico. OXXO allows customers to pay bills and online purchases in-store with cash. Check this [page](https://stripe.com/docs/payments/oxxo) for more details.
|
3112
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo) }
|
3037
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo)) }
|
3113
3038
|
attr_accessor :oxxo
|
3114
3039
|
# Przelewy24 is a Poland-based payment method aggregator that allows customers to complete transactions online using bank transfers and other methods. Bank transfers account for 30% of online payments in Poland and Przelewy24 provides a way for customers to pay with over 165 banks. Check this [page](https://stripe.com/docs/payments/p24) for more details.
|
3115
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::P24) }
|
3040
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24)) }
|
3116
3041
|
attr_accessor :p24
|
3117
3042
|
# Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.
|
3118
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank) }
|
3043
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank)) }
|
3119
3044
|
attr_accessor :pay_by_bank
|
3120
3045
|
# PayNow is a Singapore-based payment method that allows customers to make a payment using their preferred app from participating banks and participating non-bank financial institutions. Check this [page](https://stripe.com/docs/payments/paynow) for more details.
|
3121
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow) }
|
3046
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow)) }
|
3122
3047
|
attr_accessor :paynow
|
3123
3048
|
# PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.
|
3124
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal) }
|
3049
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal)) }
|
3125
3050
|
attr_accessor :paypal
|
3126
|
-
# PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
3127
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Payto) }
|
3128
|
-
attr_accessor :payto
|
3129
3051
|
# PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
3130
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay) }
|
3052
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay)) }
|
3131
3053
|
attr_accessor :promptpay
|
3132
|
-
# QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
3133
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Qris) }
|
3134
|
-
attr_accessor :qris
|
3135
3054
|
# Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer’s stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
3136
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay) }
|
3055
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay)) }
|
3137
3056
|
attr_accessor :revolut_pay
|
3057
|
+
# Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.
|
3058
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay)) }
|
3059
|
+
attr_accessor :satispay
|
3138
3060
|
# The [Single Euro Payments Area (SEPA)](https://en.wikipedia.org/wiki/Single_Euro_Payments_Area) is an initiative of the European Union to simplify payments within and across member countries. SEPA established and enforced banking standards to allow for the direct debiting of every EUR-denominated bank account within the SEPA region, check this [page](https://stripe.com/docs/payments/sepa-debit) for more details.
|
3139
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit) }
|
3061
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit)) }
|
3140
3062
|
attr_accessor :sepa_debit
|
3141
|
-
# ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
3142
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Shopeepay) }
|
3143
|
-
attr_accessor :shopeepay
|
3144
3063
|
# Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
|
3145
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort) }
|
3064
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort)) }
|
3146
3065
|
attr_accessor :sofort
|
3147
3066
|
# Swish is a [real-time](https://stripe.com/docs/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://stripe.com/docs/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://stripe.com/docs/payments/swish) for more details.
|
3148
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish) }
|
3067
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish)) }
|
3149
3068
|
attr_accessor :swish
|
3150
3069
|
# Twint is a payment method popular in Switzerland. It allows customers to pay using their mobile phone. Check this [page](https://docs.stripe.com/payments/twint) for more details.
|
3151
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint) }
|
3070
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint)) }
|
3152
3071
|
attr_accessor :twint
|
3153
3072
|
# Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-direct-debit) for more details.
|
3154
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount) }
|
3073
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount)) }
|
3155
3074
|
attr_accessor :us_bank_account
|
3156
3075
|
# WeChat, owned by Tencent, is China's leading mobile app with over 1 billion monthly active users. Chinese consumers can use WeChat Pay to pay for goods and services inside of businesses' apps and websites. WeChat Pay users buy most frequently in gaming, e-commerce, travel, online education, and food/nutrition. Check this [page](https://stripe.com/docs/payments/wechat-pay) for more details.
|
3157
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay) }
|
3076
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay)) }
|
3158
3077
|
attr_accessor :wechat_pay
|
3159
3078
|
# Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.
|
3160
|
-
sig { returns(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip) }
|
3079
|
+
sig { returns(T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip)) }
|
3161
3080
|
attr_accessor :zip
|
3162
3081
|
sig {
|
3163
|
-
params(acss_debit: ::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit, active: T::Boolean, affirm: ::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm, afterpay_clearpay: ::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay, alipay: ::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay, alma: ::Stripe::PaymentMethodConfiguration::UpdateParams::Alma, amazon_pay: ::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay, apple_pay: ::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay, apple_pay_later: ::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater, au_becs_debit: ::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit, bacs_debit: ::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit, bancontact: ::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact, blik: ::Stripe::PaymentMethodConfiguration::UpdateParams::Blik, boleto: ::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto, card: ::Stripe::PaymentMethodConfiguration::UpdateParams::Card, cartes_bancaires: ::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires, cashapp: ::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp, customer_balance: ::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance, eps: ::Stripe::PaymentMethodConfiguration::UpdateParams::Eps, expand: T::Array[String], fpx: ::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx, giropay: ::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay, google_pay: ::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay,
|
3082
|
+
params(acss_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AcssDebit), active: T.nilable(T::Boolean), affirm: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Affirm), afterpay_clearpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AfterpayClearpay), alipay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alipay), alma: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Alma), amazon_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AmazonPay), apple_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePay), apple_pay_later: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::ApplePayLater), au_becs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::AuBecsDebit), bacs_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::BacsDebit), bancontact: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Bancontact), billie: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Billie), blik: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Blik), boleto: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Boleto), card: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Card), cartes_bancaires: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CartesBancaires), cashapp: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Cashapp), customer_balance: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::CustomerBalance), eps: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Eps), expand: T.nilable(T::Array[String]), fpx: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Fpx), giropay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Giropay), google_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::GooglePay), grabpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Grabpay), ideal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Ideal), jcb: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Jcb), klarna: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Klarna), konbini: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Konbini), link: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Link), mobilepay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Mobilepay), multibanco: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Multibanco), name: T.nilable(String), nz_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::NzBankAccount), oxxo: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Oxxo), p24: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::P24), pay_by_bank: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::PayByBank), paynow: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paynow), paypal: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Paypal), promptpay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay), revolut_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::RevolutPay), satispay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Satispay), sepa_debit: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::SepaDebit), sofort: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Sofort), swish: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Swish), twint: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Twint), us_bank_account: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::UsBankAccount), wechat_pay: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::WechatPay), zip: T.nilable(::Stripe::PaymentMethodConfiguration::UpdateParams::Zip)).void
|
3164
3083
|
}
|
3165
3084
|
def initialize(
|
3166
3085
|
acss_debit: nil,
|
@@ -3175,6 +3094,7 @@ module Stripe
|
|
3175
3094
|
au_becs_debit: nil,
|
3176
3095
|
bacs_debit: nil,
|
3177
3096
|
bancontact: nil,
|
3097
|
+
billie: nil,
|
3178
3098
|
blik: nil,
|
3179
3099
|
boleto: nil,
|
3180
3100
|
card: nil,
|
@@ -3186,9 +3106,7 @@ module Stripe
|
|
3186
3106
|
fpx: nil,
|
3187
3107
|
giropay: nil,
|
3188
3108
|
google_pay: nil,
|
3189
|
-
gopay: nil,
|
3190
3109
|
grabpay: nil,
|
3191
|
-
id_bank_transfer: nil,
|
3192
3110
|
ideal: nil,
|
3193
3111
|
jcb: nil,
|
3194
3112
|
klarna: nil,
|
@@ -3197,17 +3115,16 @@ module Stripe
|
|
3197
3115
|
mobilepay: nil,
|
3198
3116
|
multibanco: nil,
|
3199
3117
|
name: nil,
|
3118
|
+
nz_bank_account: nil,
|
3200
3119
|
oxxo: nil,
|
3201
3120
|
p24: nil,
|
3202
3121
|
pay_by_bank: nil,
|
3203
3122
|
paynow: nil,
|
3204
3123
|
paypal: nil,
|
3205
|
-
payto: nil,
|
3206
3124
|
promptpay: nil,
|
3207
|
-
qris: nil,
|
3208
3125
|
revolut_pay: nil,
|
3126
|
+
satispay: nil,
|
3209
3127
|
sepa_debit: nil,
|
3210
|
-
shopeepay: nil,
|
3211
3128
|
sofort: nil,
|
3212
3129
|
swish: nil,
|
3213
3130
|
twint: nil,
|