View Source GoogleApi.Reseller.V1.Model.Address (google_api_reseller v0.18.0)

JSON template for address of a customer.

Attributes

  • addressLine1 (type: String.t, default: nil) - A customer's physical address. An address can be composed of one to three lines. The addressline2 and addressLine3 are optional.
  • addressLine2 (type: String.t, default: nil) - Line 2 of the address.
  • addressLine3 (type: String.t, default: nil) - Line 3 of the address.
  • contactName (type: String.t, default: nil) - The customer contact's name. This is required.
  • countryCode (type: String.t, default: nil) - For countryCode information, see the ISO 3166 country code elements. Verify that country is approved for resale of Google products. This property is required when creating a new customer.
  • kind (type: String.t, default: customers#address) - Identifies the resource as a customer address. Value: customers#address
  • locality (type: String.t, default: nil) - An example of a locality value is the city of San Francisco.
  • organizationName (type: String.t, default: nil) - The company or company division name. This is required.
  • postalCode (type: String.t, default: nil) - A postalCode example is a postal zip code such as 94043. This property is required when creating a new customer.
  • region (type: String.t, default: nil) - An example of a region value is CA for the state of California.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Reseller.V1.Model.Address{
  addressLine1: String.t() | nil,
  addressLine2: String.t() | nil,
  addressLine3: String.t() | nil,
  contactName: String.t() | nil,
  countryCode: String.t() | nil,
  kind: String.t() | nil,
  locality: String.t() | nil,
  organizationName: String.t() | nil,
  postalCode: String.t() | nil,
  region: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.