public class Validex
extends java.lang.Object
Constructor and Description |
---|
Validex(java.lang.String userId,
java.lang.String apiKey,
Invoice invoice) |
Modifier and Type | Method and Description |
---|---|
boolean |
isValidatValidex()
Validates the XML representation of the invoice using validex.net
|
public Validex(java.lang.String userId, java.lang.String apiKey, Invoice invoice)
userId
- your user id at validex.netapiKey
- the REST API key for your userinvoice
- the Invoicepublic boolean isValidatValidex() throws java.io.UnsupportedEncodingException, java.security.NoSuchAlgorithmException, java.security.KeyStoreException, java.security.KeyManagementException
java.io.UnsupportedEncodingException
java.security.NoSuchAlgorithmException
java.security.KeyStoreException
java.security.KeyManagementException