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