コード例 #1
0
 public checkVatApproxResponseBody(
     string countryCode,
     string vatNumber,
     string requestDate,
     bool valid,
     string traderName,
     string traderCompanyType,
     string traderAddress,
     string traderStreet,
     string traderPostcode,
     string traderCity,
     DV_10132020_EN_CLIO.VIES.matchCode traderNameMatch,
     DV_10132020_EN_CLIO.VIES.matchCode traderCompanyTypeMatch,
     DV_10132020_EN_CLIO.VIES.matchCode traderStreetMatch,
     DV_10132020_EN_CLIO.VIES.matchCode traderPostcodeMatch,
     DV_10132020_EN_CLIO.VIES.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 DV_10132020_EN_CLIO.VIES.matchCode traderNameMatch,
     out DV_10132020_EN_CLIO.VIES.matchCode traderCompanyTypeMatch,
     out DV_10132020_EN_CLIO.VIES.matchCode traderStreetMatch,
     out DV_10132020_EN_CLIO.VIES.matchCode traderPostcodeMatch,
     out DV_10132020_EN_CLIO.VIES.matchCode traderCityMatch,
     out string requestIdentifier)
 {
     DV_10132020_EN_CLIO.VIES.checkVatApproxRequest inValue = new DV_10132020_EN_CLIO.VIES.checkVatApproxRequest();
     inValue.Body                      = new DV_10132020_EN_CLIO.VIES.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;
     DV_10132020_EN_CLIO.VIES.checkVatApproxResponse retVal = ((DV_10132020_EN_CLIO.VIES.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);
 }