Address class

JSON template for address of a customer.

Constructors

Address()
Address.fromJson(Map _json)

Properties

addressLine1 ↔ String
A customer's physical address. An address can be composed of one to three lines. The addressline2 and addressLine3 are optional.
read / write
addressLine2 ↔ String
Line 2 of the address.
read / write
addressLine3 ↔ String
Line 3 of the address.
read / write
contactName ↔ String
The customer contact's name. This is required.
read / write
countryCode ↔ String
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.
read / write
kind ↔ String
Identifies the resource as a customer address. Value: customers#address
read / write
locality ↔ String
An example of a locality value is the city of San Francisco.
read / write
organizationName ↔ String
The company or company division name. This is required.
read / write
postalCode ↔ String
A postalCode example is a postal zip code such as 94043. This property is required when creating a new customer.
read / write
region ↔ String
An example of a region value is CA for the state of California.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited