pub struct ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan {
pub count: Option<u64>,
pub interval: Option<ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlanInterval>,
pub type_: ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlanType,
}Expand description
The selected installment plan to use for this payment attempt. This parameter can only be provided during confirmation.
Fields§
§count: Option<u64>For fixed_count installment plans, this is required.
It represents the number of installment payments your customer will make to their credit card.
interval: Option<ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlanInterval>For fixed_count installment plans, this is required.
It represents the interval between installment payments your customer will make to their credit card.
One of month.
type_: ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlanTypeType of installment plan, one of fixed_count, bonus, or revolving.
Implementations§
Source§impl ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
pub fn new( type_: impl Into<ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlanType>, ) -> Self
Trait Implementations§
Source§impl Clone for ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl Clone for ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
Source§fn clone(&self) -> ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
fn clone(&self) -> ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
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 ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
Auto Trait Implementations§
impl Freeze for ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl RefUnwindSafe for ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl Send for ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl Sync for ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl Unpin for ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl UnwindSafe for ConfirmPaymentIntentPaymentMethodOptionsCardInstallmentsPlan
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