pub struct PaymentMethodOptionsCardInstallments {
pub available_plans: Option<Vec<PaymentMethodDetailsCardInstallmentsPlan>>,
pub enabled: bool,
pub plan: Option<PaymentMethodDetailsCardInstallmentsPlan>,
}
Fields§
§available_plans: Option<Vec<PaymentMethodDetailsCardInstallmentsPlan>>
Installment plans that may be selected for this PaymentIntent.
enabled: bool
Whether Installments are enabled for this PaymentIntent.
plan: Option<PaymentMethodDetailsCardInstallmentsPlan>
Installment plan selected for this PaymentIntent.
Trait Implementations§
source§impl Clone for PaymentMethodOptionsCardInstallments
impl Clone for PaymentMethodOptionsCardInstallments
source§fn clone(&self) -> PaymentMethodOptionsCardInstallments
fn clone(&self) -> PaymentMethodOptionsCardInstallments
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 PaymentMethodOptionsCardInstallments
impl Default for PaymentMethodOptionsCardInstallments
source§fn default() -> PaymentMethodOptionsCardInstallments
fn default() -> PaymentMethodOptionsCardInstallments
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentMethodOptionsCardInstallments
impl<'de> Deserialize<'de> for PaymentMethodOptionsCardInstallments
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 PaymentMethodOptionsCardInstallments
impl Send for PaymentMethodOptionsCardInstallments
impl Sync for PaymentMethodOptionsCardInstallments
impl Unpin for PaymentMethodOptionsCardInstallments
impl UnwindSafe for PaymentMethodOptionsCardInstallments
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