pub enum PaymentMethodType {
Show 21 variants
Alipay,
ApplePay,
Bancontact,
Blik,
Card,
GooglePay,
Ideal,
KakaoPay,
KoreaLocal,
SouthKoreaLocalCard,
MbWay,
NaverPay,
Offline,
Payco,
Paypal,
Pix,
SamsungPay,
Unknown,
Upi,
WechatPay,
WireTransfer,
}Expand description
Type of payment method used for this payment attempt.
Variants§
Alipay
Alipay, popular in China.
ApplePay
Apple Pay on a supported Apple device.
Bancontact
Bancontact, popular in Belgium.
Blik
BLIK, a popular payment method in Poland.
Card
Credit or debit card.
GooglePay
Google Pay on a supported Android device, Chromebook, or Google Chrome browser.
Ideal
iDEAL, popular in the Netherlands.
KakaoPay
Kakao Pay, a popular payment method in Korea.
KoreaLocal
Korean payment methods, which includes over 20 payment options for the Korean market. Check underlying_payment_method.korea_local for information about the Korean payment method used to pay.
SouthKoreaLocalCard
Korean local credit or debit card.
MbWay
MB WAY, a popular payment method in Portugal.
Naver Pay, a popular payment method in Korea.
Offline
Payment recorded offline.
Payco
Payco, a popular payment method in Korea.
Paypal
PayPal.
Pix
Pix, popular in Brazil. Available in early access.
SamsungPay
Samsung Pay, a popular payment method in Korea.
Unknown
Payment method not known.
Upi
Unified Payments Interface (UPI), popular in India. Available in early access.
WechatPay
WeChat Pay, a popular payment method in China.
WireTransfer
Wire transfer, sometimes called bank transfer.
Trait Implementations§
Source§impl Clone for PaymentMethodType
impl Clone for PaymentMethodType
Source§fn clone(&self) -> PaymentMethodType
fn clone(&self) -> PaymentMethodType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for PaymentMethodType
Source§impl Debug for PaymentMethodType
impl Debug for PaymentMethodType
Source§impl<'de> Deserialize<'de> for PaymentMethodType
impl<'de> Deserialize<'de> for PaymentMethodType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PaymentMethodType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PaymentMethodType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for PaymentMethodType
Source§impl Hash for PaymentMethodType
impl Hash for PaymentMethodType
Source§impl Ord for PaymentMethodType
impl Ord for PaymentMethodType
Source§fn cmp(&self, other: &PaymentMethodType) -> Ordering
fn cmp(&self, other: &PaymentMethodType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for PaymentMethodType
impl PartialEq for PaymentMethodType
Source§fn eq(&self, other: &PaymentMethodType) -> bool
fn eq(&self, other: &PaymentMethodType) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PaymentMethodType
impl PartialOrd for PaymentMethodType
Source§impl Serialize for PaymentMethodType
impl Serialize for PaymentMethodType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.