pub enum PaymentMethodOptionsCardMandateOptionsAmountType {
Fixed,
Maximum,
}
Expand description
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.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaymentMethodOptionsCardMandateOptionsAmountType
impl Clone for PaymentMethodOptionsCardMandateOptionsAmountType
Source§fn clone(&self) -> PaymentMethodOptionsCardMandateOptionsAmountType
fn clone(&self) -> PaymentMethodOptionsCardMandateOptionsAmountType
Returns a duplicate 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 FromValueOpt for PaymentMethodOptionsCardMandateOptionsAmountType
impl FromValueOpt for PaymentMethodOptionsCardMandateOptionsAmountType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentMethodOptionsCardMandateOptionsAmountType
impl PartialEq for PaymentMethodOptionsCardMandateOptionsAmountType
Source§fn eq(&self, other: &PaymentMethodOptionsCardMandateOptionsAmountType) -> bool
fn eq(&self, other: &PaymentMethodOptionsCardMandateOptionsAmountType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PaymentMethodOptionsCardMandateOptionsAmountType
impl Eq for PaymentMethodOptionsCardMandateOptionsAmountType
impl StructuralPartialEq for PaymentMethodOptionsCardMandateOptionsAmountType
Auto Trait Implementations§
impl Freeze for PaymentMethodOptionsCardMandateOptionsAmountType
impl RefUnwindSafe for PaymentMethodOptionsCardMandateOptionsAmountType
impl Send for PaymentMethodOptionsCardMandateOptionsAmountType
impl Sync for PaymentMethodOptionsCardMandateOptionsAmountType
impl Unpin for PaymentMethodOptionsCardMandateOptionsAmountType
impl UnwindSafe for PaymentMethodOptionsCardMandateOptionsAmountType
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