pub enum PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects {
Always,
Never,
}
Expand description
Controls whether this SetupIntent will accept redirect-based payment methods.
Redirect-based payment methods may require your customer to be redirected to a payment method’s app or site for authentication or additional steps.
To confirm this SetupIntent, you may be required to provide a return_url
to redirect customers back to your site after they authenticate or complete the setup.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
impl Clone for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
Source§fn clone(&self) -> PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
fn clone(&self) -> PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
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 FromStr for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
impl FromStr for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
Source§type Err = StripeParseError
type Err = StripeParseError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects, <PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects as FromStr>::Err>
fn from_str( s: &str, ) -> Result<PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects, <PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§impl PartialEq for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
impl PartialEq for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
Source§fn eq(
&self,
other: &PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects,
) -> bool
fn eq( &self, other: &PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
impl Eq for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
impl StructuralPartialEq for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
Auto Trait Implementations§
impl Freeze for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
impl RefUnwindSafe for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
impl Send for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
impl Sync for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
impl Unpin for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
impl UnwindSafe for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
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