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

Attributes

  • carrier (type: String.t, default: nil) - Deprecated. Please use shipmentInfo instead. The carrier handling the shipment. See shipments[].carrier in the Orders resource representation for a list of acceptable values.
  • lineItems (type: list(GoogleApi.Content.V2.Model.OrderShipmentLineItemShipment.t), default: nil) - Line items to ship.
  • shipmentGroupId (type: String.t, default: nil) - ID of the shipment group. Required for orders that use the orderinvoices service.
  • shipmentId (type: String.t, default: nil) - Deprecated. Please use shipmentInfo instead. The ID of the shipment.
  • shipmentInfos (type: list(GoogleApi.Content.V2.Model.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo.t), default: nil) - Shipment information. This field is repeated because a single line item can be shipped in several packages (and have several tracking IDs).
  • trackingId (type: String.t, default: nil) - Deprecated. Please use shipmentInfo instead. The tracking ID for the shipment.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V2.Model.OrdersCustomBatchRequestEntryShipLineItems{
  carrier: String.t() | nil,
  lineItems:
    [GoogleApi.Content.V2.Model.OrderShipmentLineItemShipment.t()] | nil,
  shipmentGroupId: String.t() | nil,
  shipmentId: String.t() | nil,
  shipmentInfos:
    [
      GoogleApi.Content.V2.Model.OrdersCustomBatchRequestEntryShipLineItemsShipmentInfo.t()
    ]
    | nil,
  trackingId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.