new module:models/ProductListEvent()
Constructs a new ProductListEvent
.
Document representing a product list event.
- Source:
Members
(inner) city :String
The city where the event takes place.
Type:
- String
- Source:
(inner) country :String
The country where the event takes place.
Type:
- String
- Source:
(inner) date :Date
The date when the event takes place.
Type:
- Date
- Source:
(inner) state :String
The federal state where the event takes place.
Type:
- String
- Source:
(inner) type :String
Type of the event to celebrate.
Type:
- String
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/ProductListEvent}
Constructs a ProductListEvent
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/ProductListEvent | Optional instance to populate. |
- Source:
Returns:
The populated ProductListEvent
instance.