GoogleApi.Content.V21.Model.ReturnPolicy (google_api_content v0.52.0) View Source

Return policy resource.

Attributes

  • country (type: String.t, default: nil) - Required. The country of sale where the return policy is applicable.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "content#returnPolicy"
  • label (type: String.t, default: nil) - Required. The user-defined label of the return policy. For the default policy, use the label "default".
  • name (type: String.t, default: nil) - Required. The name of the policy as shown in Merchant Center.
  • nonFreeReturnReasons (type: list(String.t), default: nil) - Return reasons that will incur return fees.
  • policy (type: GoogleApi.Content.V21.Model.ReturnPolicyPolicy.t, default: nil) - Required. The policy.
  • returnPolicyId (type: String.t, default: nil) - Return policy ID generated by Google.
  • returnShippingFee (type: GoogleApi.Content.V21.Model.Price.t, default: nil) - The return shipping fee that will apply to non free return reasons.
  • seasonalOverrides (type: list(GoogleApi.Content.V21.Model.ReturnPolicySeasonalOverride.t), default: nil) - An optional list of seasonal overrides.

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.ReturnPolicy{
  country: String.t(),
  kind: String.t(),
  label: String.t(),
  name: String.t(),
  nonFreeReturnReasons: [String.t()],
  policy: GoogleApi.Content.V21.Model.ReturnPolicyPolicy.t(),
  returnPolicyId: String.t(),
  returnShippingFee: GoogleApi.Content.V21.Model.Price.t(),
  seasonalOverrides: [
    GoogleApi.Content.V21.Model.ReturnPolicySeasonalOverride.t()
  ]
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.