yinqiantong-java-sdk

Yinqiantong SDK for java

License

License

Categories

Categories

Java Languages Ant Build Tools
GroupId

GroupId

com.github.yinqiantong
ArtifactId

ArtifactId

java-sdk
Last Version

Last Version

0.0.9
Release Date

Release Date

Type

Type

jar
Description

Description

yinqiantong-java-sdk
Yinqiantong SDK for java
Project URL

Project URL

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

Source Code Management

https://github.com/yinqiantong/java-sdk

Download java-sdk

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
org.apache.commons : commons-lang3 jar 3.8
org.apache.httpcomponents : httpclient jar 4.5.6
org.apache.httpcomponents : fluent-hc jar 4.5.6
com.google.code.gson : gson jar 2.8.5

provided (1)

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

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Yinqiantong SDK for Java

安装

您可以通过以下的其中一种方式引入 SDK

1,Gradle:

compile 'com.github.yinqiantong:java-sdk:0.0.9'

2,Maven:

<dependency>
  <groupId>com.github.yinqiantong</groupId>
  <artifactId>java-sdk</artifactId>
  <version>0.0.9</version>
</dependency>

3,Jar 包引入:

下载 Jar

4,其他:

更多方式,欢迎到 Sonatype 中了解更多

创建订单

Yinqiantong.create(appId, appSecret)
        .createOrder(Options options = Options.newInstance()
                 .setChannel("1")
                 .setPlatform("2")
                 .setMoney(1)
                 .setClientIp("127.0.0.1")
                 .setNotifyUrl("https://yinqiantong.com/test")
                 .setClientOutTradeNo(createClientOutTradeNo());

验证签名

Yinqiantong.create(appId, appSecret).checkSign(notifyDataStr);

生成签名

Yinqiantong.create(appId, appSecret).createSign(yourData);
com.github.yinqiantong

银钱通

7行代码接入,费率比自主申请便宜

Versions

Version
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1