pub struct CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan {
pub count: u64,
pub interval: CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlanInterval,
pub type_: CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlanType,
}
Fields§
§count: u64
For fixed_count
installment plans, this is the number of installment payments your customer will make to their credit card.
interval: CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlanInterval
For fixed_count
installment plans, this is the interval between installment payments your customer will make to their credit card.
One of month
.
type_: CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlanType
Type of installment plan, one of fixed_count
.
Trait Implementations§
source§impl Clone for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl Clone for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
source§fn clone(&self) -> CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
fn clone(&self) -> CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
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 CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl Default for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
source§fn default() -> CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
fn default() -> CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl<'de> Deserialize<'de> for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
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