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

Attributes

  • batchId (type: integer(), default: nil) - An entry ID, unique within the batch request.
  • inventory (type: GoogleApi.Content.V2.Model.PosInventory.t, default: nil) - The inventory to submit. This should be set only if the method is inventory.
  • merchantId (type: String.t, default: nil) - The ID of the POS data provider.
  • method (type: String.t, default: nil) - The method of the batch entry. Acceptable values are: - "delete" - "get" - "insert" - "inventory" - "sale"
  • sale (type: GoogleApi.Content.V2.Model.PosSale.t, default: nil) - The sale information to submit. This should be set only if the method is sale.
  • store (type: GoogleApi.Content.V2.Model.PosStore.t, default: nil) - The store information to submit. This should be set only if the method is insert.
  • storeCode (type: String.t, default: nil) - The store code. This should be set only if the method is delete or get.
  • targetMerchantId (type: String.t, default: nil) - The ID of the account for which to get/submit data.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V2.Model.PosCustomBatchRequestEntry{
  batchId: integer() | nil,
  inventory: GoogleApi.Content.V2.Model.PosInventory.t() | nil,
  merchantId: String.t() | nil,
  method: String.t() | nil,
  sale: GoogleApi.Content.V2.Model.PosSale.t() | nil,
  store: GoogleApi.Content.V2.Model.PosStore.t() | nil,
  storeCode: String.t() | nil,
  targetMerchantId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.