Struct google_content2::api::ShipmentInvoiceLineItemInvoice [−][src]
pub struct ShipmentInvoiceLineItemInvoice {
pub line_item_id: Option<String>,
pub product_id: Option<String>,
pub shipment_unit_ids: Option<Vec<String>>,
pub unit_invoice: Option<UnitInvoice>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
line_item_id: Option<String>ID of the line item. Either lineItemId or productId must be set.
product_id: Option<String>ID of the product. This is the REST ID used in the products service. Either lineItemId or productId must be set.
shipment_unit_ids: Option<Vec<String>>[required] The shipment unit ID is assigned by the merchant and defines individual quantities within a line item. The same ID can be assigned to units that are the same while units that differ must be assigned a different ID (for example: free or promotional units).
unit_invoice: Option<UnitInvoice>[required] Invoice details for a single unit.
Trait Implementations
Returns the “default value” for a type. Read more
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 Send for ShipmentInvoiceLineItemInvoice
impl Sync for ShipmentInvoiceLineItemInvoice
impl Unpin for ShipmentInvoiceLineItemInvoice
impl UnwindSafe for ShipmentInvoiceLineItemInvoice
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more