public interface IJetRefund extends IJetReturn
Modifier and Type | Method and Description |
---|---|
RefundRec |
getRefundDetail(String refundAuthId)
Get details about a refund
|
List<String> |
pollRefunds(RefundStatus status)
Poll for refunds
|
List<String> |
pollRefunds(RefundStatus status,
boolean includePath)
Poll for refunds
|
String |
postCreateRefund(String orderId,
String altRefundId,
List<RefundItemRec> items)
Merchant Initiated Refunds can be created using this API method
|
completeReturn, getReturnDetail, getReturnsStatusTokens, getReturnStatusTokens
RefundRec getRefundDetail(String refundAuthId) throws APIException, JetException
refundAuthId
- auth id for the refundAPIException
JetException
List<String> pollRefunds(RefundStatus status) throws APIException, JetException
status
- Status to pollAPIException
JetException
List<String> pollRefunds(RefundStatus status, boolean includePath) throws APIException, JetException
status
- Status to pollincludePath
- true = full path from jet, false = right part.APIException
JetException
String postCreateRefund(String orderId, String altRefundId, List<RefundItemRec> items) throws APIException, JetException
orderId
- The Order ID you wish to create a refund for.altRefundId
- The Alternative Refund ID that you must create for a
refund.items
- A list of items that are included in the refund from the order
being refunded.APIException
JetException
Copyright © 2017. All rights reserved.