#[non_exhaustive]pub enum CreatePaymentMethodType {
Show 53 variants
AcssDebit,
Affirm,
AfterpayClearpay,
Alipay,
Alma,
AmazonPay,
AuBecsDebit,
BacsDebit,
Bancontact,
Billie,
Blik,
Boleto,
Card,
Cashapp,
Crypto,
Custom,
CustomerBalance,
Eps,
Fpx,
Giropay,
Grabpay,
Ideal,
KakaoPay,
Klarna,
Konbini,
KrCard,
Link,
MbWay,
Mobilepay,
Multibanco,
NaverPay,
NzBankAccount,
Oxxo,
P24,
PayByBank,
Payco,
Paynow,
Paypal,
Payto,
Pix,
Promptpay,
RevolutPay,
SamsungPay,
Satispay,
SepaDebit,
Sofort,
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
Cashapp
Crypto
Custom
CustomerBalance
Eps
Fpx
Giropay
Grabpay
Ideal
KakaoPay
Klarna
Konbini
KrCard
Link
MbWay
Mobilepay
Multibanco
NzBankAccount
Oxxo
P24
PayByBank
Payco
Paynow
Paypal
Payto
Pix
Promptpay
RevolutPay
SamsungPay
Satispay
SepaDebit
Sofort
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 CreatePaymentMethodType
impl Clone for CreatePaymentMethodType
Source§fn clone(&self) -> CreatePaymentMethodType
fn clone(&self) -> CreatePaymentMethodType
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 CreatePaymentMethodType
Available on non-crate feature redact-generated-debug only.
impl Debug for CreatePaymentMethodType
Available on non-crate feature
redact-generated-debug only.Source§impl Display for CreatePaymentMethodType
impl Display for CreatePaymentMethodType
Source§impl FromStr for CreatePaymentMethodType
impl FromStr for CreatePaymentMethodType
Source§impl PartialEq for CreatePaymentMethodType
impl PartialEq for CreatePaymentMethodType
Source§impl Serialize for CreatePaymentMethodType
impl Serialize for CreatePaymentMethodType
impl Eq for CreatePaymentMethodType
impl StructuralPartialEq for CreatePaymentMethodType
Auto Trait Implementations§
impl Freeze for CreatePaymentMethodType
impl RefUnwindSafe for CreatePaymentMethodType
impl Send for CreatePaymentMethodType
impl Sync for CreatePaymentMethodType
impl Unpin for CreatePaymentMethodType
impl UnsafeUnpin for CreatePaymentMethodType
impl UnwindSafe for CreatePaymentMethodType
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