Taurus SDK

Help you to integrate Taurus easily.

Лицензия

Лицензия

Категории

Категории

Java Языки программирования
Группа

Группа

ai.silot.taurus
Идентификатор

Идентификатор

taurus-sdk-java
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

pom.sha512
Описание

Описание

Taurus SDK
Help you to integrate Taurus easily.
Ссылка на сайт

Ссылка на сайт

https://github.com/silotrd/taurus-sdk-java
Система контроля версий

Система контроля версий

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

Скачать taurus-sdk-java

Зависимости

runtime (1)

Идентификатор библиотеки Тип Версия
com.google.code.gson : gson jar 2.8.5

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.0.0