| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- //----------------------------------------------------------------
- //Module Name: $safeprojectname$
- //Purpose:
- //CopyRight: Muchinfo
- //History:
- //----------------------------------------------------------------
- //DateTime 2016/4/6 18:17:11
- //Author
- //Description Create
- //----------------------------------------------------------------
- using Muchinfo.MTPClient.Data;
- using Muchinfo.MTPClient.Data.Model;
- using Muchinfo.MTPClient.Data.Model.Account;
- using Muchinfo.MTPClient.Data.Model.Sale;
- namespace Muchinfo.MTPClient.Adapter.Abstract
- {
- public abstract class SaleAdapter
- {
- /// <summary>
- /// 申购交易下单
- /// </summary>
- /// <param name="entrustOrder"></param>
- /// <returns></returns>
- public abstract byte[] ToSaleEntrustOrder(NewEntrustOrder entrustOrder);
- /// <summary>
- /// 申购委托回应转换
- /// </summary>
- /// <param name="responeData"></param>
- /// <returns></returns>
- public abstract ResponeEntity<OrderDetail> ToSaleOrder(object responeData);
- /// <summary>
- ///托管申请请求
- /// </summary>
- /// <param name="depositOrder">托管计划</param>
- /// <returns></returns>
- public abstract byte[] ToDepositReqBytes(DepositOrder depositOrder);
- /// <summary>
- /// 托管申请回应
- /// </summary>
- /// <param name="responeData"></param>
- /// <returns></returns>
- public abstract ResponeEntity<DepositOrder> ToLocalDepositEntity(object responeData);
- }
- }
|