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 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 FromValueOpt for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
impl FromValueOpt for PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects
fn from_value(v: Value) -> Option<Self>
Source§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