killbill/killbill-client-java


Java client library for Kill Bill https://killbill.io

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.killbill:killbill-client-java:killbill-client-java-1.2.6'
	}
	dependencies {
		implementation("com.github.killbill:killbill-client-java:killbill-client-java-1.2.6")
	}
	<dependency>
	    <groupId>com.github.killbill</groupId>
	    <artifactId>killbill-client-java</artifactId>
	    <version>killbill-client-java-1.2.6</version>
	</dependency>

                            
    libraryDependencies += "com.github.killbill" % "killbill-client-java" % "killbill-client-java-1.2.6"
        
        

                            
    :dependencies [[com.github.killbill/killbill-client-java "killbill-client-java-1.2.6"]]
        
        

Readme


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 | | 1.3.y | 0.24.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 our Java client tutorial. We also provide a sample Java client application. You can clone this project in order to get started.

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

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/.