package com.crm.pay.service;

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

public interface S2sPayService {

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

    /**
     * 回调
     *
     * @param callbackEntity
     * @throws Exception
     */
    String callback(S2sPayCallbackEntity callbackEntity) throws Exception;
}
