Class: module:models/BillingAddress

module:models/BillingAddress()

new module:models/BillingAddress()

Constructs a new BillingAddress.

Source:

Members

(inner) country :module:models/Country

Type:
Source:

(inner) firstName :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/BillingAddress}

Constructs a BillingAddress 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/BillingAddress

Optional instance to populate.

Source:
Returns:

The populated BillingAddress instance.

Type
module:models/BillingAddress