Interface ReturnRequestDao

All Known Implementing Classes:
DefaultReturnRequestDao

public interface ReturnRequestDao
  • Method Details

    • createReturnRequest

      ReturnRequestModel createReturnRequest(OrderModel order)
      Creates an "return request" object (@link ReturnRequest} for the order to be returned.
      Parameters:
      order - the order which should be returned
      Returns:
      ReturnRequest instance, which contains among others the RMA code.
    • getReturnRequests

      List<ReturnRequestModel> getReturnRequests(String orderCode)
      Returns the "return request" for the specified order
      Parameters:
      orderCode - code of the order we ask for the "return request"
      Returns:
      "return request" of the order