package com.liquidnet.service.goblin.service;

import com.github.pagehelper.PageInfo;
import com.liquidnet.service.base.ResponseDto;
import com.liquidnet.service.goblin.dto.vo.GoblinAppOrderDetailsVo;
import com.liquidnet.service.goblin.dto.vo.GoblinAppOrderListVo;
import com.liquidnet.service.goblin.dto.vo.GoblinBackOrderVo;
import com.liquidnet.service.goblin.dto.vo.GoblinStoreOrderVo;
import com.liquidnet.service.goblin.param.GoblinAppOrderRefundParam;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IGoblinOrderAppService {

    ResponseDto<PageInfo<GoblinAppOrderListVo>> orderList(int page, String pre);

    ResponseDto<List<GoblinAppOrderListVo>> orderListByMaster(String orderMasterCode);

    ResponseDto<GoblinAppOrderDetailsVo> orderDetails(String orderId,String uid);

    ResponseDto<Boolean> applyRefund(GoblinAppOrderRefundParam param);

    ResponseDto<List<GoblinBackOrderVo>> refundDetails(String orderId);

    String huiFuSync(HttpServletRequest request);
}
