#[non_exhaustive]pub enum CreateSubscriptionPaymentSettingsPaymentMethodTypes {
Show 40 variants
AchCreditTransfer,
AchDebit,
AcssDebit,
Affirm,
AmazonPay,
AuBecsDebit,
BacsDebit,
Bancontact,
Boleto,
Card,
Cashapp,
Crypto,
CustomerBalance,
Eps,
Fpx,
Giropay,
Grabpay,
Ideal,
JpCreditTransfer,
KakaoPay,
Klarna,
Konbini,
KrCard,
Link,
Multibanco,
NaverPay,
NzBankAccount,
P24,
Payco,
Paynow,
Paypal,
Promptpay,
RevolutPay,
SepaCreditTransfer,
SepaDebit,
Sofort,
Swish,
UsBankAccount,
WechatPay,
Unknown(String),
}
Expand description
The list of payment method types (e.g. card) to provide to the invoice’s PaymentIntent. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your invoice template settings. Should not be specified with payment_method_configuration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AchCreditTransfer
AchDebit
AcssDebit
Affirm
AmazonPay
AuBecsDebit
BacsDebit
Bancontact
Boleto
Card
Cashapp
Crypto
CustomerBalance
Eps
Fpx
Giropay
Grabpay
Ideal
JpCreditTransfer
KakaoPay
Klarna
Konbini
KrCard
Link
Multibanco
NzBankAccount
P24
Payco
Paynow
Paypal
Promptpay
RevolutPay
SepaCreditTransfer
SepaDebit
Sofort
Swish
UsBankAccount
WechatPay
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CreateSubscriptionPaymentSettingsPaymentMethodTypes
impl Clone for CreateSubscriptionPaymentSettingsPaymentMethodTypes
Source§fn clone(&self) -> CreateSubscriptionPaymentSettingsPaymentMethodTypes
fn clone(&self) -> CreateSubscriptionPaymentSettingsPaymentMethodTypes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for CreateSubscriptionPaymentSettingsPaymentMethodTypes
impl PartialEq for CreateSubscriptionPaymentSettingsPaymentMethodTypes
Source§fn eq(
&self,
other: &CreateSubscriptionPaymentSettingsPaymentMethodTypes,
) -> bool
fn eq( &self, other: &CreateSubscriptionPaymentSettingsPaymentMethodTypes, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for CreateSubscriptionPaymentSettingsPaymentMethodTypes
impl StructuralPartialEq for CreateSubscriptionPaymentSettingsPaymentMethodTypes
Auto Trait Implementations§
impl Freeze for CreateSubscriptionPaymentSettingsPaymentMethodTypes
impl RefUnwindSafe for CreateSubscriptionPaymentSettingsPaymentMethodTypes
impl Send for CreateSubscriptionPaymentSettingsPaymentMethodTypes
impl Sync for CreateSubscriptionPaymentSettingsPaymentMethodTypes
impl Unpin for CreateSubscriptionPaymentSettingsPaymentMethodTypes
impl UnwindSafe for CreateSubscriptionPaymentSettingsPaymentMethodTypes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more