pub struct CreatePreviewInvoiceScheduleDetailsBillingMode {
pub flexible: Option<CreatePreviewInvoiceScheduleDetailsBillingModeFlexible>,
pub type_: CreatePreviewInvoiceScheduleDetailsBillingModeType,
}
Expand description
Controls how prorations and invoices for subscriptions are calculated and orchestrated.
Fields§
§flexible: Option<CreatePreviewInvoiceScheduleDetailsBillingModeFlexible>
Configure behavior for flexible billing mode.
type_: CreatePreviewInvoiceScheduleDetailsBillingModeType
Controls the calculation and orchestration of prorations and invoices for subscriptions.
If no value is passed, the default is flexible
.
Implementations§
Source§impl CreatePreviewInvoiceScheduleDetailsBillingMode
impl CreatePreviewInvoiceScheduleDetailsBillingMode
pub fn new( type_: impl Into<CreatePreviewInvoiceScheduleDetailsBillingModeType>, ) -> Self
Trait Implementations§
Source§impl Clone for CreatePreviewInvoiceScheduleDetailsBillingMode
impl Clone for CreatePreviewInvoiceScheduleDetailsBillingMode
Source§fn clone(&self) -> CreatePreviewInvoiceScheduleDetailsBillingMode
fn clone(&self) -> CreatePreviewInvoiceScheduleDetailsBillingMode
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 CreatePreviewInvoiceScheduleDetailsBillingMode
Auto Trait Implementations§
impl Freeze for CreatePreviewInvoiceScheduleDetailsBillingMode
impl RefUnwindSafe for CreatePreviewInvoiceScheduleDetailsBillingMode
impl Send for CreatePreviewInvoiceScheduleDetailsBillingMode
impl Sync for CreatePreviewInvoiceScheduleDetailsBillingMode
impl Unpin for CreatePreviewInvoiceScheduleDetailsBillingMode
impl UnwindSafe for CreatePreviewInvoiceScheduleDetailsBillingMode
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