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> ToLocalCityInfo(object obj); public abstract byte[] ToRequestQueryCity(string provinceCode); public abstract ResponeEntity> 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); /// /// 解绑 /// /// /// public abstract byte[] ToBankUnBindCardReq(SigningBank bankunbind); /// /// 绑定返回 /// /// /// public abstract ResponeEntity ToBankReBindCardRsp(object obj); /// /// 解绑返回 /// /// /// public abstract ResponeEntity ToBankUnBindCardRsp(object obj); #endregion #region 子账户余额 /// /// /查询银行余额 /// /// /// public abstract byte[] ToBankSubBalanceReq(SigningBank bankInfo); /// /// 查询银行余额 /// /// /// public abstract ResponeEntity> FromoBankSubBalanceRsp(object obj); #endregion } }