#[non_exhaustive]pub enum UpdateSubscriptionPaymentSettingsPaymentMethodTypes {
Show 40 variants
AchCreditTransfer,
AchDebit,
AcssDebit,
Affirm,
AmazonPay,
AuBecsDebit,
BacsDebit,
Bancontact,
Boleto,
Card,
Cashapp,
Crypto,
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 (e.g. card) to provide to the invoice’s PaymentIntent. 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. Should not be specified with payment_method_configuration.
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
Crypto
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 UpdateSubscriptionPaymentSettingsPaymentMethodTypes
impl Clone for UpdateSubscriptionPaymentSettingsPaymentMethodTypes
Source§fn clone(&self) -> UpdateSubscriptionPaymentSettingsPaymentMethodTypes
fn clone(&self) -> UpdateSubscriptionPaymentSettingsPaymentMethodTypes
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 PartialEq for UpdateSubscriptionPaymentSettingsPaymentMethodTypes
impl PartialEq for UpdateSubscriptionPaymentSettingsPaymentMethodTypes
Source§fn eq(
&self,
other: &UpdateSubscriptionPaymentSettingsPaymentMethodTypes,
) -> bool
fn eq( &self, other: &UpdateSubscriptionPaymentSettingsPaymentMethodTypes, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for UpdateSubscriptionPaymentSettingsPaymentMethodTypes
impl StructuralPartialEq for UpdateSubscriptionPaymentSettingsPaymentMethodTypes
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionPaymentSettingsPaymentMethodTypes
impl RefUnwindSafe for UpdateSubscriptionPaymentSettingsPaymentMethodTypes
impl Send for UpdateSubscriptionPaymentSettingsPaymentMethodTypes
impl Sync for UpdateSubscriptionPaymentSettingsPaymentMethodTypes
impl Unpin for UpdateSubscriptionPaymentSettingsPaymentMethodTypes
impl UnwindSafe for UpdateSubscriptionPaymentSettingsPaymentMethodTypes
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