GoogleApi.Content.V21.Model.PosCustomBatchRequestEntry (google_api_content v0.51.0) View Source

Attributes

  • batchId (type: integer(), default: nil) - An entry ID, unique within the batch request.
  • inventory (type: GoogleApi.Content.V21.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.V21.Model.PosSale.t, default: nil) - The sale information to submit. This should be set only if the method is sale.
  • store (type: GoogleApi.Content.V21.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.

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.PosCustomBatchRequestEntry{
  batchId: integer(),
  inventory: GoogleApi.Content.V21.Model.PosInventory.t(),
  merchantId: String.t(),
  method: String.t(),
  sale: GoogleApi.Content.V21.Model.PosSale.t(),
  store: GoogleApi.Content.V21.Model.PosStore.t(),
  storeCode: String.t(),
  targetMerchantId: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.