Blame | Last modification | View Log | RSS feed
package in.shop2020.payment.persistence;import java.util.List;import org.apache.ibatis.annotations.Param;import in.shop2020.payment.domain.Refund;import in.shop2020.payment.domain.RefundAttribute;public interface RefundMapper {int insertRefund(Refund refund);void updateRefund(Refund refund);Refund getRefund(long id);List<Refund> getRefunds(int batchSize);List<Refund> getPendingRefunds(int batchSize);List<Refund> getFailedRefunds(int batchSize);List<RefundAttribute> getAttributesForRefund(long id);void insertRefundAttribute(@Param("refundId") long refundId,@Param("name") String name, @Param("value") String value);}