pub struct MandateUpi {
pub amount: Option<i64>,
pub amount_type: Option<MandateUpiAmountType>,
pub description: Option<String>,
pub end_date: Option<Timestamp>,
}Fields§
§amount: Option<i64>Amount to be charged for future payments.
amount_type: Option<MandateUpiAmountType>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.
Trait Implementations§
Source§impl Clone for MandateUpi
impl Clone for MandateUpi
Source§fn clone(&self) -> MandateUpi
fn clone(&self) -> MandateUpi
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 Debug for MandateUpi
impl Debug for MandateUpi
Source§impl Deserialize for MandateUpi
impl Deserialize for MandateUpi
Source§impl FromValueOpt for MandateUpi
impl FromValueOpt for MandateUpi
fn from_value(v: Value) -> Option<Self>
Source§impl ObjectDeser for MandateUpi
impl ObjectDeser for MandateUpi
type Builder = MandateUpiBuilder
Source§impl PartialEq for MandateUpi
impl PartialEq for MandateUpi
Source§fn eq(&self, other: &MandateUpi) -> bool
fn eq(&self, other: &MandateUpi) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MandateUpi
impl StructuralPartialEq for MandateUpi
Auto Trait Implementations§
impl Freeze for MandateUpi
impl RefUnwindSafe for MandateUpi
impl Send for MandateUpi
impl Sync for MandateUpi
impl Unpin for MandateUpi
impl UnsafeUnpin for MandateUpi
impl UnwindSafe for MandateUpi
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