View Source GoogleApi.Content.V2.Model.ReturnShipment (google_api_content v0.67.1)

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.V2.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"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V2.Model.ReturnShipment{
  creationDate: String.t() | nil,
  deliveryDate: String.t() | nil,
  returnMethodType: String.t() | nil,
  shipmentId: String.t() | nil,
  shipmentTrackingInfos:
    [GoogleApi.Content.V2.Model.ShipmentTrackingInfo.t()] | nil,
  shippingDate: String.t() | nil,
  state: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.