Struct google_content2::UnitInvoice [−][src]
pub struct UnitInvoice { pub promotions: Option<Vec<Promotion>>, pub unit_price_pretax: Option<Price>, pub unit_price_taxes: Option<Vec<UnitInvoiceTaxLine>>, pub additional_charges: Option<Vec<UnitInvoiceAdditionalCharge>>, }
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
promotions: Option<Vec<Promotion>>
Promotions applied to a unit.
unit_price_pretax: Option<Price>
[required] Price of the unit, before applying taxes.
unit_price_taxes: Option<Vec<UnitInvoiceTaxLine>>
Tax amounts to apply to the unit price.
additional_charges: Option<Vec<UnitInvoiceAdditionalCharge>>
Additional charges for a unit, e.g. shipping costs.
Trait Implementations
impl Default for UnitInvoice
[src]
impl Default for UnitInvoice
fn default() -> UnitInvoice
[src]
fn default() -> UnitInvoice
Returns the "default value" for a type. Read more
impl Clone for UnitInvoice
[src]
impl Clone for UnitInvoice
fn clone(&self) -> UnitInvoice
[src]
fn clone(&self) -> UnitInvoice
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for UnitInvoice
[src]
impl Debug for UnitInvoice
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for UnitInvoice
[src]
impl Part for UnitInvoice
Auto Trait Implementations
impl Send for UnitInvoice
impl Send for UnitInvoice
impl Sync for UnitInvoice
impl Sync for UnitInvoice