google_api_content v0.29.1 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) - 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. 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.