View Source GoogleApi.Content.V21.Model.RegionalinventoryCustomBatchRequestEntry (google_api_content v0.66.0)

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

Attributes

  • batchId (type: integer(), default: nil) - An entry ID, unique within the batch request.
  • merchantId (type: String.t, default: nil) - The ID of the managing account.
  • method (type: String.t, default: nil) - Method of the batch request entry. Acceptable values are: - "insert"
  • productId (type: String.t, default: nil) - The ID of the product for which to update price and availability.
  • regionalInventory (type: GoogleApi.Content.V21.Model.RegionalInventory.t, default: nil) - Price and availability of the product.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.RegionalinventoryCustomBatchRequestEntry{
  batchId: integer() | nil,
  merchantId: String.t() | nil,
  method: String.t() | nil,
  productId: String.t() | nil,
  regionalInventory: GoogleApi.Content.V21.Model.RegionalInventory.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.