package com.jeequan.jeepay.core.interfaces.paychannel.alipaybiz;

import com.alibaba.fastjson.JSONObject;
import com.jeequan.jeepay.core.model.alipay.AlipaySpOperationInfo;
import com.jeequan.jeepay.core.model.params.alipay.AlipayIsvParams;

/*
* 支付宝服务商代运营授权接口
*
* @author zx
*
* @date 2023/3/8 15:13
*/
public interface IAlipayOpenSpOperationService {

    /** 获取支付宝代运营授权二维码 **/
    JSONObject querySpOperationQrcode(AlipayIsvParams alipayIsvParams, String alipayAccount);

    /** 发送支付宝代运营授权消息 **/
    JSONObject applySpOperation(AlipayIsvParams alipayIsvParams, String alipayAccount);

    /** 查询支付宝代运营授权结果 **/
    AlipaySpOperationInfo querySpOperationResult(AlipayIsvParams alipayIsvParams, String alipayAccount);

}
