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/22 10:01
 * @Classname: IBaoFuService
 * @PackageName: com.hzs.third.pay.service
 */
public interface IBaoFuService {

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

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

}
