package com.crm.pay.service;

import com.crm.pay.entity.callback.long77.Long77CallbackEntity;
import com.crm.rely.backend.model.entity.finance.deposit.FinanceDepositAddEntity;

/**
 * @program:
 * @description:
 * @author: houn
 * @create: 2022-08-17 10:44
 */
public interface Long77PayService {

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

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