pub struct CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments {
pub enabled: Option<bool>,
pub plan: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallmentsPlan>,
}
Available on crate feature
billing
only.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 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 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
Auto Trait Implementations§
impl Freeze for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
impl RefUnwindSafe for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
impl Send for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
impl Sync for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
impl Unpin for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
impl UnwindSafe for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
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