Kill Bill Client Java

Kill Bill Java client library

License

License

Categories

Categories

Java Languages CLI User Interface
GroupId

GroupId

com.ning.billing
ArtifactId

ArtifactId

killbill-client-java
Last Version

Last Version

0.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

Kill Bill Client Java
Kill Bill Java client library
Project URL

Project URL

http://github.com/killbill/killbill-client-java
Source Code Management

Source Code Management

http://github.com/killbill/killbill-client-java/tree/master

Download killbill-client-java

How to add to project

<!-- https://jarcasting.com/artifacts/com.ning.billing/killbill-client-java/ -->
<dependency>
    <groupId>com.ning.billing</groupId>
    <artifactId>killbill-client-java</artifactId>
    <version>0.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.ning.billing/killbill-client-java/
implementation 'com.ning.billing:killbill-client-java:0.0.4'
// https://jarcasting.com/artifacts/com.ning.billing/killbill-client-java/
implementation ("com.ning.billing:killbill-client-java:0.0.4")
'com.ning.billing:killbill-client-java:jar:0.0.4'
<dependency org="com.ning.billing" name="killbill-client-java" rev="0.0.4">
  <artifact name="killbill-client-java" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.ning.billing', module='killbill-client-java', version='0.0.4')
)
libraryDependencies += "com.ning.billing" % "killbill-client-java" % "0.0.4"
[com.ning.billing/killbill-client-java "0.0.4"]

Dependencies

compile (6)

Group / Artifact Type Version
com.fasterxml.jackson.core : jackson-databind jar 2.1.0
com.fasterxml.jackson.datatype : jackson-datatype-joda jar 2.0.1
com.ning : async-http-client jar 1.7.17
com.ning.billing : killbill-api jar 0.8.1
com.ning.billing : killbill-jaxrs jar 0.8.10
joda-time : joda-time jar 2.3

provided (1)

Group / Artifact Type Version
com.google.guava : guava jar 15.0

test (4)

Group / Artifact Type Version
mysql : mysql-connector-java jar 5.1.22
org.mockito : mockito-all jar 1.9.0
org.slf4j : slf4j-simple jar 1.7.5
org.testng : testng jar 6.3.1

Project Modules

There are no modules declared in this project.

killbill-client-java

Maven Central

Java client library for Kill Bill.

Kill Bill compatibility

Client version Kill Bill version
0.23.y 0.16.z
0.40.y 0.18.z
0.41.y 0.19.z
1.0.y 0.20.z
1.1.y 0.22.z
1.2.y 0.22.z

We've upgraded numerous dependencies in 1.2.x (required for Java 11 support).

Usage

Add the library to your application:

<dependency>
    <groupId>org.kill-bill.billing</groupId>
    <artifactId>killbill-client-java</artifactId>
    <version>... release version ...</version>
</dependency>

The easiest way to get started is to look at some of our integration tests, which use this library.

When sending a body, if you are unsure which parameters to pass, take a look at the Java api documentation.

Regarding error handling, if the server returns an error (400, 401, 409, 500, etc.), the code will throw KillBillClientException. If there is no response (204) or if an object cannot be found (404), the code will return null (for single objects) or an empty list (for collections of objects). Otherwise, you should never get null.

Build

To build the library:

mvn clean install -DskipTests=true

This will produce several jars, including:

  • killbill-client-java-x.y.z-SNAPSHOT.jar which contains the library only
  • killbill-client-java-x.y.z-SNAPSHOT-jar-with-dependencies.jar which is a self-contained jar (library and dependencies)

About

Kill Bill is the leading Open-Source Subscription Billing & Payments Platform. For more information about the project, go to https://killbill.io/.

com.ning.billing

Kill Bill

Kill Bill has been the leading open-source platform for billing and payment since 2010.

Versions

Version
0.0.4
0.0.3
0.0.2
0.0.1