pub struct CreateCheckoutSessionPaymentMethodOptionsCardInstallments {
pub enabled: Option<bool>,
}Expand description
Installment options for card payments
Fields§
§enabled: Option<bool>Setting to true enables installments for this Checkout Session. Setting to false will prevent any installment plan from applying to a payment.
Implementations§
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
impl Clone for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
Source§fn clone(&self) -> CreateCheckoutSessionPaymentMethodOptionsCardInstallments
fn clone(&self) -> CreateCheckoutSessionPaymentMethodOptionsCardInstallments
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
impl Eq for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
impl StructuralPartialEq for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
impl RefUnwindSafe for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
impl Send for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
impl Sync for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
impl Unpin for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
impl UnsafeUnpin for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
impl UnwindSafe for CreateCheckoutSessionPaymentMethodOptionsCardInstallments
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