package com.ai.da.service;

import com.ai.da.model.dto.ProductPurchaseDTO;

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

public interface AliPayService {
    String tradeCreate(ProductPurchaseDTO productPurchaseDTO, HttpServletRequest request);

    String tradeNotify(Map<String, String> params);

    void processOrder(Map<String, String> params);

    void cancelOrder(String orderNo);

    String queryOrder(String orderNo);

    void checkOrderStatus(String orderNo);

    void refund(String orderNo, String reason);

    String queryRefund(String orderNo);

    String queryBill(String billDate, String type);

}
