View Source GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1UspsAddress (google_api_address_validation v0.3.1)

USPS representation of a US address.

Attributes

  • city (type: String.t, default: nil) - City name.
  • cityStateZipAddressLine (type: String.t, default: nil) - City + state + postal code.
  • firm (type: String.t, default: nil) - Firm name.
  • firstAddressLine (type: String.t, default: nil) - First address line.
  • secondAddressLine (type: String.t, default: nil) - Second address line.
  • state (type: String.t, default: nil) - 2 letter state code.
  • urbanization (type: String.t, default: nil) - Puerto Rican urbanization name.
  • zipCode (type: String.t, default: nil) - Postal code e.g. 10009.
  • zipCodeExtension (type: String.t, default: nil) - 4-digit postal code extension e.g. 5023.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AddressValidation.V1.Model.GoogleMapsAddressvalidationV1UspsAddress{
    city: String.t() | nil,
    cityStateZipAddressLine: String.t() | nil,
    firm: String.t() | nil,
    firstAddressLine: String.t() | nil,
    secondAddressLine: String.t() | nil,
    state: String.t() | nil,
    urbanization: String.t() | nil,
    zipCode: String.t() | nil,
    zipCodeExtension: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.