pub struct CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions {
pub custom_mandate_url: Option<String>,
pub default_for: Option<Vec<CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptionsDefaultFor>>,
pub interval_description: Option<String>,
pub payment_schedule: Option<CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptionsPaymentSchedule>,
pub transaction_type: Option<CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptionsTransactionType>,
}
Fields§
§custom_mandate_url: Option<String>
A URL for custom mandate text to render during confirmation step.
The URL will be rendered with additional GET parameters payment_intent
and payment_intent_client_secret
when confirming a Payment Intent,
or setup_intent
and setup_intent_client_secret
when confirming a Setup Intent.
default_for: Option<Vec<CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptionsDefaultFor>>
List of Stripe products where this mandate can be selected automatically.
Only usable in setup
mode.
interval_description: Option<String>
Description of the mandate interval.
Only required if ‘payment_schedule’ parameter is ‘interval’ or ‘combined’.
payment_schedule: Option<CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptionsPaymentSchedule>
Payment schedule for the mandate.
transaction_type: Option<CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptionsTransactionType>
Transaction type of the mandate.
Trait Implementations§
source§impl Clone for CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
impl Clone for CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
source§fn clone(
&self
) -> CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
fn clone( &self ) -> CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
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 CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
impl Default for CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
source§fn default() -> CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
fn default() -> CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
impl<'de> Deserialize<'de> for CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
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 Freeze for CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
impl RefUnwindSafe for CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
impl Send for CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
impl Sync for CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
impl Unpin for CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
impl UnwindSafe for CreateCheckoutSessionPaymentMethodOptionsAcssDebitMandateOptions
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