Constructor and Description |
---|
FNodePriceRec(String id,
Money price)
Create a new Fulfillment node
|
Modifier and Type | Method and Description |
---|---|
FNodePriceRec |
createCopy()
Create a deep copy of this object
|
static FNodePriceRec |
fromJSON(javax.json.JsonObject node)
Build this from Jet JSON
|
String |
getNodeId()
Retrieve the node id
|
Money |
getPrice()
Retrieve the price
|
javax.json.JsonObject |
toJSON()
Turn this into json
|
String |
toString() |
public FNodePriceRec(String id, Money price) throws IllegalArgumentException
id
- Node idprice
- PriceIllegalArgumentException
- if id is null or empty or if price
is less than zero.public static FNodePriceRec fromJSON(javax.json.JsonObject node)
node
- nodepublic FNodePriceRec createCopy()
public String getNodeId()
public Money getPrice()
public javax.json.JsonObject toJSON()
Copyright © 2017. All rights reserved.