Exemple #1
0
 public PriceFeedEntryWrapper(RequestContext context)
     : base(context, Adapter.Common.SupportedResourceKinds.prices)
 {
     _entity    = new Price();
     _transform = new PriceTransform(context);
     _commodityFeedEntryWrapper = FeedEntryWrapperFactory.Create(SupportedResourceKinds.commodities, context);
 }
Exemple #2
0
 public SalesOrderFeedEntryWrapper(RequestContext context)
     : base(context, Adapter.Common.SupportedResourceKinds.salesOrders)
 {
     _entity = new Order();
     _tradingAccountsFeedEntryWrapper = FeedEntryWrapperFactory.Create(SupportedResourceKinds.tradingAccounts, context);
     _commoditiesFeedEntryWrapper     = FeedEntryWrapperFactory.Create(SupportedResourceKinds.commodities, context);
     _unitsOfMeasureFeedEntryWrapper  = FeedEntryWrapperFactory.Create(SupportedResourceKinds.unitsOfMeasure, context);
 }