pub struct CreateSetupIntentPaymentMethodOptionsCard {
pub mandate_options: Option<CreateSetupIntentPaymentMethodOptionsCardMandateOptions>,
pub moto: Option<bool>,
pub network: Option<CreateSetupIntentPaymentMethodOptionsCardNetwork>,
pub request_three_d_secure: Option<CreateSetupIntentPaymentMethodOptionsCardRequestThreeDSecure>,
pub three_d_secure: Option<CreateSetupIntentPaymentMethodOptionsCardThreeDSecure>,
}Fields§
§mandate_options: Option<CreateSetupIntentPaymentMethodOptionsCardMandateOptions>Configuration options for setting up an eMandate for cards issued in India.
moto: Option<bool>When specified, this parameter signals that a card has been collected as MOTO (Mail Order Telephone Order) and thus out of scope for SCA.
This parameter can only be provided during confirmation.
network: Option<CreateSetupIntentPaymentMethodOptionsCardNetwork>Selected network to process this SetupIntent on.
Depends on the available networks of the card attached to the SetupIntent. Can be only set confirm-time.
request_three_d_secure: Option<CreateSetupIntentPaymentMethodOptionsCardRequestThreeDSecure>We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements.
However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option.
If not provided, this value defaults to automatic.
Read our guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and our SCA Engine.
three_d_secure: Option<CreateSetupIntentPaymentMethodOptionsCardThreeDSecure>If 3D Secure authentication was performed with a third-party provider, the authentication details to use for this setup.
Trait Implementations§
source§impl Clone for CreateSetupIntentPaymentMethodOptionsCard
impl Clone for CreateSetupIntentPaymentMethodOptionsCard
source§fn clone(&self) -> CreateSetupIntentPaymentMethodOptionsCard
fn clone(&self) -> CreateSetupIntentPaymentMethodOptionsCard
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateSetupIntentPaymentMethodOptionsCard
impl Default for CreateSetupIntentPaymentMethodOptionsCard
source§fn default() -> CreateSetupIntentPaymentMethodOptionsCard
fn default() -> CreateSetupIntentPaymentMethodOptionsCard
source§impl<'de> Deserialize<'de> for CreateSetupIntentPaymentMethodOptionsCard
impl<'de> Deserialize<'de> for CreateSetupIntentPaymentMethodOptionsCard
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>,
Auto Trait Implementations§
impl Freeze for CreateSetupIntentPaymentMethodOptionsCard
impl RefUnwindSafe for CreateSetupIntentPaymentMethodOptionsCard
impl Send for CreateSetupIntentPaymentMethodOptionsCard
impl Sync for CreateSetupIntentPaymentMethodOptionsCard
impl Unpin for CreateSetupIntentPaymentMethodOptionsCard
impl UnwindSafe for CreateSetupIntentPaymentMethodOptionsCard
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)