Ejemplo n.º 1
0
 //------------------------------------------------------
 //
 //  Constructors
 //
 //------------------------------------------------------
 public VatModelApprox(
     String countryCode,
     string vatNumber,
     string traderName,
     string traderCompanyType,
     string traderStreet,
     string traderPostcode,
     string traderCity,
     string requesterCountryCode,
     string requesterVatNumber,
     bool valid,
     DateTime requestDate,
     string traderAddress,
     ViesVatNumberValidation.eu.europa.ec.matchCode traderNameMatch,
     bool traderNameMatchSpecified,
     ViesVatNumberValidation.eu.europa.ec.matchCode traderCompanyTypeMatch,
     bool traderCompanyTypeMatchSpecified,
     ViesVatNumberValidation.eu.europa.ec.matchCode traderStreetMatch,
     bool traderStreetMatchSpecified,
     ViesVatNumberValidation.eu.europa.ec.matchCode traderPostcodeMatch,
     bool traderPostcodeMatchSpecified,
     ViesVatNumberValidation.eu.europa.ec.matchCode traderCityMatch,
     bool traderCityMatchSpecified,
     string requestIdentifier) : base(
         countryCode,
         vatNumber,
         requestDate,
         valid,
         traderName,
         traderStreet + " " + traderPostcode + ", " + traderCity)
 {
     this.countryCode          = countryCode;
     this.vatNumber            = vatNumber;
     this.traderName           = traderName;
     this.traderCompanyType    = traderCompanyType;
     this.traderStreet         = traderStreet;
     this.traderPostcode       = traderPostcode;
     this.traderCity           = traderCity;
     this.requesterCountryCode = requesterCountryCode;
     this.requesterVatNumber   = requesterVatNumber;
     this.valid                           = valid;
     this.requestDate                     = requestDate;
     this.traderAddress                   = traderAddress;
     this.traderNameMatch                 = traderNameMatch;
     this.traderNameMatchSpecified        = traderNameMatchSpecified;
     this.traderCompanyTypeMatch          = traderCompanyTypeMatch;
     this.traderCompanyTypeMatchSpecified = traderCompanyTypeMatchSpecified;
     this.traderStreetMatch               = traderStreetMatch;
     this.traderStreetMatchSpecified      = traderStreetMatchSpecified;
     this.traderPostcodeMatch             = traderPostcodeMatch;
     this.traderPostcodeMatchSpecified    = traderPostcodeMatchSpecified;
     this.traderCityMatch                 = traderCityMatch;
     this.traderCityMatchSpecified        = traderCityMatchSpecified;
     this.requestIdentifier               = requestIdentifier;
 }
 //------------------------------------------------------
 //
 //  Constructors
 //
 //------------------------------------------------------
 public VatModelApprox(
     String countryCode,
     string vatNumber,
     string traderName,
     string traderCompanyType,
     string traderStreet,
     string traderPostcode,
     string traderCity,
     string requesterCountryCode,
     string requesterVatNumber,
     bool valid,
     DateTime requestDate,
     string traderAddress,
     ViesVatNumberValidation.eu.europa.ec.matchCode traderNameMatch,
     bool traderNameMatchSpecified,
     ViesVatNumberValidation.eu.europa.ec.matchCode traderCompanyTypeMatch,
     bool traderCompanyTypeMatchSpecified,
     ViesVatNumberValidation.eu.europa.ec.matchCode traderStreetMatch,
     bool traderStreetMatchSpecified,
     ViesVatNumberValidation.eu.europa.ec.matchCode traderPostcodeMatch,
     bool traderPostcodeMatchSpecified,
     ViesVatNumberValidation.eu.europa.ec.matchCode traderCityMatch,
     bool traderCityMatchSpecified,
     string requestIdentifier)
     : base(countryCode,
             vatNumber,
             requestDate,
             valid,
             traderName, 
             traderStreet + " " + traderPostcode + ", " + traderCity)
 {
     this.countryCode = countryCode;
         this.vatNumber = vatNumber;
         this.traderName= traderName;
         this.traderCompanyType = traderCompanyType;
         this.traderStreet = traderStreet;
         this.traderPostcode = traderPostcode;
         this.traderCity = traderCity;
         this.requesterCountryCode = requesterCountryCode;
         this.requesterVatNumber = requesterVatNumber;
         this.valid = valid;
         this.requestDate = requestDate;
         this.traderAddress = traderAddress;
         this.traderNameMatch = traderNameMatch;
         this.traderNameMatchSpecified = traderNameMatchSpecified;
         this.traderCompanyTypeMatch = traderCompanyTypeMatch;
         this.traderCompanyTypeMatchSpecified = traderCompanyTypeMatchSpecified;
         this.traderStreetMatch = traderStreetMatch;
         this.traderStreetMatchSpecified = traderStreetMatchSpecified;
         this.traderPostcodeMatch = traderPostcodeMatch;
         this.traderPostcodeMatchSpecified = traderPostcodeMatchSpecified;
         this.traderCityMatch = traderCityMatch;
         this.traderCityMatchSpecified = traderCityMatchSpecified;
         this.requestIdentifier = requestIdentifier;
 }