new module:models/ProductReference()
Constructs a new ProductReference
.
- Source:
Members
(inner) description :String
Type:
- String
- Source:
(inner) preselected :Boolean
Type:
- Boolean
- Source:
(inner) quantity :Number
Type:
- Number
- Source:
(inner) referenceType :String
Type:
- String
- Source:
(inner) target :module:models/ProductOCC1
Type:
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/ProductReference}
Constructs a ProductReference
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/ProductReference | Optional instance to populate. |
- Source:
Returns:
The populated
ProductReference
instance.