예제 #1
0
 public checkVatApproxResponseBody(
     string countryCode,
     string vatNumber,
     string requestDate,
     bool valid,
     string traderName,
     string traderCompanyType,
     string traderAddress,
     string traderStreet,
     string traderPostcode,
     string traderCity,
     VIESClient.SoapEndpoint.matchCode traderNameMatch,
     VIESClient.SoapEndpoint.matchCode traderCompanyTypeMatch,
     VIESClient.SoapEndpoint.matchCode traderStreetMatch,
     VIESClient.SoapEndpoint.matchCode traderPostcodeMatch,
     VIESClient.SoapEndpoint.matchCode traderCityMatch,
     string requestIdentifier)
 {
     this.countryCode            = countryCode;
     this.vatNumber              = vatNumber;
     this.requestDate            = requestDate;
     this.valid                  = valid;
     this.traderName             = traderName;
     this.traderCompanyType      = traderCompanyType;
     this.traderAddress          = traderAddress;
     this.traderStreet           = traderStreet;
     this.traderPostcode         = traderPostcode;
     this.traderCity             = traderCity;
     this.traderNameMatch        = traderNameMatch;
     this.traderCompanyTypeMatch = traderCompanyTypeMatch;
     this.traderStreetMatch      = traderStreetMatch;
     this.traderPostcodeMatch    = traderPostcodeMatch;
     this.traderCityMatch        = traderCityMatch;
     this.requestIdentifier      = requestIdentifier;
 }
예제 #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);
 }