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