Constructor and Description |
---|
CompleteReturnRequestRec(String merchantOrderId,
String altOrderId,
boolean agreeToReturnCharge,
ChargeFeedback feedback,
List<ReturnItemRec> items)
Construct it, Dog
|
Modifier and Type | Method and Description |
---|---|
static CompleteReturnRequestRec |
fromJson(javax.json.JsonObject json)
Turn jet json into an instance
|
String |
getAltOrderId()
Optional merchant supplied order ID that should have been established in
OrderAcknowledgement in order to use in this message.
|
ChargeFeedback |
getFeedback()
The reason the merchant does not agree to the return charge
for the return notification.
|
List<ReturnItemRec> |
getItems()
This is included if status is inprogress or completed.
|
String |
getMerchantOrderId()
Jet's unique ID for a given merchant order
|
boolean |
isAgreeToReturnCharge()
This field set by order refund message.
|
javax.json.JsonObject |
toJSON()
Turn this into jet json
|
public CompleteReturnRequestRec(String merchantOrderId, String altOrderId, boolean agreeToReturnCharge, ChargeFeedback feedback, List<ReturnItemRec> items)
agreeToReturnCharge
- This field set by order refund message.
Specifies if the merchant agrees to the return charge for the return
notification.altOrderId
- Optional merchant supplied order ID that should have
been established in OrderAcknowledgement in order to use in this message.merchantOrderId
- Jet's unique ID for a given merchant orderfeedback
- The reason the merchant does not agree to the return charge
for the return notification.items
- This is included if status is inprogress or completed.public static CompleteReturnRequestRec fromJson(javax.json.JsonObject json)
json
- jsonpublic boolean isAgreeToReturnCharge()
public String getAltOrderId()
public String getMerchantOrderId()
public ChargeFeedback getFeedback()
public List<ReturnItemRec> getItems()
Copyright © 2017. All rights reserved.