GoogleApi.Content.V21.Model.OrderPromotionItem (google_api_content v0.52.0) View Source

Attributes

  • lineItemId (type: String.t, default: nil) - The line item ID of a product. Do not provide for orders.createtestorder.
  • offerId (type: String.t, default: nil) - Required. Offer ID of a product. Only for orders.createtestorder.
  • productId (type: String.t, default: nil) - orders.createtestorder.
  • quantity (type: integer(), default: nil) - The quantity of the associated product. Do not provide for orders.createtestorder.

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.OrderPromotionItem{
  lineItemId: String.t(),
  offerId: String.t(),
  productId: String.t(),
  quantity: integer()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.