public SettlementRateSource(XmlNode xmlNode)
 {
     XmlNodeList informationSourceNodeList = xmlNode.SelectNodes("informationSource");
     if (informationSourceNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in informationSourceNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 informationSourceIDRef = item.Attributes["id"].Name;
                 InformationSource ob = InformationSource();
                 IDManager.SetID(informationSourceIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 informationSourceIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 informationSource = new InformationSource(item);
             }
         }
     }
     
 
     XmlNodeList cashSettlementReferenceBanksNodeList = xmlNode.SelectNodes("cashSettlementReferenceBanks");
     if (cashSettlementReferenceBanksNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in cashSettlementReferenceBanksNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 cashSettlementReferenceBanksIDRef = item.Attributes["id"].Name;
                 CashSettlementReferenceBanks ob = CashSettlementReferenceBanks();
                 IDManager.SetID(cashSettlementReferenceBanksIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 cashSettlementReferenceBanksIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 cashSettlementReferenceBanks = new CashSettlementReferenceBanks(item);
             }
         }
     }
     
 
 }
示例#2
0
        public SettlementRateSource(XmlNode xmlNode)
        {
            XmlNodeList informationSourceNodeList = xmlNode.SelectNodes("informationSource");

            if (informationSourceNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in informationSourceNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        informationSourceIDRef = item.Attributes["id"].Name;
                        InformationSource ob = InformationSource();
                        IDManager.SetID(informationSourceIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        informationSourceIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        informationSource = new InformationSource(item);
                    }
                }
            }


            XmlNodeList cashSettlementReferenceBanksNodeList = xmlNode.SelectNodes("cashSettlementReferenceBanks");

            if (cashSettlementReferenceBanksNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in cashSettlementReferenceBanksNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        cashSettlementReferenceBanksIDRef = item.Attributes["id"].Name;
                        CashSettlementReferenceBanks ob = CashSettlementReferenceBanks();
                        IDManager.SetID(cashSettlementReferenceBanksIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        cashSettlementReferenceBanksIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        cashSettlementReferenceBanks = new CashSettlementReferenceBanks(item);
                    }
                }
            }
        }
 public SettlementRateSource(XmlNode xmlNode)
 {
     XmlNode informationSourceNode = xmlNode.SelectSingleNode("informationSource");
     
     if (informationSourceNode != null)
     {
         if (informationSourceNode.Attributes["href"] != null || informationSourceNode.Attributes["id"] != null) 
         {
             if (informationSourceNode.Attributes["id"] != null) 
             {
                 informationSourceIDRef_ = informationSourceNode.Attributes["id"].Value;
                 InformationSource ob = new InformationSource(informationSourceNode);
                 IDManager.SetID(informationSourceIDRef_, ob);
             }
             else if (informationSourceNode.Attributes["href"] != null)
             {
                 informationSourceIDRef_ = informationSourceNode.Attributes["href"].Value;
             }
             else
             {
                 informationSource_ = new InformationSource(informationSourceNode);
             }
         }
         else
         {
             informationSource_ = new InformationSource(informationSourceNode);
         }
     }
     
 
     XmlNode cashSettlementReferenceBanksNode = xmlNode.SelectSingleNode("cashSettlementReferenceBanks");
     
     if (cashSettlementReferenceBanksNode != null)
     {
         if (cashSettlementReferenceBanksNode.Attributes["href"] != null || cashSettlementReferenceBanksNode.Attributes["id"] != null) 
         {
             if (cashSettlementReferenceBanksNode.Attributes["id"] != null) 
             {
                 cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["id"].Value;
                 CashSettlementReferenceBanks ob = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                 IDManager.SetID(cashSettlementReferenceBanksIDRef_, ob);
             }
             else if (cashSettlementReferenceBanksNode.Attributes["href"] != null)
             {
                 cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["href"].Value;
             }
             else
             {
                 cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
             }
         }
         else
         {
             cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
         }
     }
     
 
 }
        public SettlementRateSource(XmlNode xmlNode)
        {
            XmlNode informationSourceNode = xmlNode.SelectSingleNode("informationSource");

            if (informationSourceNode != null)
            {
                if (informationSourceNode.Attributes["href"] != null || informationSourceNode.Attributes["id"] != null)
                {
                    if (informationSourceNode.Attributes["id"] != null)
                    {
                        informationSourceIDRef_ = informationSourceNode.Attributes["id"].Value;
                        InformationSource ob = new InformationSource(informationSourceNode);
                        IDManager.SetID(informationSourceIDRef_, ob);
                    }
                    else if (informationSourceNode.Attributes["href"] != null)
                    {
                        informationSourceIDRef_ = informationSourceNode.Attributes["href"].Value;
                    }
                    else
                    {
                        informationSource_ = new InformationSource(informationSourceNode);
                    }
                }
                else
                {
                    informationSource_ = new InformationSource(informationSourceNode);
                }
            }


            XmlNode cashSettlementReferenceBanksNode = xmlNode.SelectSingleNode("cashSettlementReferenceBanks");

            if (cashSettlementReferenceBanksNode != null)
            {
                if (cashSettlementReferenceBanksNode.Attributes["href"] != null || cashSettlementReferenceBanksNode.Attributes["id"] != null)
                {
                    if (cashSettlementReferenceBanksNode.Attributes["id"] != null)
                    {
                        cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["id"].Value;
                        CashSettlementReferenceBanks ob = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                        IDManager.SetID(cashSettlementReferenceBanksIDRef_, ob);
                    }
                    else if (cashSettlementReferenceBanksNode.Attributes["href"] != null)
                    {
                        cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["href"].Value;
                    }
                    else
                    {
                        cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                    }
                }
                else
                {
                    cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                }
            }
        }
        public CrossCurrencyMethod(XmlNode xmlNode)
        {
            XmlNode cashSettlementReferenceBanksNode = xmlNode.SelectSingleNode("cashSettlementReferenceBanks");

            if (cashSettlementReferenceBanksNode != null)
            {
                if (cashSettlementReferenceBanksNode.Attributes["href"] != null || cashSettlementReferenceBanksNode.Attributes["id"] != null)
                {
                    if (cashSettlementReferenceBanksNode.Attributes["id"] != null)
                    {
                        cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["id"].Value;
                        CashSettlementReferenceBanks ob = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                        IDManager.SetID(cashSettlementReferenceBanksIDRef_, ob);
                    }
                    else if (cashSettlementReferenceBanksNode.Attributes["href"] != null)
                    {
                        cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["href"].Value;
                    }
                    else
                    {
                        cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                    }
                }
                else
                {
                    cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                }
            }


            XmlNodeList cashSettlementCurrencyNodeList = xmlNode.SelectNodes("cashSettlementCurrency");

            if (cashSettlementCurrencyNodeList != null)
            {
                this.cashSettlementCurrency_ = new List <Currency>();
                foreach (XmlNode item in cashSettlementCurrencyNodeList)
                {
                    if (item.Attributes["href"] != null || item.Attributes["id"] != null)
                    {
                        if (item.Attributes["id"] != null)
                        {
                            cashSettlementCurrencyIDRef_ = item.Attributes["id"].Value;
                            cashSettlementCurrency_.Add(new Currency(item));
                            IDManager.SetID(cashSettlementCurrencyIDRef_, cashSettlementCurrency_[cashSettlementCurrency_.Count - 1]);
                        }
                        else if (item.Attributes["href"] != null)
                        {
                            cashSettlementCurrencyIDRef_ = item.Attributes["href"].Value;
                        }
                        else
                        {
                            cashSettlementCurrency_.Add(new Currency(item));
                        }
                    }
                    else
                    {
                        cashSettlementCurrency_.Add(new Currency(item));
                    }
                }
            }


            XmlNode quotationRateTypeNode = xmlNode.SelectSingleNode("quotationRateType");

            if (quotationRateTypeNode != null)
            {
                if (quotationRateTypeNode.Attributes["href"] != null || quotationRateTypeNode.Attributes["id"] != null)
                {
                    if (quotationRateTypeNode.Attributes["id"] != null)
                    {
                        quotationRateTypeIDRef_ = quotationRateTypeNode.Attributes["id"].Value;
                        QuotationRateTypeEnum ob = new QuotationRateTypeEnum(quotationRateTypeNode);
                        IDManager.SetID(quotationRateTypeIDRef_, ob);
                    }
                    else if (quotationRateTypeNode.Attributes["href"] != null)
                    {
                        quotationRateTypeIDRef_ = quotationRateTypeNode.Attributes["href"].Value;
                    }
                    else
                    {
                        quotationRateType_ = new QuotationRateTypeEnum(quotationRateTypeNode);
                    }
                }
                else
                {
                    quotationRateType_ = new QuotationRateTypeEnum(quotationRateTypeNode);
                }
            }
        }
 public CashPriceMethod(XmlNode xmlNode)
 {
     XmlNode cashSettlementReferenceBanksNode = xmlNode.SelectSingleNode("cashSettlementReferenceBanks");
     
     if (cashSettlementReferenceBanksNode != null)
     {
         if (cashSettlementReferenceBanksNode.Attributes["href"] != null || cashSettlementReferenceBanksNode.Attributes["id"] != null) 
         {
             if (cashSettlementReferenceBanksNode.Attributes["id"] != null) 
             {
                 cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["id"].Value;
                 CashSettlementReferenceBanks ob = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                 IDManager.SetID(cashSettlementReferenceBanksIDRef_, ob);
             }
             else if (cashSettlementReferenceBanksNode.Attributes["href"] != null)
             {
                 cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["href"].Value;
             }
             else
             {
                 cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
             }
         }
         else
         {
             cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
         }
     }
     
 
     XmlNode cashSettlementCurrencyNode = xmlNode.SelectSingleNode("cashSettlementCurrency");
     
     if (cashSettlementCurrencyNode != null)
     {
         if (cashSettlementCurrencyNode.Attributes["href"] != null || cashSettlementCurrencyNode.Attributes["id"] != null) 
         {
             if (cashSettlementCurrencyNode.Attributes["id"] != null) 
             {
                 cashSettlementCurrencyIDRef_ = cashSettlementCurrencyNode.Attributes["id"].Value;
                 Currency ob = new Currency(cashSettlementCurrencyNode);
                 IDManager.SetID(cashSettlementCurrencyIDRef_, ob);
             }
             else if (cashSettlementCurrencyNode.Attributes["href"] != null)
             {
                 cashSettlementCurrencyIDRef_ = cashSettlementCurrencyNode.Attributes["href"].Value;
             }
             else
             {
                 cashSettlementCurrency_ = new Currency(cashSettlementCurrencyNode);
             }
         }
         else
         {
             cashSettlementCurrency_ = new Currency(cashSettlementCurrencyNode);
         }
     }
     
 
     XmlNode quotationRateTypeNode = xmlNode.SelectSingleNode("quotationRateType");
     
     if (quotationRateTypeNode != null)
     {
         if (quotationRateTypeNode.Attributes["href"] != null || quotationRateTypeNode.Attributes["id"] != null) 
         {
             if (quotationRateTypeNode.Attributes["id"] != null) 
             {
                 quotationRateTypeIDRef_ = quotationRateTypeNode.Attributes["id"].Value;
                 QuotationRateTypeEnum ob = new QuotationRateTypeEnum(quotationRateTypeNode);
                 IDManager.SetID(quotationRateTypeIDRef_, ob);
             }
             else if (quotationRateTypeNode.Attributes["href"] != null)
             {
                 quotationRateTypeIDRef_ = quotationRateTypeNode.Attributes["href"].Value;
             }
             else
             {
                 quotationRateType_ = new QuotationRateTypeEnum(quotationRateTypeNode);
             }
         }
         else
         {
             quotationRateType_ = new QuotationRateTypeEnum(quotationRateTypeNode);
         }
     }
     
 
 }
示例#7
0
        public CashPriceMethod(XmlNode xmlNode)
        {
            XmlNodeList cashSettlementReferenceBanksNodeList = xmlNode.SelectNodes("cashSettlementReferenceBanks");

            if (cashSettlementReferenceBanksNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in cashSettlementReferenceBanksNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        cashSettlementReferenceBanksIDRef = item.Attributes["id"].Name;
                        CashSettlementReferenceBanks ob = CashSettlementReferenceBanks();
                        IDManager.SetID(cashSettlementReferenceBanksIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        cashSettlementReferenceBanksIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        cashSettlementReferenceBanks = new CashSettlementReferenceBanks(item);
                    }
                }
            }


            XmlNodeList cashSettlementCurrencyNodeList = xmlNode.SelectNodes("cashSettlementCurrency");

            if (cashSettlementCurrencyNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in cashSettlementCurrencyNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        cashSettlementCurrencyIDRef = item.Attributes["id"].Name;
                        Currency ob = Currency();
                        IDManager.SetID(cashSettlementCurrencyIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        cashSettlementCurrencyIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        cashSettlementCurrency = new Currency(item);
                    }
                }
            }


            XmlNodeList quotationRateTypeNodeList = xmlNode.SelectNodes("quotationRateType");

            if (quotationRateTypeNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in quotationRateTypeNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        quotationRateTypeIDRef = item.Attributes["id"].Name;
                        QuotationRateTypeEnum ob = QuotationRateTypeEnum();
                        IDManager.SetID(quotationRateTypeIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        quotationRateTypeIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        quotationRateType = new QuotationRateTypeEnum(item);
                    }
                }
            }
        }
 public CrossCurrencyMethod(XmlNode xmlNode)
 {
     XmlNode cashSettlementReferenceBanksNode = xmlNode.SelectSingleNode("cashSettlementReferenceBanks");
     
     if (cashSettlementReferenceBanksNode != null)
     {
         if (cashSettlementReferenceBanksNode.Attributes["href"] != null || cashSettlementReferenceBanksNode.Attributes["id"] != null) 
         {
             if (cashSettlementReferenceBanksNode.Attributes["id"] != null) 
             {
                 cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["id"].Value;
                 CashSettlementReferenceBanks ob = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                 IDManager.SetID(cashSettlementReferenceBanksIDRef_, ob);
             }
             else if (cashSettlementReferenceBanksNode.Attributes["href"] != null)
             {
                 cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["href"].Value;
             }
             else
             {
                 cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
             }
         }
         else
         {
             cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
         }
     }
     
 
     XmlNodeList cashSettlementCurrencyNodeList = xmlNode.SelectNodes("cashSettlementCurrency");
     
     if (cashSettlementCurrencyNodeList != null)
     {
         this.cashSettlementCurrency_ = new List<Currency>();
         foreach (XmlNode item in cashSettlementCurrencyNodeList)
         {
             if (item.Attributes["href"] != null || item.Attributes["id"] != null) 
             {
                 if (item.Attributes["id"] != null) 
                 {
                     cashSettlementCurrencyIDRef_ = item.Attributes["id"].Value;
                     cashSettlementCurrency_.Add(new Currency(item));
                     IDManager.SetID(cashSettlementCurrencyIDRef_, cashSettlementCurrency_[cashSettlementCurrency_.Count - 1 ]);
                 }
                 else if (item.Attributes["href"] != null)
                 {
                     cashSettlementCurrencyIDRef_ = item.Attributes["href"].Value;
                 }
                 else
                 {
                 cashSettlementCurrency_.Add(new Currency(item));
                 }
             }
             else
             {
                 cashSettlementCurrency_.Add(new Currency(item));
             }
         }
     }
     
 
     XmlNode quotationRateTypeNode = xmlNode.SelectSingleNode("quotationRateType");
     
     if (quotationRateTypeNode != null)
     {
         if (quotationRateTypeNode.Attributes["href"] != null || quotationRateTypeNode.Attributes["id"] != null) 
         {
             if (quotationRateTypeNode.Attributes["id"] != null) 
             {
                 quotationRateTypeIDRef_ = quotationRateTypeNode.Attributes["id"].Value;
                 QuotationRateTypeEnum ob = new QuotationRateTypeEnum(quotationRateTypeNode);
                 IDManager.SetID(quotationRateTypeIDRef_, ob);
             }
             else if (quotationRateTypeNode.Attributes["href"] != null)
             {
                 quotationRateTypeIDRef_ = quotationRateTypeNode.Attributes["href"].Value;
             }
             else
             {
                 quotationRateType_ = new QuotationRateTypeEnum(quotationRateTypeNode);
             }
         }
         else
         {
             quotationRateType_ = new QuotationRateTypeEnum(quotationRateTypeNode);
         }
     }
     
 
 }
 public CrossCurrencyMethod(XmlNode xmlNode)
 {
     XmlNodeList cashSettlementReferenceBanksNodeList = xmlNode.SelectNodes("cashSettlementReferenceBanks");
     if (cashSettlementReferenceBanksNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in cashSettlementReferenceBanksNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 cashSettlementReferenceBanksIDRef = item.Attributes["id"].Name;
                 CashSettlementReferenceBanks ob = CashSettlementReferenceBanks();
                 IDManager.SetID(cashSettlementReferenceBanksIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 cashSettlementReferenceBanksIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 cashSettlementReferenceBanks = new CashSettlementReferenceBanks(item);
             }
         }
     }
     
 
     XmlNodeList cashSettlementCurrencyNodeList = xmlNode.SelectNodes("cashSettlementCurrency");
     
     foreach (XmlNode item in cashSettlementCurrencyNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 cashSettlementCurrencyIDRef = item.Attributes["id"].Name;
                 List<Currency> ob = new List<Currency>();
                 ob.Add(new Currency(item));
                 IDManager.SetID(cashSettlementCurrencyIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 cashSettlementCurrencyIDRef = item.Attributes["href"].Name;
             }
             else
             {
             cashSettlementCurrency.Add(new Currency(item));
             }
         }
     }
     
 
     XmlNodeList quotationRateTypeNodeList = xmlNode.SelectNodes("quotationRateType");
     if (quotationRateTypeNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in quotationRateTypeNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 quotationRateTypeIDRef = item.Attributes["id"].Name;
                 QuotationRateTypeEnum ob = QuotationRateTypeEnum();
                 IDManager.SetID(quotationRateTypeIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 quotationRateTypeIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 quotationRateType = new QuotationRateTypeEnum(item);
             }
         }
     }
     
 
 }
示例#10
0
        public CashPriceMethod(XmlNode xmlNode)
        {
            XmlNode cashSettlementReferenceBanksNode = xmlNode.SelectSingleNode("cashSettlementReferenceBanks");

            if (cashSettlementReferenceBanksNode != null)
            {
                if (cashSettlementReferenceBanksNode.Attributes["href"] != null || cashSettlementReferenceBanksNode.Attributes["id"] != null)
                {
                    if (cashSettlementReferenceBanksNode.Attributes["id"] != null)
                    {
                        cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["id"].Value;
                        CashSettlementReferenceBanks ob = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                        IDManager.SetID(cashSettlementReferenceBanksIDRef_, ob);
                    }
                    else if (cashSettlementReferenceBanksNode.Attributes["href"] != null)
                    {
                        cashSettlementReferenceBanksIDRef_ = cashSettlementReferenceBanksNode.Attributes["href"].Value;
                    }
                    else
                    {
                        cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                    }
                }
                else
                {
                    cashSettlementReferenceBanks_ = new CashSettlementReferenceBanks(cashSettlementReferenceBanksNode);
                }
            }


            XmlNode cashSettlementCurrencyNode = xmlNode.SelectSingleNode("cashSettlementCurrency");

            if (cashSettlementCurrencyNode != null)
            {
                if (cashSettlementCurrencyNode.Attributes["href"] != null || cashSettlementCurrencyNode.Attributes["id"] != null)
                {
                    if (cashSettlementCurrencyNode.Attributes["id"] != null)
                    {
                        cashSettlementCurrencyIDRef_ = cashSettlementCurrencyNode.Attributes["id"].Value;
                        Currency ob = new Currency(cashSettlementCurrencyNode);
                        IDManager.SetID(cashSettlementCurrencyIDRef_, ob);
                    }
                    else if (cashSettlementCurrencyNode.Attributes["href"] != null)
                    {
                        cashSettlementCurrencyIDRef_ = cashSettlementCurrencyNode.Attributes["href"].Value;
                    }
                    else
                    {
                        cashSettlementCurrency_ = new Currency(cashSettlementCurrencyNode);
                    }
                }
                else
                {
                    cashSettlementCurrency_ = new Currency(cashSettlementCurrencyNode);
                }
            }


            XmlNode quotationRateTypeNode = xmlNode.SelectSingleNode("quotationRateType");

            if (quotationRateTypeNode != null)
            {
                if (quotationRateTypeNode.Attributes["href"] != null || quotationRateTypeNode.Attributes["id"] != null)
                {
                    if (quotationRateTypeNode.Attributes["id"] != null)
                    {
                        quotationRateTypeIDRef_ = quotationRateTypeNode.Attributes["id"].Value;
                        QuotationRateTypeEnum ob = new QuotationRateTypeEnum(quotationRateTypeNode);
                        IDManager.SetID(quotationRateTypeIDRef_, ob);
                    }
                    else if (quotationRateTypeNode.Attributes["href"] != null)
                    {
                        quotationRateTypeIDRef_ = quotationRateTypeNode.Attributes["href"].Value;
                    }
                    else
                    {
                        quotationRateType_ = new QuotationRateTypeEnum(quotationRateTypeNode);
                    }
                }
                else
                {
                    quotationRateType_ = new QuotationRateTypeEnum(quotationRateTypeNode);
                }
            }
        }