pub struct CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments {
pub enabled: Option<bool>,
pub plan: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallmentsPlan>,
}
Fields§
§enabled: Option<bool>
Setting to true enables installments for this invoice. Setting to false will prevent any selected plan from applying to a payment.
plan: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallmentsPlan>
The selected installment plan to use for this invoice.
Trait Implementations§
source§impl Clone for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
impl Clone for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
source§fn clone(
&self
) -> CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
fn clone(
&self
) -> CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
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 CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
impl Default for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
source§fn default() -> CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
fn default() -> CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
impl<'de> Deserialize<'de> for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
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