GoogleApi.Content.V21.Model.ReturnpolicyCustomBatchRequestEntry (google_api_content v0.58.1) 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. This should be set only if the method is insert.
  • returnPolicyId (type: String.t, default: nil) - The return policy ID. This should be set 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() | nil,
  merchantId: String.t() | nil,
  method: String.t() | nil,
  returnPolicy: GoogleApi.Content.V21.Model.ReturnPolicy.t() | nil,
  returnPolicyId: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.