package com.crm.pay.service;


import com.crm.rely.backend.model.entity.finance.deposit.FinanceDepositAddEntity;

import java.util.Map;

/**
 * @program: cwg-my-base
 * @description:
 * @author: houn
 * @create: 2020-09-14 10:44
 */
public interface FlashExService {

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

    /**
     * 回调
     *
     * @param callbackEntity
     * @throws ServiceException
     */
    void callback(Map<String, String> callbackEntity) throws Exception;
}
