public interface AdminOrderIntegrationMgrInterface
Modifier and Type | Method and Description |
---|---|
void |
afterInsertOrderReturn(AdminOrderReturn orderReturn)
Called after an order return has been inserted
|
void |
changeOrderReturnStatus(int orderReturnId,
int currentStatus,
int newStatus)
Called whenever the state of an order return changes
|
void |
changeOrderStatus(int orderId,
int currentStatus,
int newStatus)
Called just after an order status change
|
java.lang.String |
getCouponCode(java.lang.String options)
This method may be customized in order to implement an algorithm that creates a coupon code
or to call out to an external system in order to retrieve one.
|
java.lang.String |
getRMACode(int orderId)
This method may be customized in order to implement an algorithm that creates an RMA code for
the order.
|
void changeOrderStatus(int orderId, int currentStatus, int newStatus)
orderId
- Id of the ordercurrentStatus
- Current state of the ordernewStatus
- New state of the orderjava.lang.String getRMACode(int orderId)
orderId
- Id of the orderjava.lang.String getCouponCode(java.lang.String options)
options
- Optional parameter to control the type of code returnedvoid afterInsertOrderReturn(AdminOrderReturn orderReturn)
orderReturn
- The order return that has just been insertedvoid changeOrderReturnStatus(int orderReturnId, int currentStatus, int newStatus)
orderReturnId
- Id of the order returncurrentStatus
- Current statusnewStatus
- New statusCopyright © 2018 DS Data Systems UK Ltd.