예제 #1
0
        public static bool CheckVat(string countryCode, string vatNumber, out string name, out string address)
        {
            var inValue = new CheckVatRequest {
                countryCode = countryCode, vatNumber = vatNumber
            };
            var retVal = ((CheckVatPortType)(new CheckVatPortTypeClient())).CheckVat(inValue);

            name    = retVal.name;
            address = retVal.address;
            return(retVal.valid);
        }
예제 #2
0
 CheckVatResponse CheckVatPortType.CheckVat(CheckVatRequest request)
 {
     return(Channel.CheckVat(request));
 }