package com.crm.pay.service;

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

/**
 * @description:
 * @author: houn
 * @create: 2020-12-15 23:44
 */
public interface SticPayService {

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

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