pub struct UpdateSubscriptionPendingInvoiceItemInterval {
pub interval: UpdateSubscriptionPendingInvoiceItemIntervalInterval,
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: UpdateSubscriptionPendingInvoiceItemIntervalInterval
Specifies 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 UpdateSubscriptionPendingInvoiceItemInterval
impl UpdateSubscriptionPendingInvoiceItemInterval
pub fn new( interval: impl Into<UpdateSubscriptionPendingInvoiceItemIntervalInterval>, ) -> Self
Trait Implementations§
Source§impl Clone for UpdateSubscriptionPendingInvoiceItemInterval
impl Clone for UpdateSubscriptionPendingInvoiceItemInterval
Source§fn clone(&self) -> UpdateSubscriptionPendingInvoiceItemInterval
fn clone(&self) -> UpdateSubscriptionPendingInvoiceItemInterval
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 UpdateSubscriptionPendingInvoiceItemInterval
Auto Trait Implementations§
impl Freeze for UpdateSubscriptionPendingInvoiceItemInterval
impl RefUnwindSafe for UpdateSubscriptionPendingInvoiceItemInterval
impl Send for UpdateSubscriptionPendingInvoiceItemInterval
impl Sync for UpdateSubscriptionPendingInvoiceItemInterval
impl Unpin for UpdateSubscriptionPendingInvoiceItemInterval
impl UnwindSafe for UpdateSubscriptionPendingInvoiceItemInterval
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