public System.Threading.Tasks.Task <VAT_Validation.ViesServices.checkVatApproxResponse> checkVatApproxAsync(string countryCode, string vatNumber, string traderName, string traderCompanyType, string traderStreet, string traderPostcode, string traderCity, string requesterCountryCode, string requesterVatNumber)
 {
     VAT_Validation.ViesServices.checkVatApproxRequest inValue = new VAT_Validation.ViesServices.checkVatApproxRequest();
     inValue.Body                      = new VAT_Validation.ViesServices.checkVatApproxRequestBody();
     inValue.Body.countryCode          = countryCode;
     inValue.Body.vatNumber            = vatNumber;
     inValue.Body.traderName           = traderName;
     inValue.Body.traderCompanyType    = traderCompanyType;
     inValue.Body.traderStreet         = traderStreet;
     inValue.Body.traderPostcode       = traderPostcode;
     inValue.Body.traderCity           = traderCity;
     inValue.Body.requesterCountryCode = requesterCountryCode;
     inValue.Body.requesterVatNumber   = requesterVatNumber;
     return(((VAT_Validation.ViesServices.checkVatPortType)(this)).checkVatApproxAsync(inValue));
 }
 public string 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,
     out string traderAddress,
     out VAT_Validation.ViesServices.matchCode traderNameMatch,
     out VAT_Validation.ViesServices.matchCode traderCompanyTypeMatch,
     out VAT_Validation.ViesServices.matchCode traderStreetMatch,
     out VAT_Validation.ViesServices.matchCode traderPostcodeMatch,
     out VAT_Validation.ViesServices.matchCode traderCityMatch,
     out string requestIdentifier)
 {
     VAT_Validation.ViesServices.checkVatApproxRequest inValue = new VAT_Validation.ViesServices.checkVatApproxRequest();
     inValue.Body                      = new VAT_Validation.ViesServices.checkVatApproxRequestBody();
     inValue.Body.countryCode          = countryCode;
     inValue.Body.vatNumber            = vatNumber;
     inValue.Body.traderName           = traderName;
     inValue.Body.traderCompanyType    = traderCompanyType;
     inValue.Body.traderStreet         = traderStreet;
     inValue.Body.traderPostcode       = traderPostcode;
     inValue.Body.traderCity           = traderCity;
     inValue.Body.requesterCountryCode = requesterCountryCode;
     inValue.Body.requesterVatNumber   = requesterVatNumber;
     VAT_Validation.ViesServices.checkVatApproxResponse retVal = ((VAT_Validation.ViesServices.checkVatPortType)(this)).checkVatApprox(inValue);
     countryCode            = retVal.Body.countryCode;
     vatNumber              = retVal.Body.vatNumber;
     valid                  = retVal.Body.valid;
     traderName             = retVal.Body.traderName;
     traderCompanyType      = retVal.Body.traderCompanyType;
     traderAddress          = retVal.Body.traderAddress;
     traderStreet           = retVal.Body.traderStreet;
     traderPostcode         = retVal.Body.traderPostcode;
     traderCity             = retVal.Body.traderCity;
     traderNameMatch        = retVal.Body.traderNameMatch;
     traderCompanyTypeMatch = retVal.Body.traderCompanyTypeMatch;
     traderStreetMatch      = retVal.Body.traderStreetMatch;
     traderPostcodeMatch    = retVal.Body.traderPostcodeMatch;
     traderCityMatch        = retVal.Body.traderCityMatch;
     requestIdentifier      = retVal.Body.requestIdentifier;
     return(retVal.Body.requestDate);
 }
 System.Threading.Tasks.Task <VAT_Validation.ViesServices.checkVatApproxResponse> VAT_Validation.ViesServices.checkVatPortType.checkVatApproxAsync(VAT_Validation.ViesServices.checkVatApproxRequest request)
 {
     return(base.Channel.checkVatApproxAsync(request));
 }
 VAT_Validation.ViesServices.checkVatApproxResponse VAT_Validation.ViesServices.checkVatPortType.checkVatApprox(VAT_Validation.ViesServices.checkVatApproxRequest request)
 {
     return(base.Channel.checkVatApprox(request));
 }