The GoCardless Java client provides a simple interface to the GoCardless API.
You can sign up for a GoCardless account at https://gocardless.com.
Java 6 or later.
Add this dependency to your project's POM:
<dependency> <groupId>com.gocardless</groupId> <artifactId>gocardless-java</artifactId> <version>1.1.0</version> </dependency>
Note that using
gocardless-java with Maven is the officially supported and recommended method.
That said, if you want to use
gocardless-java without Maven, just:
- Download the
jarfrom the Maven Central Repository
- Ensure the
jaris on your classpath
- Ensure you have the various dependency
jars on your classpath (Apache Commons Lang, Apache Commons Codec, Apache Commons BeanUtils, Google GSON)
Refer to the documentation.