pub enum PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects {
Always,
Never,
}
Expand description
Controls whether this PaymentIntent 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 PaymentIntent, you may be required to provide a return_url
to redirect customers back to your site after they authenticate or complete the payment.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
impl Clone for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
Source§fn clone(
&self,
) -> PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
fn clone( &self, ) -> PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
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 PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
impl FromValueOpt for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
impl PartialEq for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
Source§fn eq(
&self,
other: &PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects,
) -> bool
fn eq( &self, other: &PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
impl Eq for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
impl StructuralPartialEq for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
Auto Trait Implementations§
impl Freeze for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
impl RefUnwindSafe for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
impl Send for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
impl Sync for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
impl Unpin for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
impl UnwindSafe for PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects
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