Modifier and Type | Class and Description |
---|---|
static class |
RefundRec.Builder
RefundRec builder
|
Modifier | Constructor and Description |
---|---|
protected |
RefundRec(RefundRec.Builder b)
A refund record
|
Modifier and Type | Method and Description |
---|---|
static RefundRec |
fromJson(javax.json.JsonObject json)
Convert jet json into an instance of this
|
static RefundRec.Builder |
fromOrderRec(OrderRec order) |
String |
getAltOrderId()
Optional merchant supplied order ID.
|
String |
getAltRefundId()
The refund ID in the merchant's system associated with this refund.
|
List<RefundItemRec> |
getItems()
Items in the refund
|
String |
getMerchantOrderId()
Jet's unique ID for a given merchant order.
|
String |
getReferenceOrderId()
Jet's human readable merchant order ID that may have a small chance of
collision overtime.
|
String |
getRefundAuthId()
Jet's human readable return authorization number that may have a small
chance of collision overtime.
|
RefundAcceptedStatus |
getStatus()
Jet's return message for whether the refund was accepted
|
javax.json.JsonObject |
toJSON()
Turn this into jet json
|
protected RefundRec(RefundRec.Builder b)
b
- builderpublic static RefundRec.Builder fromOrderRec(OrderRec order)
public static RefundRec fromJson(javax.json.JsonObject json)
json
- jsonpublic String getRefundAuthId()
public String getAltRefundId()
public RefundAcceptedStatus getStatus()
public String getMerchantOrderId()
public String getReferenceOrderId()
public String getAltOrderId()
public List<RefundItemRec> getItems()
Copyright © 2017. All rights reserved.