pub struct CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments {
pub enabled: Option<bool>,
pub plan: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallmentsPlan>,
}
Expand description
Installment configuration for payments attempted on this invoice.
For more information, see the installments integration guide.
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.
Implementations§
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 moreimpl Copy for CreateInvoicePaymentSettingsPaymentMethodOptionsCardInstallments
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