Enum stripe::PaymentMethodType
source · pub enum PaymentMethodType {
Show 35 variants
AcssDebit,
Affirm,
AfterpayClearpay,
Alipay,
AuBecsDebit,
BacsDebit,
Bancontact,
Blik,
Boleto,
Card,
CardPresent,
Cashapp,
CustomerBalance,
Eps,
Fpx,
Giropay,
Grabpay,
Ideal,
InteracPresent,
Klarna,
Konbini,
Link,
Oxxo,
P24,
Paynow,
Paypal,
Pix,
Promptpay,
RevolutPay,
SepaDebit,
Sofort,
Swish,
UsBankAccount,
WechatPay,
Zip,
}
Expand description
An enum representing the possible values of an PaymentMethod
’s type
field.
Variants§
AcssDebit
Affirm
AfterpayClearpay
Alipay
AuBecsDebit
BacsDebit
Bancontact
Blik
Boleto
Card
CardPresent
Cashapp
CustomerBalance
Eps
Fpx
Giropay
Grabpay
Ideal
InteracPresent
Klarna
Konbini
Link
Oxxo
P24
Paynow
Paypal
Pix
Promptpay
RevolutPay
SepaDebit
Sofort
Swish
UsBankAccount
WechatPay
Zip
Implementations§
Trait Implementations§
source§impl AsRef<str> for PaymentMethodType
impl AsRef<str> for PaymentMethodType
source§impl Clone for PaymentMethodType
impl Clone for PaymentMethodType
source§fn clone(&self) -> PaymentMethodType
fn clone(&self) -> PaymentMethodType
Returns a copy 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 Default for PaymentMethodType
impl Default for PaymentMethodType
source§impl<'de> Deserialize<'de> for PaymentMethodType
impl<'de> Deserialize<'de> for PaymentMethodType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for PaymentMethodType
impl Display for PaymentMethodType
source§impl PartialEq for PaymentMethodType
impl PartialEq for PaymentMethodType
source§fn eq(&self, other: &PaymentMethodType) -> bool
fn eq(&self, other: &PaymentMethodType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PaymentMethodType
impl Serialize for PaymentMethodType
impl Copy 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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.