public class ReturnItemRec extends Object implements Jsonable
Modifier and Type | Class and Description |
---|---|
static class |
ReturnItemRec.Builder
Instance builder
|
Modifier | Constructor and Description |
---|---|
protected |
ReturnItemRec(ReturnItemRec.Builder b)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static ReturnItemRec |
fromJson(javax.json.JsonObject json)
Convert jet json into this
|
static List<ReturnItemRec> |
fromJsonArray(javax.json.JsonArray json)
Turn a list of merchant sku's from jet into a list of objects
|
static ReturnItemRec.Builder |
fromJsonToBuilder(javax.json.JsonObject json) |
static ReturnItemRec.Builder |
fromReturnMerchantSkuRec(ReturnMerchantSkuRec from)
Convert a ReturnMerchantSkuRec instance into a ReturnItemRec instance.
|
String |
getAltOrderItemId()
If an alt_order_item_id has been associated with the order_item_id via
the order accept message, this may be passed instead of the
order_item_id field
|
RefundAmountRec |
getAmount()
The amount the retailer is willing to refund to the customer
|
RefundFeedback |
getFeedback()
The reason this refund is less than the full amount.
|
String |
getNotes()
Provide additional information about why the item was refunded for lower
than the full amount.
|
String |
getOrderItemId()
Jet's unique identifier for an item in a merchant order.
|
int |
getOrderReturnRefundQty()
Quantity of the given item that was refunded.
|
int |
getQtyReturned()
Quantity of the given item that was returned.
|
javax.json.JsonObject |
toJSON()
Turn this into jet json
|
protected ReturnItemRec(ReturnItemRec.Builder b)
b
- builder instancepublic static ReturnItemRec.Builder fromReturnMerchantSkuRec(ReturnMerchantSkuRec from)
from
- public static List<ReturnItemRec> fromJsonArray(javax.json.JsonArray json)
json
- jet json arraypublic static ReturnItemRec.Builder fromJsonToBuilder(javax.json.JsonObject json)
public static ReturnItemRec fromJson(javax.json.JsonObject json)
json
- jet jsonpublic String getOrderItemId()
public String getAltOrderItemId()
public int getQtyReturned()
public int getOrderReturnRefundQty()
public RefundFeedback getFeedback()
public String getNotes()
public RefundAmountRec getAmount()
Copyright © 2017. All rights reserved.