acquired-java-api-library

Acquired API Client Library for Java

License

License

Categories

Categories

Java Languages
GroupId

GroupId

com.acquired
ArtifactId

ArtifactId

acquired-java-api-library
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

acquired-java-api-library
Acquired API Client Library for Java
Project URL

Project URL

http://maven.apache.org
Source Code Management

Source Code Management

https://github.com/AcquiredSupport/Acquired-java-api-library

Download acquired-java-api-library

How to add to project

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

Dependencies

compile (1)

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

provided (1)

Group / Artifact Type Version
javax.servlet : servlet-api jar 2.5

test (1)

Group / Artifact Type Version
junit : junit jar 3.8.1

Project Modules

There are no modules declared in this project.

Acquired Java Library 1.0.0

Description

The Acquired API Library for Java enables you to work with Acquired APIs.

Directory

|--src.main.java.com.acquired
    AQPay.java
    AQPayCommont.java
pom.xml
readme.md  

Documentation

https://developer.acquired.com/integrations

Installation

You can simply Download the Release

Maven

Add this dependency to your project's POM:

<dependency>
    <groupId>com.acquired</groupId>
    <artifactId>acquired-java-api-library</artifactId>
    <version>1.0.2</version>	    
</dependency>

Examples

Get start

  1. import the below file in the example files.
import com.acquired.*;

How to use

It is very simply to use like this:

  1. new a AQPay obj.
AQPay aqpay = new AQPay();
  1. set parameters.
aqpay.setParam("amount", "1");
  1. post parameters according to your transaction type.
JsonObject result = aqpay.capture();
  1. deal response.
if(aqpay.isSignatureValid(result)) {
    
    // do your job
    
}

The code examples on using this library are located in the library section of the api-sdk-java repository: https://github.com/AcquiredSupport/Acquired-api-sdk-java

Requirements

gson-2.7.jar

Versions

Version
1.0.2
1.0.1