Skip to content

Commit

Permalink
Merge pull request #5 from cashfree/2.0.1
Browse files Browse the repository at this point in the history
2.0.1
  • Loading branch information
harshitprajapati316 authored Dec 18, 2024
2 parents 93d9f4d + 17bf8dc commit 63cf82b
Show file tree
Hide file tree
Showing 103 changed files with 4,811 additions and 115 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Cashfree Verification Java SDK
![GitHub](https://img.shields.io/github/license/cashfree/cashfree-verification-sdk-java) ![Discord](https://img.shields.io/discord/931125665669972018?label=discord) ![GitHub last commit (branch)](https://img.shields.io/github/last-commit/cashfree/cashfree-verification-sdk-java/main) ![GitHub release (with filter)](https://img.shields.io/github/v/release/cashfree/cashfree-verification-sdk-java?label=latest) ![GitHub forks](https://img.shields.io/github/forks/cashfree/cashfree-verification-sdk-java) [![Coverage Status](https://coveralls.io/repos/github/cashfree/cashfree-verification-sdk-java/badge.svg?branch=main)](https://coveralls.io/github/cashfree/cashfree-verification-sdk-java?branch=main)

The Cashfree Verification Java SDK offers a convenient solution to access [Cashfree Verification APIs](https://docs.cashfree.com/reference/verification-api-overview) from a server-side Java applications.
The Cashfree Verification Java SDK offers a convenient solution to access [Cashfree Verification APIs](https://docs.cashfree.com/reference/version-2) from a server-side Java applications.



## Documentation

Cashfree's Verification API Documentation - (https://docs.cashfree.com/reference/verification-api-overview)
Cashfree's Verification API Documentation -https://docs.cashfree.com/reference/verification-api-overview


Try out our interactive guides at [Cashfree Dev Studio](https://www.cashfree.com/devstudio) !

Expand All @@ -16,14 +17,14 @@ Try out our interactive guides at [Cashfree Dev Studio](https://www.cashfree.com
### Installation
* Gradle Project
```bash
implementation `com.cashfree.verification.java:cashfree_verification:2.0.0`
implementation `com.cashfree.verification.java:cashfree_verification:2.0.1`
```
* Maven Project
```bash
<dependency>
<groupId>com.cashfree.verification.java</groupId>
<artifactId>cashfree_verification</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -37,17 +38,18 @@ implementation `com.cashfree.verification.java:cashfree_verification:2.0.0`
```java
import com.cashfree.*;

Cashfree.XClientId = "<x-client-id>";
Cashfree.XClientSecret = "<x-client-secret>";
Cashfree.XEnvironment = Cashfree.SANDBOX;
CashfreeVrs.XClientId = "<x-client-id>";
CashfreeVrs.XClientSecret = "<x-client-secret>";
CashfreeVrs.XEnvironment = CashfreeVrs.SANDBOX;

Cashfree cashfree = new Cashfree();
String xApiVersion = "2022-09-01";
CashfreeVrs cashfree = new CashfreeVrs();
String xApiVersion = "2024-01-01";
```

Generate your API keys (x-client-id , x-client-secret) from [Cashfree Merchant Dashboard](https://merchant.cashfree.com/merchants/login)



## Licence

Apache Licensed. See [LICENSE.md](LICENSE.md) for more details
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'

group = 'com.cashfree.verification.java'
version = '2.0.0'
version = '2.0.1'

buildscript {
repositories {
Expand Down Expand Up @@ -116,7 +116,7 @@ if(hasProperty('target') && target == 'android') {

groupId 'com.cashfree.verification.java'
artifactId 'cashfree_verification'
version '2.0.0'
version '2.0.1'

from components.java

Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.cashfree.verification.java",
name := "cashfree_verification",
version := "2.0.0",
version := "2.0.1",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>cashfree_verification</artifactId>
<packaging>jar</packaging>
<name>cashfree_verification</name>
<version>2.0.0</version>
<version>2.0.1</version>
<url>https://github.com/cashfree/cashfree-verification-sdk-java</url>
<description>Java Framework for Cashfree Verification.</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cashfree/ApiException.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* <p>ApiException class.</p>
*/
@SuppressWarnings("serial")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-08T05:03:36.102379Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T11:12:20.695812Z[Etc/UTC]")
public class ApiException extends Exception {
private int code = 0;
private Map<String, List<String>> responseHeaders = null;
Expand Down
Loading

0 comments on commit 63cf82b

Please sign in to comment.