GoogleApi.Content.V21.Model.ReturnShipment (google_api_content v0.43.0) View Source

Attributes

  • creationDate (type: String.t, default: nil) - The date of creation of the shipment, in ISO 8601 format.

  • deliveryDate (type: String.t, default: nil) - The date of delivery of the shipment, in ISO 8601 format.

  • returnMethodType (type: String.t, default: nil) - Type of the return method.

    Acceptable values are:

    • "byMail"
    • "contactCustomerSupport"
    • "returnless"
  • shipmentId (type: String.t, default: nil) - Shipment ID generated by Google.

  • shipmentTrackingInfos (type: list(GoogleApi.Content.V21.Model.ShipmentTrackingInfo.t), default: nil) - Tracking information of the shipment. One return shipment might be handled by several shipping carriers sequentially.

  • shippingDate (type: String.t, default: nil) - The date of shipping of the shipment, in ISO 8601 format.

  • state (type: String.t, default: nil) - State of the shipment.

    Acceptable values are:

    • "completed"
    • "new"
    • "shipped"
    • "undeliverable"
    • "pending"

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.ReturnShipment{
  creationDate: String.t(),
  deliveryDate: String.t(),
  returnMethodType: String.t(),
  shipmentId: String.t(),
  shipmentTrackingInfos: [GoogleApi.Content.V21.Model.ShipmentTrackingInfo.t()],
  shippingDate: String.t(),
  state: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.