#[non_exhaustive]pub enum SubscriptionsResourcePaymentSettingsPaymentMethodTypes {
Show 39 variants
AchCreditTransfer,
AchDebit,
AcssDebit,
Affirm,
AmazonPay,
AuBecsDebit,
BacsDebit,
Bancontact,
Boleto,
Card,
Cashapp,
CustomerBalance,
Eps,
Fpx,
Giropay,
Grabpay,
Ideal,
JpCreditTransfer,
KakaoPay,
Klarna,
Konbini,
KrCard,
Link,
Multibanco,
NaverPay,
NzBankAccount,
P24,
Payco,
Paynow,
Paypal,
Promptpay,
RevolutPay,
SepaCreditTransfer,
SepaDebit,
Sofort,
Swish,
UsBankAccount,
WechatPay,
Unknown(String),
}
Expand description
The list of payment method types to provide to every invoice created by the subscription. If not set, Stripe attempts to automatically determine the types to use by looking at the invoice’s default payment method, the subscription’s default payment method, the customer’s default payment method, and your invoice template settings.
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.
AchCreditTransfer
AchDebit
AcssDebit
Affirm
AmazonPay
AuBecsDebit
BacsDebit
Bancontact
Boleto
Card
Cashapp
CustomerBalance
Eps
Fpx
Giropay
Grabpay
Ideal
JpCreditTransfer
KakaoPay
Klarna
Konbini
KrCard
Link
Multibanco
NzBankAccount
P24
Payco
Paynow
Paypal
Promptpay
RevolutPay
SepaCreditTransfer
SepaDebit
Sofort
Swish
UsBankAccount
WechatPay
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
impl Clone for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
Source§fn clone(&self) -> SubscriptionsResourcePaymentSettingsPaymentMethodTypes
fn clone(&self) -> SubscriptionsResourcePaymentSettingsPaymentMethodTypes
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 FromValueOpt for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
impl FromValueOpt for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
impl PartialEq for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
Source§fn eq(
&self,
other: &SubscriptionsResourcePaymentSettingsPaymentMethodTypes,
) -> bool
fn eq( &self, other: &SubscriptionsResourcePaymentSettingsPaymentMethodTypes, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
impl StructuralPartialEq for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
Auto Trait Implementations§
impl Freeze for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
impl RefUnwindSafe for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
impl Send for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
impl Sync for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
impl Unpin for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
impl UnwindSafe for SubscriptionsResourcePaymentSettingsPaymentMethodTypes
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