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