Struct google_content2::InvoiceSummary[][src]

pub struct InvoiceSummary {
    pub product_total: Option<Amount>,
    pub google_balance: Option<Amount>,
    pub merchant_balance: Option<Amount>,
    pub promotion_summaries: Option<Vec<Promotion>>,
    pub customer_balance: Option<Amount>,
    pub additional_charge_summaries: Option<Vec<InvoiceSummaryAdditionalChargeSummary>>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

[required] Total price for the product.

[required] Google balance on this invoice. A negative amount means Google is paying, a positive one means Google is receiving money. Note: the sum of merchant_balance, customer_balance and google_balance must always be zero.

[required] Merchant balance on this invoice. A negative amount means the merchant is paying, a positive one means the merchant is receiving money. Note: the sum of merchant_balance, customer_balance and google_balance must always be zero.

Summary for each promotion.

[required] Customer balance on this invoice. A negative amount means the customer is paying, a positive one means the customer is receiving money. Note: the sum of merchant_balance, customer_balance and google_balance must always be zero.

Furthermore the absolute value of this amount is expected to be equal to the sum of product amount and additional charges, minus promotions.

Summary of the total amounts of the additional charges.

Trait Implementations

impl Default for InvoiceSummary
[src]

Returns the "default value" for a type. Read more

impl Clone for InvoiceSummary
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for InvoiceSummary
[src]

Formats the value using the given formatter. Read more

impl Part for InvoiceSummary
[src]

Auto Trait Implementations