Skip to content

Commit

Permalink
Merge pull request #11 from cashfree/0.0.14
Browse files Browse the repository at this point in the history
0.0.14
  • Loading branch information
surjeetcashfree authored Mar 11, 2024
2 parents f2510c9 + 044e8da commit 75e1846
Show file tree
Hide file tree
Showing 33 changed files with 51 additions and 51 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ Try out our interactive guides at [Cashfree Dev Studio](https://www.cashfree.com
### Installation
* Gradle Project
```bash
implementation `com.cashfree.payout.java:cashfree_payout:0.0.12`
implementation `com.cashfree.payout.java:cashfree_payout:0.0.14`
```
* Maven Project
```bash
<dependency>
<groupId>com.cashfree.payout.java</groupId>
<artifactId>cashfree_payout</artifactId>
<version>0.0.12</version>
<version>0.0.14</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
16 changes: 8 additions & 8 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.payout.java'
version = '0.0.12'
version = '0.0.14'

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

groupId 'com.cashfree.payout.java'
artifactId 'cashfree_payout'
version '0.0.12'
version '0.0.14'

from components.java

Expand All @@ -127,12 +127,12 @@ if(hasProperty('target') && target == 'android') {
// Mostly self-explanatory metadata
pom {
name = 'cashfree_payout'
description = 'Cashfree Payments, PG Java SDK'
url = 'https://github.com/cashfree/cashfree-pg-sdk-java'
description = 'Cashfree Payments, Payout Java SDK'
url = 'https://github.com/cashfree/cashfree-payout-sdk-java'
licenses {
license {
name = 'Apache License'
url = 'https://github.com/cashfree/cashfree-pg-sdk-java/blob/master/LICENSE.md'
url = 'https://github.com/cashfree/cashfree-payout-sdk-java/blob/master/LICENSE.md'
}
}
developers {
Expand All @@ -147,9 +147,9 @@ if(hasProperty('target') && target == 'android') {
// Version control info - if you're using GitHub, follow the
// format as seen here
scm {
connection = 'scm:git:github.com/cashfree/cashfree-pg-sdk-java.git'
developerConnection = 'scm:git:ssh://github.com/cashfree/cashfree-pg-sdk-java.git'
url = 'https://github.com/cashfree/cashfree-pg-sdk-java'
connection = 'scm:git:github.com/cashfree/cashfree-payout-sdk-java.git'
developerConnection = 'scm:git:ssh://github.com/cashfree/cashfree-payout-sdk-java.git'
url = 'https://github.com/cashfree/cashfree-payout-sdk-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.payout.java",
name := "cashfree_payout",
version := "0.0.12",
version := "0.0.14",
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_payout</artifactId>
<packaging>jar</packaging>
<name>cashfree_payout</name>
<version>0.0.12</version>
<version>0.0.14</version>
<url>https://github.com/cashfree/cashfree-payout-sdk-java</url>
<description>Java Framework for Cashfree Payout.</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-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class ApiException extends Exception {
private int code = 0;
private Map<String, List<String>> responseHeaders = null;
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/com/cashfree/Cashfree.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public okhttp3.Call payoutCreateBeneficiaryCall(String xApiVersion, String xRequ
localVarHeaderParams.put("Content-Type", localVarContentType);
}

localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.12");
localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.14");

String[] localVarAuthNames = new String[] { "XClientSecret", "XClientID" };
return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
Expand Down Expand Up @@ -273,7 +273,7 @@ public okhttp3.Call payoutDeleteBeneficiaryCall(String xApiVersion, String xRequ
localVarHeaderParams.put("Content-Type", localVarContentType);
}

localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.12");
localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.14");

String[] localVarAuthNames = new String[] { "XClientSecret", "XClientID" };
return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
Expand Down Expand Up @@ -384,7 +384,7 @@ public okhttp3.Call payoutFetchBeneficiaryCall(String xApiVersion, String xReque
localVarHeaderParams.put("Content-Type", localVarContentType);
}

localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.12");
localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.14");

String[] localVarAuthNames = new String[] { "XClientSecret", "XClientID" };
return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
Expand Down Expand Up @@ -488,7 +488,7 @@ public okhttp3.Call payoutFetchBatchTransferCall(String xApiVersion, String xReq
localVarHeaderParams.put("Content-Type", localVarContentType);
}

localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.12");
localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.14");

String[] localVarAuthNames = new String[] { "XClientSecret", "XClientID" };
return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
Expand Down Expand Up @@ -593,7 +593,7 @@ public okhttp3.Call payoutFetchTransferCall(String xApiVersion, String xRequestI
localVarHeaderParams.put("Content-Type", localVarContentType);
}

localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.12");
localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.14");

String[] localVarAuthNames = new String[] { "XClientSecret", "XClientID" };
return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
Expand Down Expand Up @@ -690,7 +690,7 @@ public okhttp3.Call payoutInitiateBatchTransferCall(String xApiVersion, String x
localVarHeaderParams.put("Content-Type", localVarContentType);
}

localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.12");
localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.14");

String[] localVarAuthNames = new String[] { "XClientSecret", "XClientID" };
return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
Expand Down Expand Up @@ -788,7 +788,7 @@ public okhttp3.Call payoutInitiateTransferCall(String xApiVersion, String xReque
localVarHeaderParams.put("Content-Type", localVarContentType);
}

localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.12");
localVarHeaderParams.put("x-sdk-platform", "javasdk-0.0.14");

String[] localVarAuthNames = new String[] { "XClientSecret", "XClientID" };
return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
Expand Down Expand Up @@ -908,7 +908,7 @@ private void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/0.0.12/java");
setUserAgent("OpenAPI-Generator/0.0.14/java");

authentications = new HashMap<String, Authentication>();
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/cashfree/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

package com.cashfree;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
class Configuration {
public static final String VERSION = "0.0.12";
public static final String VERSION = "0.0.14";

private static Cashfree.ApiClient defaultApiClient = new Cashfree.ApiClient();

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cashfree/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

package com.cashfree;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class Pair {
private String name = "";
private String value = "";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cashfree/StringUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.util.Collection;
import java.util.Iterator;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cashfree/auth/ApiKeyAuth.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import java.util.Map;
import java.util.List;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cashfree/auth/HttpBearerAuth.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import java.util.Map;
import java.util.List;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class HttpBearerAuth implements Authentication {
private final String scheme;
private String bearerToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/**
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public abstract class AbstractOpenApiSchema {

// store the actual instance of the schema/object
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cashfree/model/Beneficiary.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* Contains the information of the created beneficiary
*/
@Schema(description = "Contains the information of the created beneficiary")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class Beneficiary {
public static final String SERIALIZED_NAME_BENEFICIARY_ID = "beneficiary_id";
@SerializedName(SERIALIZED_NAME_BENEFICIARY_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* It displays the contact details of the beneficiary.
*/
@Schema(description = "It displays the contact details of the beneficiary.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class BeneficiaryBeneficiaryContactDetails {
public static final String SERIALIZED_NAME_BENEFICIARY_EMAIL = "beneficiary_email";
@SerializedName(SERIALIZED_NAME_BENEFICIARY_EMAIL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* It displays the payment instrument details of the beneficiary.
*/
@Schema(description = "It displays the payment instrument details of the beneficiary.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class BeneficiaryBeneficiaryInstrumentDetails {
public static final String SERIALIZED_NAME_BANK_ACCOUNT_NUMBER = "bank_account_number";
@SerializedName(SERIALIZED_NAME_BANK_ACCOUNT_NUMBER)
Expand All @@ -76,11 +76,11 @@ public BeneficiaryBeneficiaryInstrumentDetails bankAccountNumber(String bankAcco
}

/**
* It displays the bank account of the beneficiary.]
* It displays the bank account of the beneficiary.
* @return bankAccountNumber
**/
@javax.annotation.Nullable
@Schema(example = "00111122233", requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "It displays the bank account of the beneficiary.]")
@Schema(example = "00111122233", requiredMode = Schema.RequiredMode.NOT_REQUIRED, description = "It displays the bank account of the beneficiary.")
public String getBankAccountNumber() {
return bankAccountNumber;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
* Batch Transfer V2
*/
@Schema(description = "Batch Transfer V2")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class CreateBatchTransferRequest {
public static final String SERIALIZED_NAME_BATCH_TRANSFER_ID = "batch_transfer_id";
@SerializedName(SERIALIZED_NAME_BATCH_TRANSFER_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
/**
* CreateBatchTransferRequestTransfersInner
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class CreateBatchTransferRequestTransfersInner {
public static final String SERIALIZED_NAME_TRANSFER_ID = "transfer_id";
@SerializedName(SERIALIZED_NAME_TRANSFER_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* It should contain the details of the beneficiary who receives the transfer amount.
*/
@Schema(description = "It should contain the details of the beneficiary who receives the transfer amount.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class CreateBatchTransferRequestTransfersInnerBeneficiaryDetails {
public static final String SERIALIZED_NAME_BENEFICIARY_ID = "beneficiary_id";
@SerializedName(SERIALIZED_NAME_BENEFICIARY_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* It should contain the details of where the beneficiary will receive the money. You input these details if you haven&#39;t added the beneficiary in the Payouts dashboard.
*/
@Schema(description = "It should contain the details of where the beneficiary will receive the money. You input these details if you haven't added the beneficiary in the Payouts dashboard.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class CreateBatchTransferRequestTransfersInnerBeneficiaryDetailsBeneficiaryInstrumentDetails {
public static final String SERIALIZED_NAME_BANK_ACCOUNT_NUMBER = "bank_account_number";
@SerializedName(SERIALIZED_NAME_BANK_ACCOUNT_NUMBER)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* Batch Transfer V2 Response
*/
@Schema(description = "Batch Transfer V2 Response")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class CreateBatchTransferResponse {
public static final String SERIALIZED_NAME_BATCH_TRANSFER_ID = "batch_transfer_id";
@SerializedName(SERIALIZED_NAME_BATCH_TRANSFER_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* Find the request parameters to create a beneficiary
*/
@Schema(description = "Find the request parameters to create a beneficiary")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class CreateBeneficiaryRequest {
public static final String SERIALIZED_NAME_BENEFICIARY_ID = "beneficiary_id";
@SerializedName(SERIALIZED_NAME_BENEFICIARY_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* It should contain the contact details of the beneficiary.
*/
@Schema(description = "It should contain the contact details of the beneficiary.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class CreateBeneficiaryRequestBeneficiaryContactDetails {
public static final String SERIALIZED_NAME_BENEFICIARY_EMAIL = "beneficiary_email";
@SerializedName(SERIALIZED_NAME_BENEFICIARY_EMAIL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* Beneficiary instrument details
*/
@Schema(description = "Beneficiary instrument details")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class CreateBeneficiaryRequestBeneficiaryInstrumentDetails {
public static final String SERIALIZED_NAME_BANK_ACCOUNT_NUMBER = "bank_account_number";
@SerializedName(SERIALIZED_NAME_BANK_ACCOUNT_NUMBER)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
* Standard Transfer V2
*/
@Schema(description = "Standard Transfer V2")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T12:02:16.890239Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-03-11T15:05:20.896700Z[Etc/UTC]")
public class CreateTransferRequest {
public static final String SERIALIZED_NAME_TRANSFER_ID = "transfer_id";
@SerializedName(SERIALIZED_NAME_TRANSFER_ID)
Expand Down
Loading

0 comments on commit 75e1846

Please sign in to comment.