Taurus SDK

Help you to integrate Taurus easily.

License

License

Categories

Categories

Java Languages
GroupId

GroupId

ai.silot.taurus
ArtifactId

ArtifactId

taurus-sdk-java
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

Taurus SDK
Help you to integrate Taurus easily.
Project URL

Project URL

https://github.com/silotrd/taurus-sdk-java
Source Code Management

Source Code Management

https://github.com/silotrd/taurus-sdk-java

Download taurus-sdk-java

Dependencies

runtime (1)

Group / Artifact Type Version
com.google.code.gson : gson jar 2.8.5

Project Modules

There are no modules declared in this project.

Taurus Java SDK

Introduction

This library is the abstraction of Taurus API for access from applications written with Java, which enable you to acces Taurus with quick and easy manner

Taurus API Document

API Documentation: https://taurus-docs.silot.tech/

Installation

With Maven

<dependency>
  <groupId>ai.silot.taurus</groupId>
  <artifactId>taurus-sdk-java</artifactId>
  <version>1.0.0</version>
</dependency>

Gradle

implementation 'ai.silot.taurus:taurus-sdk-java:1.0.0'

Without Maven

Please download the jar package through the link below

https://repo1.maven.org/maven2/ai/silot/taurus/taurus-sdk-java/1.0.0/

How to use

Check Taurus API Document, Please obtain API Key and endpoints of correspoinding environment.

public class Example {
    public static void main(String[] args) {
        Taurus.apiKey = "[Your API Key]";
        Taurus.serverUrl = "[Taurus Server URL,UAT or PROD]";

        //Create invoice example
        String externalId = "23142134231343";
        BigDecimal amount = new BigDecimal(20000);
        String description = "test create";
        Integer invoiceDuration = 86400;
        String successRedirectUrl = "http://example.com/success/callback";

        TaurusBaseVo<InvoiceVo> responseVo = InvoiceService.create(
                externalId, amount, description, invoiceDuration, successRedirectUrl);
    }
}

For more examples, please check https://github.com/silotrd/taurus-sdk-java/tree/main/src/test/java/ai/silot/taurus/service

ai.silot.taurus

Silot Pte. Ltd

Versions

Version
1.0.0