pub struct UpdatePaymentIntentPaymentMethodOptionsCardInstallments {
pub enabled: Option<bool>,
pub plan: Option<UpdatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan>,
}
Fields§
§enabled: Option<bool>
Setting to true enables installments for this PaymentIntent. This will cause the response to contain a list of available installment plans. Setting to false will prevent any selected plan from applying to a charge.
plan: Option<UpdatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan>
The selected installment plan to use for this payment attempt. This parameter can only be provided during confirmation.
Trait Implementations§
source§impl Clone for UpdatePaymentIntentPaymentMethodOptionsCardInstallments
impl Clone for UpdatePaymentIntentPaymentMethodOptionsCardInstallments
source§fn clone(&self) -> UpdatePaymentIntentPaymentMethodOptionsCardInstallments
fn clone(&self) -> UpdatePaymentIntentPaymentMethodOptionsCardInstallments
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 UpdatePaymentIntentPaymentMethodOptionsCardInstallments
impl Default for UpdatePaymentIntentPaymentMethodOptionsCardInstallments
source§fn default() -> UpdatePaymentIntentPaymentMethodOptionsCardInstallments
fn default() -> UpdatePaymentIntentPaymentMethodOptionsCardInstallments
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdatePaymentIntentPaymentMethodOptionsCardInstallments
impl<'de> Deserialize<'de> for UpdatePaymentIntentPaymentMethodOptionsCardInstallments
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