| | |
| | | package com.stylefeng.guns.modular.account.service; |
| | | |
| | | import com.baomidou.mybatisplus.service.IService; |
| | | import com.stylefeng.guns.modular.cloudPayment.req.BalanceAcctReq; |
| | | import com.stylefeng.guns.modular.cloudPayment.req.UserBankAccountReq; |
| | | import com.stylefeng.guns.modular.system.model.BankCard; |
| | | import com.stylefeng.guns.modular.system.model.ElectronicLedger; |
| | | import com.stylefeng.guns.modular.system.model.UserWithdrawal; |
| | | import com.unionpay.upyzt.resp.BalanceAcctStoreResp; |
| | | import com.unionpay.upyzt.resp.CusApplicationResp; |
| | | |
| | | public interface ElectronicLedgerService extends IService<ElectronicLedger> { |
| | | |
| | | /** |
| | | * 封装开通电子账簿的请求体 |
| | | * @param cusId 司机个人用户号 |
| | | * @param password 交易授权码 |
| | | * @return |
| | | */ |
| | | BalanceAcctReq createBalanceAcctReq(String cusId, String password); |
| | | |
| | | /** |
| | | * 封装电子账簿实体 |
| | | * @param cusApplicationResp |
| | | * @param userWithdrawal |
| | | * @return |
| | | */ |
| | | ElectronicLedger createElectronicLedger(CusApplicationResp cusApplicationResp, UserWithdrawal userWithdrawal, String password); |
| | | |
| | | /** |
| | | * 封装绑定银行卡参数 |
| | | * @param bankCard |
| | | * @return |
| | | */ |
| | | UserBankAccountReq createUserBankAccountReq(BankCard bankCard,String cusId,String code); |
| | | |
| | | |
| | | |
| | | } |