pub struct PaymentFlowsAutomaticPaymentMethodsSetupIntent {
pub allow_redirects: Option<PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects>,
pub enabled: Option<bool>,
}Fields§
§allow_redirects: Option<PaymentFlowsAutomaticPaymentMethodsSetupIntentAllowRedirects>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.
enabled: Option<bool>Automatically calculates compatible payment methods
Trait Implementations§
Source§impl Clone for PaymentFlowsAutomaticPaymentMethodsSetupIntent
impl Clone for PaymentFlowsAutomaticPaymentMethodsSetupIntent
Source§fn clone(&self) -> PaymentFlowsAutomaticPaymentMethodsSetupIntent
fn clone(&self) -> PaymentFlowsAutomaticPaymentMethodsSetupIntent
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 PaymentFlowsAutomaticPaymentMethodsSetupIntent
impl FromValueOpt for PaymentFlowsAutomaticPaymentMethodsSetupIntent
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentFlowsAutomaticPaymentMethodsSetupIntent
impl RefUnwindSafe for PaymentFlowsAutomaticPaymentMethodsSetupIntent
impl Send for PaymentFlowsAutomaticPaymentMethodsSetupIntent
impl Sync for PaymentFlowsAutomaticPaymentMethodsSetupIntent
impl Unpin for PaymentFlowsAutomaticPaymentMethodsSetupIntent
impl UnwindSafe for PaymentFlowsAutomaticPaymentMethodsSetupIntent
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