Class: module:models/AddressOCC

module:models/AddressOCC()

new module:models/AddressOCC()

Constructs a new AddressOCC.

Source:

Members

(inner) country :module:models/Country

Type:
Source:

(inner) firstName :String

Type:
  • String
Source:

(inner) id :String

Type:
  • String
Source:

(inner) lastName :String

Type:
  • String
Source:

(inner) line1 :String

Type:
  • String
Source:

(inner) line2 :String

Type:
  • String
Source:

(inner) postalCode :String

Type:
  • String
Source:

(inner) region :module:models/Region

Type:
Source:

(inner) titleCode :String

Type:
  • String
Source:

(inner) town :String

Type:
  • String
Source:

Methods

(static) constructFromObject(data, obj) → {module:models/AddressOCC}

Constructs a AddressOCC from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:models/AddressOCC

Optional instance to populate.

Source:
Returns:

The populated AddressOCC instance.

Type
module:models/AddressOCC