Modifier and Type | Class and Description |
---|---|
static class |
OrderDetailRec.Builder
OrderDetailRec builder
|
Modifier | Constructor and Description |
---|---|
protected |
OrderDetailRec(OrderDetailRec.Builder builder)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static OrderDetailRec |
fromJson(javax.json.JsonObject json)
Create a new OrderDetailRec from jet json
|
Money |
getFixedCommission()
The refunded fixed commission for a sale
|
protected javax.json.JsonObjectBuilder |
getJsonBuilder()
Build jet json from this object, and return the builder instance.
|
Money |
getMerchantPrice()
The merchant price of the product being refunded to the customer
|
Money |
getMerchantReturnCharge()
Any charges for the return that the merchant is required to pay
|
Money |
getReturnFee()
If the item is being returned to Jet fulfillment center, this is the
processing fee charged by Jet
|
Money |
getShippingTax()
The tax charged on shipped revenue to be returned to the customer
|
Money |
getTax()
The returned tax charged to the customer for buying the item
|
Money |
getVariableCommission()
The variable commission that was paid to the merchant or charged by Jet
|
javax.json.JsonObject |
toJSON()
Turn this object into json
|
protected OrderDetailRec(OrderDetailRec.Builder builder)
builder
- builder instancepublic static OrderDetailRec fromJson(javax.json.JsonObject json)
json
- jet jsonpublic javax.json.JsonObject toJSON()
public Money getMerchantReturnCharge()
public Money getReturnFee()
protected final javax.json.JsonObjectBuilder getJsonBuilder()
public Money getMerchantPrice()
public Money getVariableCommission()
public Money getFixedCommission()
public Money getTax()
public Money getShippingTax()
Copyright © 2017. All rights reserved.