pub struct CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval {
pub interval: CreateCheckoutSessionSubscriptionDataPendingInvoiceItemIntervalInterval,
pub interval_count: Option<u64>,
}Expand description
Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling Create an invoice for the given subscription at the specified interval.
Fields§
§interval: CreateCheckoutSessionSubscriptionDataPendingInvoiceItemIntervalIntervalSpecifies invoicing frequency. Either day, week, month or year.
interval_count: Option<u64>The number of intervals between invoices.
For example, interval=month and interval_count=3 bills every 3 months.
Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
Implementations§
Source§impl CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
impl CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
pub fn new( interval: impl Into<CreateCheckoutSessionSubscriptionDataPendingInvoiceItemIntervalInterval>, ) -> Self
Trait Implementations§
Source§impl Clone for CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
impl Clone for CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
Source§fn clone(
&self,
) -> CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
fn clone( &self, ) -> CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
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 Eq for CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
impl StructuralPartialEq for CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
Auto Trait Implementations§
impl Freeze for CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
impl RefUnwindSafe for CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
impl Send for CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
impl Sync for CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
impl Unpin for CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
impl UnsafeUnpin for CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
impl UnwindSafe for CreateCheckoutSessionSubscriptionDataPendingInvoiceItemInterval
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