pub struct SubscriptionScheduleAddInvoiceItem {
pub price: Expandable<Price>,
pub quantity: Option<u64>,
pub tax_rates: Option<Vec<TaxRate>>,
}
Fields§
§price: Expandable<Price>
ID of the price used to generate the invoice item.
quantity: Option<u64>
The quantity of the invoice item.
tax_rates: Option<Vec<TaxRate>>
The tax rates which apply to the item.
When set, the default_tax_rates
do not apply to this item.
Trait Implementations§
source§impl Clone for SubscriptionScheduleAddInvoiceItem
impl Clone for SubscriptionScheduleAddInvoiceItem
source§fn clone(&self) -> SubscriptionScheduleAddInvoiceItem
fn clone(&self) -> SubscriptionScheduleAddInvoiceItem
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 SubscriptionScheduleAddInvoiceItem
impl Default for SubscriptionScheduleAddInvoiceItem
source§fn default() -> SubscriptionScheduleAddInvoiceItem
fn default() -> SubscriptionScheduleAddInvoiceItem
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SubscriptionScheduleAddInvoiceItem
impl<'de> Deserialize<'de> for SubscriptionScheduleAddInvoiceItem
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