Class: module:models/CardType

module:models/CardType()

new module:models/CardType()

Constructs a new CardType.

Source:

Members

(inner) code :String

Type:
  • String
Source:

(inner) name :String

Type:
  • String
Source:

Methods

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

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

Optional instance to populate.

Source:
Returns:

The populated CardType instance.

Type
module:models/CardType