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