pub struct SubscriptionScheduleBillingThresholds {
pub amount_gte: Option<i64>,
pub reset_billing_cycle_anchor: Option<bool>,
}
Fields§
§amount_gte: Option<i64>
Monetary threshold that triggers the subscription to advance to a new billing period.
reset_billing_cycle_anchor: Option<bool>
Indicates if the billing_cycle_anchor
should be reset when a threshold is reached.
If true, billing_cycle_anchor
will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.
Trait Implementations§
source§impl Clone for SubscriptionScheduleBillingThresholds
impl Clone for SubscriptionScheduleBillingThresholds
source§fn clone(&self) -> SubscriptionScheduleBillingThresholds
fn clone(&self) -> SubscriptionScheduleBillingThresholds
Returns a copy 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 Default for SubscriptionScheduleBillingThresholds
impl Default for SubscriptionScheduleBillingThresholds
source§fn default() -> SubscriptionScheduleBillingThresholds
fn default() -> SubscriptionScheduleBillingThresholds
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SubscriptionScheduleBillingThresholds
impl<'de> Deserialize<'de> for SubscriptionScheduleBillingThresholds
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more