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