package com.crm.pay.service;

import com.crm.pay.entity.callback.alpha.AlphaCallbackEntity;
import com.crm.rely.backend.model.entity.finance.deposit.FinanceDepositAddEntity;

/**
 * @description:
 * @author: houn
 * @create: 2021-10-19 23:44
 */
public interface AlphaService {

    /**
     * 支付
     *
     * @param balanceSaveEntity
     * @return
     * @throws Exception
     */
    String pay(FinanceDepositAddEntity balanceSaveEntity) throws Exception;

    /**
     * 回调
     *
     * @param callbackEntity
     * @throws Exception
     */
    void callback(AlphaCallbackEntity callbackEntity, String key, String sign) throws Exception;
}
