Renders a product.
Protected Member Functions | |
_render ($product) | |
Renders a product for API output. More... | |
|
protected |
Renders a product for API output.
The "unit" key is used if the "type" key is service (1), otherwise it is ignored.
Possible values for the "unit" key: