Struct stripe::generated::billing::subscription_schedule::SubscriptionScheduleConfigurationItem
source · pub struct SubscriptionScheduleConfigurationItem {
pub billing_thresholds: Option<SubscriptionItemBillingThresholds>,
pub metadata: Option<Metadata>,
pub plan: Expandable<Plan>,
pub price: Expandable<Price>,
pub quantity: Option<u64>,
pub tax_rates: Option<Vec<TaxRate>>,
}
Fields§
§billing_thresholds: Option<SubscriptionItemBillingThresholds>
Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period.
metadata: Option<Metadata>
Set of key-value pairs that you can attach to an item.
Metadata on this item will update the underlying subscription item’s metadata
when the phase is entered.
plan: Expandable<Plan>
ID of the plan to which the customer should be subscribed.
price: Expandable<Price>
ID of the price to which the customer should be subscribed.
quantity: Option<u64>
Quantity of the plan to which the customer should be subscribed.
tax_rates: Option<Vec<TaxRate>>
The tax rates which apply to this phase_item
.
When set, the default_tax_rates
on the phase do not apply to this phase_item
.
Trait Implementations§
source§impl Clone for SubscriptionScheduleConfigurationItem
impl Clone for SubscriptionScheduleConfigurationItem
source§fn clone(&self) -> SubscriptionScheduleConfigurationItem
fn clone(&self) -> SubscriptionScheduleConfigurationItem
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 SubscriptionScheduleConfigurationItem
impl Default for SubscriptionScheduleConfigurationItem
source§fn default() -> SubscriptionScheduleConfigurationItem
fn default() -> SubscriptionScheduleConfigurationItem
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SubscriptionScheduleConfigurationItem
impl<'de> Deserialize<'de> for SubscriptionScheduleConfigurationItem
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
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionScheduleConfigurationItem
impl Send for SubscriptionScheduleConfigurationItem
impl Sync for SubscriptionScheduleConfigurationItem
impl Unpin for SubscriptionScheduleConfigurationItem
impl UnwindSafe for SubscriptionScheduleConfigurationItem
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