public class OrderTotalRec extends Object
Constructor and Description |
---|
OrderTotalRec(ItemPriceRec itemPrice,
Money itemFees,
List<FeeAdjRec> adjustments,
Money regFees)
Create a new OrderTotalRec instance
|
Modifier and Type | Method and Description |
---|---|
static OrderTotalRec |
fromJson(javax.json.JsonObject json)
Turn jet json into an instance
|
List<FeeAdjRec> |
getAdjustments()
The base and variable commissions paid to Jet on this order.
|
Money |
getItemFees()
The fees paid to Jet.com for the given quantity of the given merchant
SKU in the given merchant order
|
ItemPriceRec |
getItemPrice()
Price of the item
|
Money |
getRegFees()
Regulatory fees
|
javax.json.JsonObject |
toJSON()
Turn this into a json object for jet api
|
public OrderTotalRec(ItemPriceRec itemPrice, Money itemFees, List<FeeAdjRec> adjustments, Money regFees)
itemPrice
- Item priceitemFees
- Fees paid to jetadjustments
- Jet commissionsregFees
- Feespublic static OrderTotalRec fromJson(javax.json.JsonObject json)
json
- jet jsonpublic final ItemPriceRec getItemPrice()
public final Money getItemFees()
public final List<FeeAdjRec> getAdjustments()
public final Money getRegFees()
public javax.json.JsonObject toJSON()
Copyright © 2017. All rights reserved.