Class: module:models/User

module:models/User()

new module:models/User()

Constructs a new User.

Source:

Members

(inner) currency :module:models/CurrencyOCC

Type:
Source:

(inner) defaultAddress :module:models/Address

Type:
Source:

(inner) displayUid :String

Type:
  • String
Source:

(inner) firstName :String

Type:
  • String
Source:

(inner) language :module:models/LanguageOCC

Type:
Source:

(inner) lastName :String

Type:
  • String
Source:

(inner) name :String

Type:
  • String
Source:

(inner) title :String

Type:
  • String
Source:

(inner) titleCode :String

Type:
  • String
Source:

(inner) uid :String

Type:
  • String
Source:

Methods

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

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

Optional instance to populate.

Source:
Returns:

The populated User instance.

Type
module:models/User