View Source GoogleApi.Content.V21.Model.ReturnAddress (google_api_content v0.67.1)

Return address resource.

Attributes

  • address (type: GoogleApi.Content.V21.Model.ReturnAddressAddress.t, default: nil) - Required. The address.
  • country (type: String.t, default: nil) - Required. The country of sale where the return address is applicable.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "content#returnAddress"
  • label (type: String.t, default: nil) - Required. The user-defined label of the return address. For the default address, use the label "default".
  • phoneNumber (type: String.t, default: nil) - Required. The merchant's contact phone number regarding the return.
  • returnAddressId (type: String.t, default: nil) - Return address ID generated by Google.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ReturnAddress{
  address: GoogleApi.Content.V21.Model.ReturnAddressAddress.t() | nil,
  country: String.t() | nil,
  kind: String.t() | nil,
  label: String.t() | nil,
  phoneNumber: String.t() | nil,
  returnAddressId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.