コード例 #1
0
 public checkVatApproxResponseBody(
     string countryCode,
     string vatNumber,
     string requestDate,
     bool valid,
     string traderName,
     string traderCompanyType,
     string traderAddress,
     string traderStreet,
     string traderPostcode,
     string traderCity,
     WebTrainingMVC.CheckVatService.matchCode traderNameMatch,
     WebTrainingMVC.CheckVatService.matchCode traderCompanyTypeMatch,
     WebTrainingMVC.CheckVatService.matchCode traderStreetMatch,
     WebTrainingMVC.CheckVatService.matchCode traderPostcodeMatch,
     WebTrainingMVC.CheckVatService.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 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);
 }