| | |
| | | package com.stylefeng.guns.modular.account.service; |
| | | |
| | | import com.baomidou.mybatisplus.service.IService; |
| | | import com.stylefeng.guns.modular.cloudPayment.req.AllocationReq; |
| | | import com.stylefeng.guns.modular.cloudPayment.req.WithdrawalReq; |
| | | import com.stylefeng.guns.modular.system.model.UserWithdrawal; |
| | | import com.unionpay.upyzt.resp.CusApplicationResp; |
| | | |
| | | public interface UserWithdrawalService extends IService<UserWithdrawal> { |
| | | |
| | | /** |
| | | * 封装司机进件返回的数据 |
| | | * @param cusApplicationResp |
| | | */ |
| | | void cusApplicationRespToUserWithdrawal(UserWithdrawal userWithdrawal,CusApplicationResp cusApplicationResp); |
| | | |
| | | /** |
| | | * 封装分账实体 |
| | | * @param balanceAcctId 收款方电子账簿 |
| | | * @param companyBalanceAcctId 付款方电子账簿 |
| | | * @param amount 金额 |
| | | * @return |
| | | */ |
| | | AllocationReq createAllocationReq(String balanceAcctId, String companyBalanceAcctId, Integer amount,String password); |
| | | |
| | | /** |
| | | * 封装提现实体 |
| | | * @param balanceAcctId 体现账户电子账簿 |
| | | * @param amount 金额 |
| | | * @param password 密码 |
| | | * @param code 银行账号 |
| | | * @return |
| | | */ |
| | | WithdrawalReq createWithdrawalReq(String balanceAcctId, Integer amount, String password, String code); |
| | | |
| | | /** |
| | | * 司机提现 |