package com.crm.pay.service;

import com.crm.pay.entity.callback.neteller.NetellerCallbackEntity;
import com.crm.rely.backend.model.entity.custom.info.CustomInfoEntity;
import com.crm.rely.backend.model.entity.finance.deposit.FinanceDepositAddEntity;

/**
 * @program: cwg-my-base
 * @description:
 * @author: houn
 * @create: 2021-03-20 10:44
 */
public interface NetellerService {

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

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