Struct stripe::generated::core::payment_intent::PaymentFlowsAutomaticPaymentMethodsPaymentIntent
source · pub struct PaymentFlowsAutomaticPaymentMethodsPaymentIntent {
pub allow_redirects: Option<PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects>,
pub enabled: bool,
}
Fields§
§allow_redirects: Option<PaymentFlowsAutomaticPaymentMethodsPaymentIntentAllowRedirects>
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.
enabled: bool
Automatically calculates compatible payment methods.
Trait Implementations§
source§impl Clone for PaymentFlowsAutomaticPaymentMethodsPaymentIntent
impl Clone for PaymentFlowsAutomaticPaymentMethodsPaymentIntent
source§fn clone(&self) -> PaymentFlowsAutomaticPaymentMethodsPaymentIntent
fn clone(&self) -> PaymentFlowsAutomaticPaymentMethodsPaymentIntent
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 Default for PaymentFlowsAutomaticPaymentMethodsPaymentIntent
impl Default for PaymentFlowsAutomaticPaymentMethodsPaymentIntent
source§fn default() -> PaymentFlowsAutomaticPaymentMethodsPaymentIntent
fn default() -> PaymentFlowsAutomaticPaymentMethodsPaymentIntent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentFlowsAutomaticPaymentMethodsPaymentIntent
impl<'de> Deserialize<'de> for PaymentFlowsAutomaticPaymentMethodsPaymentIntent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PaymentFlowsAutomaticPaymentMethodsPaymentIntent
impl Send for PaymentFlowsAutomaticPaymentMethodsPaymentIntent
impl Sync for PaymentFlowsAutomaticPaymentMethodsPaymentIntent
impl Unpin for PaymentFlowsAutomaticPaymentMethodsPaymentIntent
impl UnwindSafe for PaymentFlowsAutomaticPaymentMethodsPaymentIntent
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