public System.DateTime checkVatApprox(
            ref string countryCode,
            ref string vatNumber,
            ref string traderName,
            ref string traderCompanyType,
            ref string traderStreet,
            ref string traderPostcode,
            ref string traderCity,
            string requesterCountryCode,
            string requesterVatNumber,
            out bool valid,
            [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] out string traderAddress,
            out matchCode traderNameMatch,
            [System.Xml.Serialization.XmlIgnoreAttribute()] out bool traderNameMatchSpecified,
            out matchCode traderCompanyTypeMatch,
            [System.Xml.Serialization.XmlIgnoreAttribute()] out bool traderCompanyTypeMatchSpecified,
            out matchCode traderStreetMatch,
            [System.Xml.Serialization.XmlIgnoreAttribute()] out bool traderStreetMatchSpecified,
            out matchCode traderPostcodeMatch,
            [System.Xml.Serialization.XmlIgnoreAttribute()] out bool traderPostcodeMatchSpecified,
            out matchCode traderCityMatch,
            [System.Xml.Serialization.XmlIgnoreAttribute()] out bool traderCityMatchSpecified,
            out string requestIdentifier)
        {
            object[] results = this.Invoke("checkVatApprox", new object[] {
                countryCode,
                vatNumber,
                traderName,
                traderCompanyType,
                traderStreet,
                traderPostcode,
                traderCity,
                requesterCountryCode,
                requesterVatNumber
            });

            countryCode                     = ((string)(results[1]));
            vatNumber                       = ((string)(results[2]));
            traderName                      = ((string)(results[3]));
            traderCompanyType               = ((string)(results[4]));
            traderStreet                    = ((string)(results[5]));
            traderPostcode                  = ((string)(results[6]));
            traderCity                      = ((string)(results[7]));
            valid                           = ((bool)(results[8]));
            traderAddress                   = ((string)(results[9]));
            traderNameMatch                 = ((matchCode)(results[10]));
            traderNameMatchSpecified        = ((bool)(results[11]));
            traderCompanyTypeMatch          = ((matchCode)(results[12]));
            traderCompanyTypeMatchSpecified = ((bool)(results[13]));
            traderStreetMatch               = ((matchCode)(results[14]));
            traderStreetMatchSpecified      = ((bool)(results[15]));
            traderPostcodeMatch             = ((matchCode)(results[16]));
            traderPostcodeMatchSpecified    = ((bool)(results[17]));
            traderCityMatch                 = ((matchCode)(results[18]));
            traderCityMatchSpecified        = ((bool)(results[19]));
            requestIdentifier               = ((string)(results[20]));
            return((System.DateTime)(results[0]));
        }
예제 #2
0
 public ApproxResult(bool valid, string traderAddress, matchCode traderNameMatch, matchCode traderCompanyTypeMatch,
                     matchCode traderStreetMatch, matchCode traderPostCodeMatch, matchCode tradeerCityMatch, string requestIdentifier)
 {
     Valid                  = valid;
     TraderAddress          = traderAddress;
     TraderNameMatch        = traderNameMatch;
     TraderCompanyTypeMatch = traderCompanyTypeMatch;
     TraderStreetMatch      = traderStreetMatch;
     TraderPostCodeMatch    = traderPostCodeMatch;
     TradeerCityMatch       = tradeerCityMatch;
     RequestIdentifier      = requestIdentifier;
 }
예제 #3
0
 /// <remarks/>
 public System.DateTime EndcheckVatApprox(
     System.IAsyncResult asyncResult,
     out string countryCode,
     out string vatNumber,
     out string traderName,
     out string traderCompanyType,
     out string traderStreet,
     out string traderPostcode,
     out string traderCity,
     out bool valid,
     out string traderAddress,
     out matchCode traderNameMatch,
     out bool traderNameMatchSpecified,
     out matchCode traderCompanyTypeMatch,
     out bool traderCompanyTypeMatchSpecified,
     out matchCode traderStreetMatch,
     out bool traderStreetMatchSpecified,
     out matchCode traderPostcodeMatch,
     out bool traderPostcodeMatchSpecified,
     out matchCode traderCityMatch,
     out bool traderCityMatchSpecified,
     out string requestIdentifier)
 {
     object[] results = this.EndInvoke(asyncResult);
     countryCode                     = ((string)(results[1]));
     vatNumber                       = ((string)(results[2]));
     traderName                      = ((string)(results[3]));
     traderCompanyType               = ((string)(results[4]));
     traderStreet                    = ((string)(results[5]));
     traderPostcode                  = ((string)(results[6]));
     traderCity                      = ((string)(results[7]));
     valid                           = ((bool)(results[8]));
     traderAddress                   = ((string)(results[9]));
     traderNameMatch                 = ((matchCode)(results[10]));
     traderNameMatchSpecified        = ((bool)(results[11]));
     traderCompanyTypeMatch          = ((matchCode)(results[12]));
     traderCompanyTypeMatchSpecified = ((bool)(results[13]));
     traderStreetMatch               = ((matchCode)(results[14]));
     traderStreetMatchSpecified      = ((bool)(results[15]));
     traderPostcodeMatch             = ((matchCode)(results[16]));
     traderPostcodeMatchSpecified    = ((bool)(results[17]));
     traderCityMatch                 = ((matchCode)(results[18]));
     traderCityMatchSpecified        = ((bool)(results[19]));
     requestIdentifier               = ((string)(results[20]));
     return((System.DateTime)(results[0]));
 }