pub struct CreatePaymentLinkLineItemsPriceDataRecurring {
pub interval: CreatePaymentLinkLineItemsPriceDataRecurringInterval,
pub interval_count: Option<u64>,
}Expand description
The recurring components of a price such as interval and interval_count.
Fields§
§interval: CreatePaymentLinkLineItemsPriceDataRecurringIntervalSpecifies billing frequency. Either day, week, month or year.
interval_count: Option<u64>The number of intervals between subscription billings.
For example, interval=month and interval_count=3 bills every 3 months.
Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
Implementations§
Source§impl CreatePaymentLinkLineItemsPriceDataRecurring
impl CreatePaymentLinkLineItemsPriceDataRecurring
pub fn new( interval: impl Into<CreatePaymentLinkLineItemsPriceDataRecurringInterval>, ) -> Self
Trait Implementations§
Source§impl Clone for CreatePaymentLinkLineItemsPriceDataRecurring
impl Clone for CreatePaymentLinkLineItemsPriceDataRecurring
Source§fn clone(&self) -> CreatePaymentLinkLineItemsPriceDataRecurring
fn clone(&self) -> CreatePaymentLinkLineItemsPriceDataRecurring
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 moreSource§impl PartialEq for CreatePaymentLinkLineItemsPriceDataRecurring
impl PartialEq for CreatePaymentLinkLineItemsPriceDataRecurring
Source§fn eq(&self, other: &CreatePaymentLinkLineItemsPriceDataRecurring) -> bool
fn eq(&self, other: &CreatePaymentLinkLineItemsPriceDataRecurring) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentLinkLineItemsPriceDataRecurring
impl StructuralPartialEq for CreatePaymentLinkLineItemsPriceDataRecurring
Auto Trait Implementations§
impl Freeze for CreatePaymentLinkLineItemsPriceDataRecurring
impl RefUnwindSafe for CreatePaymentLinkLineItemsPriceDataRecurring
impl Send for CreatePaymentLinkLineItemsPriceDataRecurring
impl Sync for CreatePaymentLinkLineItemsPriceDataRecurring
impl Unpin for CreatePaymentLinkLineItemsPriceDataRecurring
impl UnsafeUnpin for CreatePaymentLinkLineItemsPriceDataRecurring
impl UnwindSafe for CreatePaymentLinkLineItemsPriceDataRecurring
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