AllocAccount Field
Inheritance: StringField
Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public void Set(QuickFix.Fields.AllocAccount val) 
 { 
     this.AllocAccount = val;
 }
Exemplo n.º 3
0
 public bool IsSet(QuickFix.Fields.AllocAccount val)
 {
     return(IsSetAllocAccount());
 }
Exemplo n.º 4
0
 public QuickFix.Fields.AllocAccount Get(QuickFix.Fields.AllocAccount val)
 {
     GetField(val);
     return(val);
 }
Exemplo n.º 5
0
 public void Set(QuickFix.Fields.AllocAccount val)
 {
     this.AllocAccount = val;
 }
Exemplo n.º 6
0
        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));
        }