GoogleApi.Content.V21.Model.ShipmentInvoiceLineItemInvoice (google_api_content v0.58.1) View Source

Attributes

  • lineItemId (type: String.t, default: nil) - ID of the line item. Either lineItemId or productId must be set.
  • productId (type: String.t, default: nil) - ID of the product. This is the REST ID used in the products service. Either lineItemId or productId must be set.
  • shipmentUnitIds (type: list(String.t), default: nil) - [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).
  • unitInvoice (type: GoogleApi.Content.V21.Model.UnitInvoice.t, default: nil) - [required] Invoice details for a single unit.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.ShipmentInvoiceLineItemInvoice{
  lineItemId: String.t() | nil,
  productId: String.t() | nil,
  shipmentUnitIds: [String.t()] | nil,
  unitInvoice: GoogleApi.Content.V21.Model.UnitInvoice.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.