pub struct UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions {
pub amount: Option<i64>,
pub amount_type: Option<UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptionsAmountType>,
pub description: Option<String>,
}
Fields§
§amount: Option<i64>
Amount to be charged for future payments.
amount_type: Option<UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptionsAmountType>
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 UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl Clone for UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
source§fn clone(
&self
) -> UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
fn clone( &self ) -> UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
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 UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl Default for UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
source§fn default(
) -> UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
fn default( ) -> UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl<'de> Deserialize<'de> for UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
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 UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl RefUnwindSafe for UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl Send for UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl Sync for UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl Unpin for UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
impl UnwindSafe for UpdateSubscriptionPaymentSettingsPaymentMethodOptionsCardMandateOptions
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