View Source GoogleApi.Content.V2.Model.ShipmentInvoice (google_api_content v0.66.0)

Attributes

  • invoiceSummary (type: GoogleApi.Content.V2.Model.InvoiceSummary.t, default: nil) - [required] Invoice summary.
  • lineItemInvoices (type: list(GoogleApi.Content.V2.Model.ShipmentInvoiceLineItemInvoice.t), default: nil) - [required] Invoice details per line item.
  • shipmentGroupId (type: String.t, default: nil) - [required] ID of the shipment group. It is assigned by the merchant in the shipLineItems method and is used to group multiple line items that have the same kind of shipping charges.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V2.Model.ShipmentInvoice{
  invoiceSummary: GoogleApi.Content.V2.Model.InvoiceSummary.t() | nil,
  lineItemInvoices:
    [GoogleApi.Content.V2.Model.ShipmentInvoiceLineItemInvoice.t()] | nil,
  shipmentGroupId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.