Exemplo n.º 1
0
 public System.Threading.Tasks.Task <VIESApp.ServiceReference1.checkVatResponse> checkVatAsync(string countryCode, string vatNumber)
 {
     VIESApp.ServiceReference1.checkVatRequest inValue = new VIESApp.ServiceReference1.checkVatRequest();
     inValue.Body             = new VIESApp.ServiceReference1.checkVatRequestBody();
     inValue.Body.countryCode = countryCode;
     inValue.Body.vatNumber   = vatNumber;
     return(((VIESApp.ServiceReference1.checkVatPortType)(this)).checkVatAsync(inValue));
 }
Exemplo n.º 2
0
 public string checkVat(ref string countryCode, ref string vatNumber, out bool valid, out string name, out string address)
 {
     VIESApp.ServiceReference1.checkVatRequest inValue = new VIESApp.ServiceReference1.checkVatRequest();
     inValue.Body             = new VIESApp.ServiceReference1.checkVatRequestBody();
     inValue.Body.countryCode = countryCode;
     inValue.Body.vatNumber   = vatNumber;
     VIESApp.ServiceReference1.checkVatResponse retVal = ((VIESApp.ServiceReference1.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);
 }
Exemplo n.º 3
0
 System.Threading.Tasks.Task <VIESApp.ServiceReference1.checkVatResponse> VIESApp.ServiceReference1.checkVatPortType.checkVatAsync(VIESApp.ServiceReference1.checkVatRequest request)
 {
     return(base.Channel.checkVatAsync(request));
 }
Exemplo n.º 4
0
 VIESApp.ServiceReference1.checkVatResponse VIESApp.ServiceReference1.checkVatPortType.checkVat(VIESApp.ServiceReference1.checkVatRequest request)
 {
     return(base.Channel.checkVat(request));
 }