pub struct CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan {
pub count: Option<u64>,
pub interval: Option<CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlanInterval>,
pub type_: CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlanType,
}
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<CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlanInterval>
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_: CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlanType
Type of installment plan, one of fixed_count
.
Implementations§
Source§impl CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
pub fn new( type_: impl Into<CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlanType>, ) -> Self
Trait Implementations§
Source§impl Clone for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl Clone for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
Source§fn clone(&self) -> CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
fn clone(&self) -> CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
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 CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
Auto Trait Implementations§
impl Freeze for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl RefUnwindSafe for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl Send for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl Sync for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl Unpin for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
impl UnwindSafe for CreatePaymentIntentPaymentMethodOptionsCardInstallmentsPlan
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