package com.hai.order.service;

import com.hai.entity.ApiMerchants;
import com.hai.entity.ApiOrder;
import com.hai.entity.HighOrder;
import com.hai.entity.HighUserCard;

/**
 * 订单支付
 * @className: OrderPayService
 * @author: HuRui
 * @date: 2022/9/5
 **/
public interface OrderPayService {

    /**
     * 汇联通工会卡支付
     * @param order    订单数据
     * @param userCard 用户卡号
     * @return
     */
    HighOrder hltCardPay(HighOrder order, HighUserCard userCard) throws Exception;

    /**
     * 嗨森逛个人油卡支付
     * @param order    订单数据
     * @param userCard  用户卡号
     * @return
     */
    HighOrder oilCardPay(HighOrder order, HighUserCard userCard);

    /**
     * 嗨森逛车队油卡支付
     * @param order    订单数据
     * @param userCard  用户卡号
     * @return
     */
    HighOrder oilCardFleetPay(HighOrder order, HighUserCard userCard, String carLicensePlate);

    /**
     * @Author Sum1Dream
     * @Name apiMchAmount
     * @Description // API商户金额支付
     * @Date 20:44 2023/3/1
     * @Param [order, apiMerchants]
     * @Return com.hai.entity.HighOrder
     */
    HighOrder apiMchAmount(String orderNo , ApiMerchants apiMerchants , ApiOrder apiOrder) throws Exception;

}
