package com.crm.pay.service;

import com.crm.pay.entity.callback.b2b.v2.B2BinV2CallbackEntity;
import com.crm.rely.backend.model.entity.finance.deposit.FinanceDepositAddEntity;

/**
 * @description:
 * @author: houn
 * @create: 2021-12-07 23:44
 */
public interface B2BinV2Service {

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

    /**
     * 回调
     * @param callbackEntity
     * @throws Exception
     */
    void  callback(B2BinV2CallbackEntity callbackEntity)throws Exception;
}
