#[non_exhaustive]pub enum PaymentMethodType {
Show 50 variants
AcssDebit,
Affirm,
AfterpayClearpay,
Alipay,
Alma,
AmazonPay,
AuBecsDebit,
BacsDebit,
Bancontact,
Billie,
Blik,
Boleto,
Card,
CardPresent,
Cashapp,
CustomerBalance,
Eps,
Fpx,
Giropay,
Grabpay,
Ideal,
InteracPresent,
KakaoPay,
Klarna,
Konbini,
KrCard,
Link,
Mobilepay,
Multibanco,
NaverPay,
NzBankAccount,
Oxxo,
P24,
PayByBank,
Payco,
Paynow,
Paypal,
Pix,
Promptpay,
RevolutPay,
SamsungPay,
Satispay,
SepaDebit,
Sofort,
Swish,
Twint,
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
CustomerBalance
Eps
Fpx
Giropay
Grabpay
Ideal
InteracPresent
KakaoPay
Klarna
Konbini
KrCard
Link
Mobilepay
Multibanco
NzBankAccount
Oxxo
P24
PayByBank
Payco
Paynow
Paypal
Pix
Promptpay
RevolutPay
SamsungPay
Satispay
SepaDebit
Sofort
Swish
Twint
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 · 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
impl Debug for PaymentMethodType
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
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 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