catalog namespace is a pseudo-child of acme namespace using dot notation or memberof tag
and is defined in the file itself rather than external index.js
- Source:
Members
(static, constant) products :Array.<acme.Product>
Products available
Type:
- Array.<acme.Product>
- Source:
(static, constant) season :string
Catalog season
Type:
- string
- Source:
(static, constant) year :number
Catalog year
Type:
- number
- Source:
Methods
(static) add(product)
Add product to catalog
Parameters:
| Name | Type | Description |
|---|---|---|
product |
acme.Product | Product to add |
- Source:
(static) publish()
Publish catalog
- Source: