pub struct InvoiceSummary {
pub additional_charge_summaries: Option<Vec<InvoiceSummaryAdditionalChargeSummary>>,
pub customer_balance: Option<Amount>,
pub google_balance: Option<Amount>,
pub merchant_balance: Option<Amount>,
pub product_total: Option<Amount>,
pub promotion_summaries: Option<Vec<Promotion>>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§additional_charge_summaries: Option<Vec<InvoiceSummaryAdditionalChargeSummary>>Summary of the total amounts of the additional charges.
customer_balance: Option<Amount>Deprecated.
google_balance: Option<Amount>Deprecated.
merchant_balance: Option<Amount>Deprecated.
product_total: Option<Amount>[required] Total price for the product.
promotion_summaries: Option<Vec<Promotion>>Deprecated.
Trait Implementations§
Source§impl Clone for InvoiceSummary
impl Clone for InvoiceSummary
Source§fn clone(&self) -> InvoiceSummary
fn clone(&self) -> InvoiceSummary
Returns a duplicate 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 Debug for InvoiceSummary
impl Debug for InvoiceSummary
Source§impl Default for InvoiceSummary
impl Default for InvoiceSummary
Source§fn default() -> InvoiceSummary
fn default() -> InvoiceSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InvoiceSummary
impl<'de> Deserialize<'de> for InvoiceSummary
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
Source§impl Serialize for InvoiceSummary
impl Serialize for InvoiceSummary
impl Part for InvoiceSummary
Auto Trait Implementations§
impl Freeze for InvoiceSummary
impl RefUnwindSafe for InvoiceSummary
impl Send for InvoiceSummary
impl Sync for InvoiceSummary
impl Unpin for InvoiceSummary
impl UnwindSafe for InvoiceSummary
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