public interface IJetAPIRefund extends IJetAPIReturn
Modifier and Type | Method and Description |
---|---|
IJetAPIResponse |
sendGetRefundDetail(String refundAuthId)
Get details about a refund
|
IJetAPIResponse |
sendPollRefunds(String status)
Poll for refunds
|
IJetAPIResponse |
sendPostCreateRefund(String orderId,
String altRefundId,
List<RefundItemRec> items)
Merchant Initiated Refunds can be created using this API method
|
putCompleteReturn, sendGetReturnDetail, sendPollReturns, sendPutCompleteReturn
get, getHeaderBuilder, getJSONHeaderBuilder, getPlainHeaderBuilder, post, post, post, put, put, put, setErrorHandler
IJetAPIResponse sendGetRefundDetail(String refundAuthId) throws APIException, JetException
refundAuthId
- auth id for the refundAPIException
JetException
IJetAPIResponse sendPollRefunds(String status) throws APIException, JetException
status
- Status to pollAPIException
JetException
IJetAPIResponse sendPostCreateRefund(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.