public AllocationInstructionAck( QuickFix.Fields.AllocID aAllocID, QuickFix.Fields.TransactTime aTransactTime, QuickFix.Fields.AllocStatus aAllocStatus ) : this() { this.AllocID = aAllocID; this.TransactTime = aTransactTime; this.AllocStatus = aAllocStatus; }
public AllocationACK( QuickFix.Fields.AllocID aAllocID, QuickFix.Fields.TradeDate aTradeDate, QuickFix.Fields.AllocStatus aAllocStatus ) : this() { this.AllocID = aAllocID; this.TradeDate = aTradeDate; this.AllocStatus = aAllocStatus; }
public Allocation( QuickFix.Fields.AllocID aAllocID, QuickFix.Fields.AllocTransType aAllocTransType, QuickFix.Fields.Side aSide, QuickFix.Fields.Symbol aSymbol, QuickFix.Fields.Shares aShares, QuickFix.Fields.AvgPx aAvgPx, QuickFix.Fields.TradeDate aTradeDate ) : this() { this.AllocID = aAllocID; this.AllocTransType = aAllocTransType; this.Side = aSide; this.Symbol = aSymbol; this.Shares = aShares; this.AvgPx = aAvgPx; this.TradeDate = aTradeDate; }
public void Set(QuickFix.Fields.AllocID val) { this.AllocID = val; }
public bool IsSet(QuickFix.Fields.AllocID val) { return(IsSetAllocID()); }
public QuickFix.Fields.AllocID Get(QuickFix.Fields.AllocID val) { GetField(val); return(val); }
public void SetFieldsTest() { var message = new Message(); var allocId = new AllocID("123456"); var allocAccount = new AllocAccount("QuickFixAccount"); var allocAccountType = new AllocAccountType(AllocAccountType.HOUSE_TRADER); message.SetFields(new IField[] { allocAccount, allocAccountType, allocId }); Assert.AreEqual(true, message.IsSetField(Tags.AllocID)); Assert.AreEqual("123456", message.GetField(Tags.AllocID)); Assert.AreEqual(true, message.IsSetField(Tags.AllocAccount)); Assert.AreEqual("QuickFixAccount", message.GetField(Tags.AllocAccount)); Assert.AreEqual(true, message.IsSetField(Tags.AllocAccountType)); Assert.AreEqual(AllocAccountType.HOUSE_TRADER, message.GetInt(Tags.AllocAccountType)); }