Constructor and Description |
---|
ItemPriceRec()
Create an empty instance (zeros)
|
ItemPriceRec(Money price,
Money itemTax,
Money shippingPrice,
Money shippingTax)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
static ItemPriceRec |
fromJson(javax.json.JsonObject json)
Convert jet json into an instance
|
Money |
getItemTax()
The tax of the item
|
Money |
getPrice()
Item price
|
Money |
getShippingPrice()
The shipping cost of the item
|
Money |
getShippingTax()
The shipping tax of the item
|
javax.json.JsonObject |
toJSON()
Convert this object into jet json
|
public static ItemPriceRec fromJson(javax.json.JsonObject json)
json
- jet jsonpublic Money getPrice()
public Money getItemTax()
public Money getShippingPrice()
public Money getShippingTax()
Copyright © 2017. All rights reserved.