Constructor and Description |
---|
ProductPriceRec(Money price,
String lastUpdate,
List<FNodePriceRec> fNodes)
Create a new ProductPriceRec instance.
|
Modifier and Type | Method and Description |
---|---|
static ProductPriceRec |
fromJSON(javax.json.JsonObject json)
Build this object from Jet JSON
|
List<FNodePriceRec> |
getFulfillmentNodes()
Retrieve the list of fulfillment nodes.
|
Date |
getLastUpdate()
Retrieve the timestamp for when this product's price was last updated
|
Money |
getPrice()
Retrieve the overall price that the merchant SKU is priced at.
|
javax.json.JsonObject |
toJSON()
Retrieve the JSON representation of this object
|
public ProductPriceRec(Money price, String lastUpdate, List<FNodePriceRec> fNodes) throws ParseException
price
- The overall price that the merchant SKU is priced at. Note
that this is the item price, and generally will not contain in it
the shipping charge.lastUpdate
- The timestamp for when this product's price was last
updatedfNodes
- The price a retailer would like to set for this SKU sold at a fulfillment nodeParseException
- if the date is invalidpublic static ProductPriceRec fromJSON(javax.json.JsonObject json) throws ParseException
json
- Jet JSONParseException
public Date getLastUpdate()
public Money getPrice()
public List<FNodePriceRec> getFulfillmentNodes()
Copyright © 2017. All rights reserved.