google_api_content v0.27.0 GoogleApi.Content.V21.Model.PosCustomBatchRequestEntry 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. Set this 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) -
  • sale (type: GoogleApi.Content.V21.Model.PosSale.t, default: nil) - The sale information to submit. Set this only if the method is sale.
  • store (type: GoogleApi.Content.V21.Model.PosStore.t, default: nil) - The store information to submit. Set this only if the method is insert.
  • storeCode (type: String.t, default: nil) - The store code. Set this 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

Link to this type

t()

View Source
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

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.