Sign up for a BillForward account at https://www.billforward.net.
Java 1.5 and later.
Add this dependency to your project's POM:
<dependency>
<groupId>net.billforward</groupId>
<artifactId>billforward-java</artifactId>
<version>1.2015.157</version>
</dependency>
Add this dependency to your project's build file:
compile "net.billforward:billforward-java:1.2015.157
You'll need to manually install the following JARs:
- The BillForward JAR from https://code.billforward.net/billforward-java-latest.jar
- Google Gson from http://google-gson.googlecode.com/files/google-gson-2.2.4-release.zip.
BillForwardExample.java
See BillForward Tests and [API Docs] (https://app.billforward.net/api/) for examples.
You must have Maven installed. To run the tests, simply run mvn test
. You can run particular tests by passing -D test=Class#method
-- for example, -D test=BillForward#testAcountCreate
.