GoogleApi.Content.V2.Model.InventoryCustomBatchRequestEntry (google_api_content v0.58.1) View Source

A batch entry encoding a single non-batch inventory request.

Attributes

  • batchId (type: integer(), default: nil) - An entry ID, unique within the batch request.
  • inventory (type: GoogleApi.Content.V2.Model.Inventory.t, default: nil) - Price and availability of the product.
  • merchantId (type: String.t, default: nil) - The ID of the managing account.
  • productId (type: String.t, default: nil) - The ID of the product for which to update price and availability.
  • storeCode (type: String.t, default: nil) - The code of the store for which to update price and availability. Use online to update price and availability of an online product.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V2.Model.InventoryCustomBatchRequestEntry{
  batchId: integer() | nil,
  inventory: GoogleApi.Content.V2.Model.Inventory.t() | nil,
  merchantId: String.t() | nil,
  productId: String.t() | nil,
  storeCode: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.