Example #1
0
 public System.Threading.Tasks.Task <VIESClient.SoapEndpoint.checkVatApproxResponse> checkVatApproxAsync(string countryCode, string vatNumber, string traderName, string traderCompanyType, string traderStreet, string traderPostcode, string traderCity, string requesterCountryCode, string requesterVatNumber)
 {
     VIESClient.SoapEndpoint.checkVatApproxRequest inValue = new VIESClient.SoapEndpoint.checkVatApproxRequest();
     inValue.Body                      = new VIESClient.SoapEndpoint.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(((VIESClient.SoapEndpoint.checkVatPortType)(this)).checkVatApproxAsync(inValue));
 }
Example #2
0
 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 VIESClient.SoapEndpoint.matchCode traderNameMatch,
     out VIESClient.SoapEndpoint.matchCode traderCompanyTypeMatch,
     out VIESClient.SoapEndpoint.matchCode traderStreetMatch,
     out VIESClient.SoapEndpoint.matchCode traderPostcodeMatch,
     out VIESClient.SoapEndpoint.matchCode traderCityMatch,
     out string requestIdentifier)
 {
     VIESClient.SoapEndpoint.checkVatApproxRequest inValue = new VIESClient.SoapEndpoint.checkVatApproxRequest();
     inValue.Body                      = new VIESClient.SoapEndpoint.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;
     VIESClient.SoapEndpoint.checkVatApproxResponse retVal = ((VIESClient.SoapEndpoint.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);
 }
Example #3
0
 System.Threading.Tasks.Task <VIESClient.SoapEndpoint.checkVatApproxResponse> VIESClient.SoapEndpoint.checkVatPortType.checkVatApproxAsync(VIESClient.SoapEndpoint.checkVatApproxRequest request)
 {
     return(base.Channel.checkVatApproxAsync(request));
 }
Example #4
0
 VIESClient.SoapEndpoint.checkVatApproxResponse VIESClient.SoapEndpoint.checkVatPortType.checkVatApprox(VIESClient.SoapEndpoint.checkVatApproxRequest request)
 {
     return(base.Channel.checkVatApprox(request));
 }