#[non_exhaustive]pub enum PaymentMethodType {
Show 56 variants
AcssDebit,
Affirm,
AfterpayClearpay,
Alipay,
Alma,
AmazonPay,
AuBecsDebit,
BacsDebit,
Bancontact,
Billie,
Blik,
Boleto,
Card,
CardPresent,
Cashapp,
Crypto,
Custom,
CustomerBalance,
Eps,
Fpx,
Giropay,
Grabpay,
Ideal,
InteracPresent,
KakaoPay,
Klarna,
Konbini,
KrCard,
Link,
MbWay,
Mobilepay,
Multibanco,
NaverPay,
NzBankAccount,
Oxxo,
P24,
PayByBank,
Payco,
Paynow,
Paypal,
Payto,
Pix,
Promptpay,
RevolutPay,
SamsungPay,
Satispay,
SepaDebit,
Sofort,
Sunbit,
Swish,
Twint,
Upi,
UsBankAccount,
WechatPay,
Zip,
Unknown(String),
}Expand description
The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
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.
AcssDebit
Affirm
AfterpayClearpay
Alipay
Alma
AmazonPay
AuBecsDebit
BacsDebit
Bancontact
Billie
Blik
Boleto
Card
CardPresent
Cashapp
Crypto
Custom
CustomerBalance
Eps
Fpx
Giropay
Grabpay
Ideal
InteracPresent
KakaoPay
Klarna
Konbini
KrCard
Link
MbWay
Mobilepay
Multibanco
NzBankAccount
Oxxo
P24
PayByBank
Payco
Paynow
Paypal
Payto
Pix
Promptpay
RevolutPay
SamsungPay
Satispay
SepaDebit
Sofort
Sunbit
Swish
Twint
Upi
UsBankAccount
WechatPay
Zip
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for PaymentMethodType
impl Clone for PaymentMethodType
Source§fn clone(&self) -> PaymentMethodType
fn clone(&self) -> PaymentMethodType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaymentMethodType
Available on non-crate feature redact-generated-debug only.
impl Debug for PaymentMethodType
Available on non-crate feature
redact-generated-debug only.Source§impl Deserialize for PaymentMethodType
impl Deserialize for PaymentMethodType
Source§impl Display for PaymentMethodType
impl Display for PaymentMethodType
Source§impl FromStr for PaymentMethodType
impl FromStr for PaymentMethodType
Source§impl FromValueOpt for PaymentMethodType
impl FromValueOpt for PaymentMethodType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentMethodType
impl PartialEq for PaymentMethodType
Source§fn eq(&self, other: &PaymentMethodType) -> bool
fn eq(&self, other: &PaymentMethodType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentMethodType
impl StructuralPartialEq for PaymentMethodType
Auto Trait Implementations§
impl Freeze for PaymentMethodType
impl RefUnwindSafe for PaymentMethodType
impl Send for PaymentMethodType
impl Sync for PaymentMethodType
impl Unpin for PaymentMethodType
impl UnsafeUnpin for PaymentMethodType
impl UnwindSafe for PaymentMethodType
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