| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- //----------------------------------------------------------------
- //Module Name: $safeprojectname$
- //Purpose:
- //CopyRight: Muchinfo
- //History:
- //----------------------------------------------------------------
- //DateTime 2016/3/24 15:55:51
- //Author
- //Description Create
- //----------------------------------------------------------------
- using Muchinfo.MTPClient.Data;
- using Muchinfo.MTPClient.Data.Model.Account;
- using Muchinfo.MTPClient.Data.Model.Bank;
- using System.Collections.ObjectModel;
- using tas;
- using ApplySecretKeyRsp = Bank.ApplySecretKeyRsp;
- using BankCancelSignRsp = Bank.BankCancelSignRsp;
- using BankDepositReq = Bank.BankDepositReq;
- using BankDepositRsp = Bank.BankDepositRsp;
- using BankWithDrawReq = Bank.BankWithDrawReq;
- using BankWithDrawRsp = Bank.BankWithDrawRsp;
- using SignBankPwdInRsp = Bank.SignBankPwdInRsp;
- using SignUpdateRsp = Bank.SignUpdateRsp;
- namespace Muchinfo.MTPClient.Adapter.Abstract
- {
- public abstract class BankAdapter
- {
-
- public abstract ResponeEntity<List<Data.Model.Bank.City>> ToLocalCityInfo(object obj);
-
- public abstract byte[] ToRequestQueryCity(string provinceCode);
-
- public abstract ResponeEntity<List<Data.Model.Bank.Province>> ToLocalProvinceInfo(object obj);
- public abstract byte[] ToRequestQueryProvince();
- #region 银行相关
- public abstract byte[] ToBankCancelSignReq(SigningBank bankInfo );
- public abstract BankCancelSignRsp FromBankCancelSignRsp(object obj);
- public abstract byte[] ToBankSignReq(tas.BankSignReq request);
- public abstract tas.BankSignRsp FromBankSignRsp(object obj);
- //public abstract byte[] ToSignUpdateReq(tas.SignUpdateReq request);
- public abstract SignUpdateRsp FromSignUpdateRsp(object obj);
-
-
-
- public abstract byte[] ToApplySecretKeyReq(EncryptKeyRequest request);
- public abstract ApplySecretKeyRsp FromApplySecretKeyResponse(object obj);
- public abstract byte[] ToSignBankPwdReq(SignBankPDW request);
- public abstract SignBankPwdInRsp FromSignBankPwdInRsp(object obj);
- public abstract BankSignResult FromSignBankPwdInRspToBankSignResult(BankDepositRsp obj);
- public abstract BankSignResult FromBankSignRspToBankSignResult(tas.BankSignRsp result);
-
- public abstract byte[] ToBankWithDrawReq(BankWithDrawReq request);
- public abstract BankWithDrawRsp FromBankWithDrawRsp(object obj);
- public abstract byte[] ToBankDepositReq(BankDepositReq request);
- public abstract BankDepositRsp FromBankDepositRsp(object obj);
- public abstract byte[] ToIdentifyCodeReq(IdentifyCodeReq req);
- public abstract Bank.BankGetIdentifyCodeRsp FromIdentifyCodeReq(object obj);
- public abstract byte[] ToBankRebindCardReq(SigningBank bankRebind);
- /// <summary>
- /// 解绑
- /// </summary>
- /// <param name="bankunbind"></param>
- /// <returns></returns>
- public abstract byte[] ToBankUnBindCardReq(SigningBank bankunbind);
- /// <summary>
- /// 绑定返回
- /// </summary>
- /// <param name="obj"></param>
- /// <returns></returns>
- public abstract ResponeEntity<BankSignResult> ToBankReBindCardRsp(object obj);
- /// <summary>
- /// 解绑返回
- /// </summary>
- /// <param name="obj"></param>
- /// <returns></returns>
- public abstract ResponeEntity<BankUnBindResult> ToBankUnBindCardRsp(object obj);
- #endregion
- #region 子账户余额
- /// <summary>
- /// /查询银行余额
- /// </summary>
- /// <param name="bankInfo"></param>
- /// <returns></returns>
- public abstract byte[] ToBankSubBalanceReq(SigningBank bankInfo);
- /// <summary>
- /// 查询银行余额
- /// </summary>
- /// <param name="obj"></param>
- /// <returns></returns>
- public abstract ResponeEntity<List<BankBalanceModel>> FromoBankSubBalanceRsp(object obj);
- #endregion
- }
- }
|