Lead_ProductMap Class Reference

Description

Renders a mapping between a lead and a product.

Protected Member Functions

 _render ($productMap)
 Renders a mapping between a lead and a product. More...
 

Member Function Documentation

_render (   $productMap)
protected

Renders a mapping between a lead and a product.

{
"id": 7,
"entityType": "Products",
"rev": 10,
"name": "Mac Mini",
"relationship": "Definitely interested",
"quantity": 4,
"price": {
// represents the specific price for this lead. Product may have different original price.
"currency": "USD",
"amount": "499.00"
},
"quantity": "1"
}
Returns
array