package com.hzs.third.pay.service;

import com.hzs.common.core.domain.R;
import com.hzs.common.domain.third.pay.TOnlinePayment;

/**
 * @Description: 汇付支付服务
 * @Author: jiang chao
 * @Time: 2023/3/17 15:14
 * @Classname: IAdaPayService
 * @PackageName: com.hzs.third.pay.service
 */
public interface IAdaPayService {

    /**
     * 创建跳转URL
     *
     * @param onlinePayment
     * @return
     */
    R<String> createCode(TOnlinePayment onlinePayment);

    /**
     * 银行卡支付
     *
     * @param onlinePayment
     * @param bindCode
     * @return
     */
    R<String> bankPay(TOnlinePayment onlinePayment, String bindCode);

}
