new module:models/CustomerInfo(email)
Constructs a new CustomerInfo
.
Document representing information used to identify a customer.
Parameters:
Name | Type | Description |
---|---|---|
email |
String | The customer's email address. |
- Source:
Members
(inner) c_familyStatus :String
Type:
- String
- Source:
(inner) customer_id :String
The customer's number (id).
Type:
- String
- Source:
(inner) customer_name :String
Type:
- String
- Source:
(inner) customer_no :String
The customer's number (id).
Type:
- String
- Source:
(inner) email :String
The customer's email address.
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/CustomerInfo}
Constructs a CustomerInfo
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/CustomerInfo | Optional instance to populate. |
- Source:
Returns:
The populated CustomerInfo
instance.