google_api_content v0.11.0 GoogleApi.Content.V2.Model.OrderShipment View Source

Attributes

  • carrier (type: String.t, default: nil) - The carrier handling the shipment.

    Acceptable values for US are:

    • "gsx"
    • "ups"
    • "usps"
    • "fedex"
    • "dhl"
    • "ecourier"
    • "cxt"
    • "google"
    • "ontrac"
    • "emsy"
    • "ont"
    • "deliv"
    • "dynamex"
    • "lasership"
    • "mpx"
    • "uds"
    • "efw"

    Acceptable values for FR are:

    • "colissimo"
    • "chronopost"
    • "gls"
    • "dpd"
    • "bpost"
  • creationDate (type: String.t, default: nil) - Date on which the shipment has been created, in ISO 8601 format.

  • deliveryDate (type: String.t, default: nil) - Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is delivered

  • id (type: String.t, default: nil) - The ID of the shipment.

  • lineItems (type: list(GoogleApi.Content.V2.Model.OrderShipmentLineItemShipment.t), default: nil) - The line items that are shipped.

  • status (type: String.t, default: nil) - The status of the shipment.

  • trackingId (type: String.t, default: nil) - The tracking ID for the shipment.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Content.V2.Model.OrderShipment{
  carrier: String.t(),
  creationDate: String.t(),
  deliveryDate: String.t(),
  id: String.t(),
  lineItems: [GoogleApi.Content.V2.Model.OrderShipmentLineItemShipment.t()],
  status: String.t(),
  trackingId: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.