GoogleApi.Content.V21.Model.ReturnpolicyCustomBatchRequestEntry (google_api_content v0.41.3) View Source

Attributes

  • batchId (type: integer(), default: nil) - An entry ID, unique within the batch request.

  • merchantId (type: String.t, default: nil) - The Merchant Center account ID.

  • method (type: String.t, default: nil) - Method of the batch request entry.

    Acceptable values are:

    • "delete"
    • "get"
    • "insert"
  • returnPolicy (type: GoogleApi.Content.V21.Model.ReturnPolicy.t, default: nil) - The return policy to submit. Set this only if the method is insert.

  • returnPolicyId (type: String.t, default: nil) - The return policy ID. Set this only if the method is delete or get.

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.ReturnpolicyCustomBatchRequestEntry{
  batchId: integer(),
  merchantId: String.t(),
  method: String.t(),
  returnPolicy: GoogleApi.Content.V21.Model.ReturnPolicy.t(),
  returnPolicyId: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.