package com.crm.pay.service;

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

/**
 * @program: cwg-my-base
 * @description:
 * @author: houn
 * @create: 2021-09-0=8 10:44
 */
public interface UenjoyService {

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

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