using Muchinfo.MTPClient.Data;
using Muchinfo.MTPClient.Data.Enums;
using Muchinfo.MTPClient.Data.Model;
using Muchinfo.MTPClient.Data.Model.Account;
using Muchinfo.MTPClient.Data.Model.Delivery;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Muchinfo.MTPClient.IService
{
///
/// 交收
///
public interface IDeliveryService
{
///
/// 下交割申报单
///
/// 交割内容
/// 成功回应
/// 失败回应
void DeliveryApplyOrder(DeliveryOrderReqModel deliveryOrder, Action successAction,
Action errorAction);
///
/// 查询交收单
///
/// 账号
/// 开始时间
/// 结束时间
///
///
void QueryDeliveryHolders(ulong AccountId, DateTime strarTime, DateTime endTime,
Action> successAction,
Action errorAction);
///
/// 查询交收单详情
///
/// 交割单
///
///
void QueryDeliveryHoldersMoreDetail(uint DeliveryId, Action> successAction, Action errorAction);
///
/// 查询提货详情
///
/// 出库单ID
///
///
void QueryTakeGoodsMoreDetail(long STOREOUTID, Action> successAction, Action errorAction);
///
/// /查询交收申报单
///
/// 账号
/// 开始时间
/// 结束时间
///
///
void QueryDeliveryEntrustOrders(ulong AccountId, DateTime strarTime, DateTime endTime,
Action> successAction,
Action errorAction);
///
/// 仓单查询
///
///
///
///
///
///
void QueryDeliveryWarehouseOrders(SearchWarehouseOrdersType warehouseType, string WRCode, ulong accountId, DateTime strarTime, DateTime endTime,
Action> successAction,
Action errorAction);
///
/// 点选配对-仓单配对查询【停用-改用接口调用】
///
///
///
///
void QueryDeliveryMatchOrders(uint DeliveryGoodsId, Action> successAction, Action errorAction);
///
/// 提交仓单配对
///
/// 配对仓单内容
/// 成功回应
/// 失败回应
void SubmitDeliveryMatchOrder(DeliveryOrderMatchReqModel deliveryMatchOrder, Action successAction,
Action errorAction);
///
/// 查询提货仓单
///
/// 账号
/// 开始时间
/// 结束时间
///
///
void QueryTakaDeliveryGoodsOrders(ulong AccountId, DateTime strarTime, DateTime endTime,
Action> successAction,
Action errorAction);
///
/// 提货申请-查询
///
///
///
///
void QueryTakaDeliveryGoodsOrdersAppy(ulong accountId, Action> successAction, Action errorAction);
///
/// 交易商品-交割关系表-配置信息
///
///
///
///
void QueryDeliveryGoodsRelationConfig(uint goodId, Action> successAction, Action errorAction);
///
/// 交易商品-交割规则查询
///
///
///
///
///
void QueryDeliveryRule(uint deliveryGoodsId,uint ruleId, Action> successAction, Action errorAction);
///
/// 提交提货申请
///
/// 提货申请内容
/// 成功回应
/// 失败回应
void SubmitOutStoreReq(OutStoreReqModel reqModel, Action successAction,
Action errorAction);
///
/// 确认-交收现货付款请求
///
/// 确认收货内容
/// 成功回应
/// 失败回应
void SubmitReceiveConfirmReq(ReceiveConfirmReqModel reqModel, Action successAction,
Action errorAction);
///
/// 查询配对仓单请求
///
/// 查询配对仓单内容
/// 成功回应
/// 失败回应
void SearchMatchWarehouseReq(WrPairReqModel reqModel, Action successAction,
Action errorAction);
///
/// 查询交割关系表LIST
///
///
///
void QueryGoodsDeliveryRelationList(Action> successAction, Action errorAction);
///
/// 查询P+X交割商品信息
///
///
///
void QueryRelationPAndXGoodsInfoList(Action> successAction, Action errorAction);
///
/// /查询交收申报单
///
/// 账号
/// 开始时间
/// 结束时间
///
///
void QueryDeliveryComplete(ulong AccountId, DateTime strarTime, DateTime endTime,
Action> successAction,
Action errorAction);
///
/// 申报点选仓单查询MTP2.0
///
///
///
///
///
void QueryDeliveryWhRecieptInfo(ulong accountId, uint deliveryGoodsId, Action> successAction, Action errorAction);
///
/// 交割提货个人信息查询请求
///
/// 交割提货个人信息查询请求内容
/// 成功回应
/// 失败回应
void SearchDepositPersonalInfoReq(DepositPersonalInfoReqModel reqModel, Action successAction,
Action errorAction);
///
/// 仓单变更流水查询
///
/// 变更操作人
/// 仓单号
///
///
void SearchWRChangeFlow(uint ChangeOperator, string WRCode, Action> successAction, Action errorAction);
///
/// 查询履约计划明细
///
/// 变更操作人
/// 履约计划id
///
///
void SearchDeliveryPerformDetailPlan(long PlanId,bool isHistory, Action> successAction, Action errorAction);
///
/// 交割关系配置查询
///
/// 交割关系id
///
///
void SearchRelationPerformConfig(long Relationid, Action> successAction, Action errorAction);
///
/// 查询账号持仓商品的仓单
///
/// 账号ID
/// 商品id
///
///
void QueryDeliveryWarehouseOrders(ulong accountId, uint deliveryGoodsId,
Action> successAction,
Action errorAction);
///
/// 通过 仓单Id查询仓单
///
/// 账号ID
///
///
void QueryDeliveryWarehouseOrders(uint wrid,
Action> successAction,
Action errorAction);
///
/// 交割申报查询
///
///
///
///
///
void QueryDeliveryDeclareByCapitalAccount(string statement, List queryCommonParams,
Action> successAction, Action errorAction);
void QueryDryOrdersByCapitalAccount(string statement, List queryCommonParams,
Action> successAction, Action errorAction);
void QueryDeliveryWarehouseOrdersNew(uint goodsId, uint deliveryGoodsId,uint tradeProperty,
Action successAction,
Action errorAction);
}
}