package com.crm.pay.service;

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

/**
 * @program: cwg-my-base
 * @description:
 * @author: houn
 * @create: 2020-12-05 18:22
 */
public interface NganluongService {

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

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