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