google_api_content v0.29.1 GoogleApi.Content.V21.Model.OrderPromotionItem 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

Link to this type

t()

View Source
t() :: %GoogleApi.Content.V21.Model.OrderPromotionItem{
  lineItemId: String.t(),
  offerId: String.t(),
  productId: String.t(),
  quantity: integer()
}

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.