public SettlementInstructions( QuickFix.Fields.SettlInstID aSettlInstID, QuickFix.Fields.SettlInstTransType aSettlInstTransType, QuickFix.Fields.SettlInstMode aSettlInstMode, QuickFix.Fields.SettlInstSource aSettlInstSource, QuickFix.Fields.AllocAccount aAllocAccount, QuickFix.Fields.TransactTime aTransactTime ) : this() { this.SettlInstID = aSettlInstID; this.SettlInstTransType = aSettlInstTransType; this.SettlInstMode = aSettlInstMode; this.SettlInstSource = aSettlInstSource; this.AllocAccount = aAllocAccount; this.TransactTime = aTransactTime; }
public void Set(QuickFix.Fields.AllocAccount val) { this.AllocAccount = val; }
public bool IsSet(QuickFix.Fields.AllocAccount val) { return(IsSetAllocAccount()); }
public QuickFix.Fields.AllocAccount Get(QuickFix.Fields.AllocAccount 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)); }