API documentation

Product_Price Class Reference

Description

Renders a price for a product.

Protected Member Functions

 _render ($price)
 Renders a price for a product. More...
 

Member Function Documentation

_render (   $price)
protected

Renders a price for a product.

Products have an array of these – 0 or 1 per market

{
"id": "1000",
"marketId": 1,
"price": {
"currency": "USD",
"amount": 599
}
}
Returns
array