public class ProductInventoryRec extends Object implements Jsonable
Constructor and Description |
---|
ProductInventoryRec(List<FNodeInventoryRec> nodes,
String lastUpdate)
Create a new ProductInventoryRec instance
|
Modifier and Type | Method and Description |
---|---|
static ProductInventoryRec |
fromJSON(javax.json.JsonObject json)
Create a ProductInventoryRec instance from Jet JSON
|
Date |
getLastUpdate()
Retrive the last update
|
List<FNodeInventoryRec> |
getNodes()
Retrieve the fulfillment nodes
|
javax.json.JsonObject |
toJSON()
Retrieve the JSON representation of this object
|
public ProductInventoryRec(List<FNodeInventoryRec> nodes, String lastUpdate) throws ParseException
nodes
- Fulfillment nodeslastUpdate
- Last updateParseException
- If last update can't be parsedpublic static ProductInventoryRec fromJSON(javax.json.JsonObject json) throws ParseException
json
- Jet JsonParseException
- if the date can't be formattedpublic javax.json.JsonObject toJSON()
public List<FNodeInventoryRec> getNodes()
public Date getLastUpdate()
Copyright © 2017. All rights reserved.