package com.crm.pay.service;

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

import java.util.TreeMap;

/**
 * @program:
 * @description:
 * @author: houn
 * @create: 2022-03-23 10:44
 */
public interface Va5PayService {

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

    /**
     * 回调
     *
     * @throws ServiceException
     */
    void callback(TreeMap<String, String> map, String payType) throws Exception;
}
