new module:models/OrderHistory()
Constructs a new OrderHistory.
- Source:
Members
(inner) code :String
Type:
- String
- Source:
(inner) guid :String
Type:
- String
- Source:
(inner) placed :String
Type:
- String
- Source:
(inner) status :String
Type:
- String
- Source:
(inner) statusDisplay :String
Type:
- String
- Source:
(inner) total :module:models/Price
Type:
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/OrderHistory}
Constructs a OrderHistory 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/OrderHistory | Optional instance to populate. |
- Source:
Returns:
The populated
OrderHistory instance.