Iugu.init("CLIENTTOKEN"); // Token do Cliente (Client Token)
InvoiceResponse response;
try {
response = new InvoiceService().create(new Invoice("[email protected]", new Date(), new Item("teste", 1, 100)));
// Retorna ID do Invoice criado (Returns the ID of the created invoice)
System.out.println(response.getId());
}
catch (IuguException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
eurekalabscompany / iugu-java Goto Github PK
View Code? Open in Web Editor NEWThis project forked from iugu/iugu-java