Ejemplo n.º 1
0
 public System.Threading.Tasks.Task <VIESClient.SoapEndpoint.checkVatResponse> checkVatAsync(string countryCode, string vatNumber)
 {
     VIESClient.SoapEndpoint.checkVatRequest inValue = new VIESClient.SoapEndpoint.checkVatRequest();
     inValue.Body             = new VIESClient.SoapEndpoint.checkVatRequestBody();
     inValue.Body.countryCode = countryCode;
     inValue.Body.vatNumber   = vatNumber;
     return(((VIESClient.SoapEndpoint.checkVatPortType)(this)).checkVatAsync(inValue));
 }
Ejemplo n.º 2
0
 public string checkVat(ref string countryCode, ref string vatNumber, out bool valid, out string name, out string address)
 {
     VIESClient.SoapEndpoint.checkVatRequest inValue = new VIESClient.SoapEndpoint.checkVatRequest();
     inValue.Body             = new VIESClient.SoapEndpoint.checkVatRequestBody();
     inValue.Body.countryCode = countryCode;
     inValue.Body.vatNumber   = vatNumber;
     VIESClient.SoapEndpoint.checkVatResponse retVal = ((VIESClient.SoapEndpoint.checkVatPortType)(this)).checkVat(inValue);
     countryCode = retVal.Body.countryCode;
     vatNumber   = retVal.Body.vatNumber;
     valid       = retVal.Body.valid;
     name        = retVal.Body.name;
     address     = retVal.Body.address;
     return(retVal.Body.requestDate);
 }
Ejemplo n.º 3
0
 System.Threading.Tasks.Task <VIESClient.SoapEndpoint.checkVatResponse> VIESClient.SoapEndpoint.checkVatPortType.checkVatAsync(VIESClient.SoapEndpoint.checkVatRequest request)
 {
     return(base.Channel.checkVatAsync(request));
 }
Ejemplo n.º 4
0
 VIESClient.SoapEndpoint.checkVatResponse VIESClient.SoapEndpoint.checkVatPortType.checkVat(VIESClient.SoapEndpoint.checkVatRequest request)
 {
     return(base.Channel.checkVat(request));
 }