pub struct CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions {
pub amount: Option<i64>,
pub amount_type: Option<CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptionsAmountType>,
pub description: Option<String>,
}
Fields§
§amount: Option<i64>
Amount to be charged for future payments.
amount_type: Option<CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptionsAmountType>
One of fixed
or maximum
.
If fixed
, the amount
param refers to the exact amount to be charged in future payments.
If maximum
, the amount charged can be up to the value passed for the amount
param.
description: Option<String>
A description of the mandate or subscription that is meant to be displayed to the customer.
Trait Implementations§
source§impl Clone for CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl Clone for CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
source§fn clone(
&self
) -> CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
fn clone( &self ) -> CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
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 CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl Default for CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
source§fn default(
) -> CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
fn default( ) -> CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl<'de> Deserialize<'de> for CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
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 CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl Send for CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl Sync for CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl Unpin for CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl UnwindSafe for CreateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
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