public StatementSpecificFields createSpecificFields(string statementtypename, string[] listspecificfields)
        {
            StatementSpecificFields _specificfields = null;
            if (statementtypename.Equals("Municipality"))
            {
                _specificfields = new StatementMunicipalitySpecificFields(listspecificfields);
            }
            else if (statementtypename.Equals("CreditCardProvider"))
            {
                _specificfields = new StatementCreditCardSpecificFields(listspecificfields);
            }
            else if (statementtypename.Equals("TelcoProvider"))
            {
                _specificfields = new StatementTelcoSpecificFields(listspecificfields);
            }

            return _specificfields;
        }
Exemplo n.º 2
0
        public StatementSpecificFields createSpecificFields(string statementtypename, string[] listspecificfields)
        {
            StatementSpecificFields _specificfields = null;

            if (statementtypename.Equals("Municipality"))
            {
                _specificfields = new StatementMunicipalitySpecificFields(listspecificfields);
            }
            else if (statementtypename.Equals("CreditCardProvider"))
            {
                _specificfields = new StatementCreditCardSpecificFields(listspecificfields);
            }
            else if (statementtypename.Equals("TelcoProvider"))
            {
                _specificfields = new StatementTelcoSpecificFields(listspecificfields);
            }

            return(_specificfields);
        }