pub struct UpdateSetupIntentPaymentMethodDataUpiMandateOptions {
pub amount: Option<i64>,
pub amount_type: Option<UpdateSetupIntentPaymentMethodDataUpiMandateOptionsAmountType>,
pub description: Option<String>,
pub end_date: Option<Timestamp>,
}Expand description
Configuration options for setting up an eMandate
Fields§
§amount: Option<i64>Amount to be charged for future payments.
amount_type: Option<UpdateSetupIntentPaymentMethodDataUpiMandateOptionsAmountType>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.
end_date: Option<Timestamp>End date of the mandate or subscription.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
impl Clone for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
Source§fn clone(&self) -> UpdateSetupIntentPaymentMethodDataUpiMandateOptions
fn clone(&self) -> UpdateSetupIntentPaymentMethodDataUpiMandateOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
impl PartialEq for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
Source§fn eq(
&self,
other: &UpdateSetupIntentPaymentMethodDataUpiMandateOptions,
) -> bool
fn eq( &self, other: &UpdateSetupIntentPaymentMethodDataUpiMandateOptions, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
impl StructuralPartialEq for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
Auto Trait Implementations§
impl Freeze for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
impl RefUnwindSafe for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
impl Send for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
impl Sync for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
impl Unpin for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
impl UnsafeUnpin for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
impl UnwindSafe for UpdateSetupIntentPaymentMethodDataUpiMandateOptions
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