Skip to content

Commit 9e5a451

Browse files
author
bitbucket-pipelines
committed
Generating Java SDK.
1 parent 8ac1d38 commit 9e5a451

File tree

296 files changed

+19737
-522
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

296 files changed

+19737
-522
lines changed

.openapi-generator/FILES

Lines changed: 126 additions & 3 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ Try out our interactive guides at [Cashfree Dev Studio](https://www.cashfree.com
1818
### Installation
1919
* Gradle Project
2020
```bash
21-
implementation `com.cashfree.pg.java:cashfree_pg:4.1.4`
21+
implementation `com.cashfree.pg.java:cashfree_pg:4.2.0`
2222
```
2323
* Maven Project
2424
```bash
2525
<dependency>
2626
<groupId>com.cashfree.pg.java</groupId>
2727
<artifactId>cashfree_pg</artifactId>
28-
<version>4.1.4</version>
28+
<version>4.2.0</version>
2929
<scope>compile</scope>
3030
</dependency>
3131
<dependency>
@@ -80,4 +80,4 @@ try {
8080

8181
## Licence
8282

83-
Apache Licensed. See [LICENSE.md](LICENSE.md) for more details.
83+
Apache Licensed. See [LICENSE.md](LICENSE.md) for more details

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ apply plugin: 'maven-publish'
66
apply plugin: 'signing'
77

88
group = 'com.cashfree.pg.java'
9-
version = '4.1.4'
9+
version = '4.2.0'
1010

1111
buildscript {
1212
repositories {
@@ -116,7 +116,7 @@ if(hasProperty('target') && target == 'android') {
116116

117117
groupId 'com.cashfree.pg.java'
118118
artifactId 'cashfree_pg'
119-
version '4.1.4'
119+
version '4.2.0'
120120

121121
from components.java
122122

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.cashfree.pg.java",
44
name := "cashfree_pg",
5-
version := "4.1.4",
5+
version := "4.2.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/AuthorizationDetails.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
3+
# AuthorizationDetails
4+
5+
Details of the authorization done for the subscription. Returned in Get subscription and auth payments.
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**authorizationAmount** | **BigDecimal** | Authorization amount for the auth payment. | [optional] |
12+
|**authorizationAmountRefund** | **Boolean** | Indicates whether the authorization amount should be refunded to the customer automatically. Merchants can use this field to specify if the authorized funds should be returned to the customer after authorization of the subscription. | [optional] |
13+
|**authorizationReference** | **String** | Authorization reference. UMN for UPI, UMRN for EMandate/Physical Mandate and Enrollment ID for cards. | [optional] |
14+
|**authorizationTime** | **String** | Authorization time. | [optional] |
15+
|**authorizationStatus** | **String** | Status of the authorization. | [optional] |
16+
|**paymentId** | **String** | A unique ID passed by merchant for identifying the transaction. | [optional] |
17+
|**paymentMethod** | **String** | Payment method used for the authorization. | [optional] |
18+
19+
20+

docs/Card.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Card Payment method
1717
|**instrumentId** | **String** | instrument id of saved card. Required only to make payment using saved instrument. | [optional] |
1818
|**cryptogram** | **String** | cryptogram received from card network. Required only for tokenized card transactions. | [optional] |
1919
|**tokenRequestorId** | **String** | TRID issued by card networks. Required only for tokenized card transactions. | [optional] |
20-
|**tokenReferenceId** | **String** | Token Reference Id provided by Diners for Guest Checkout Token. Required only for Diners cards. | [optional] |
20+
|**tokenReferenceId** | **String** | Token Reference Id provided by Diners for Guest Checkout Token. Required only for Diners cards. | [optional] |
2121
|**tokenType** | [**TokenTypeEnum**](#TokenTypeEnum) | | [optional] |
2222
|**cardDisplay** | **String** | last 4 digits of original card number. Required only for tokenized card transactions. | [optional] |
2323
|**cardAlias** | **String** | Card alias as returned by Cashfree Vault API. | [optional] |

docs/CardlessEMI.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Request body for cardless emi payment method
99
| Name | Type | Description | Notes |
1010
|------------ | ------------- | ------------- | -------------|
1111
|**channel** | **String** | The channel for cardless EMI is always &#x60;link&#x60; | [optional] |
12-
|**provider** | [**ProviderEnum**](#ProviderEnum) | One of [&#x60;flexmoney&#x60;, &#x60;zestmoney&#x60;, &#x60;hdfc&#x60;, &#x60;icici&#x60;, &#x60;cashe&#x60;, &#x60;idfc&#x60;, &#x60;kotak&#x60;] | [optional] |
12+
|**provider** | [**ProviderEnum**](#ProviderEnum) | One of [&#x60;flexmoney&#x60;, &#x60;zestmoney&#x60;, &#x60;hdfc&#x60;, &#x60;icici&#x60;, &#x60;cashe&#x60;, &#x60;idfc&#x60;, &#x60;kotak&#x60;, &#x60;snapmint&#x60;, &#x60;bharatx&#x60;] | [optional] |
1313
|**phone** | **String** | Customers phone number for this payment instrument. If the customer is not eligible you will receive a 400 error with type as &#39;invalid_request_error&#39; and code as &#39;invalid_request_error&#39; | [optional] |
1414
|**emiTenure** | **Integer** | EMI tenure for the selected provider. This is mandatory when provider is one of [&#x60;hdfc&#x60;, &#x60;icici&#x60;, &#x60;cashe&#x60;, &#x60;idfc&#x60;, &#x60;kotak&#x60;] | [optional] |
1515

@@ -26,6 +26,8 @@ Request body for cardless emi payment method
2626
| CASHE | &quot;cashe&quot; |
2727
| IDFC | &quot;idfc&quot; |
2828
| KOTAK | &quot;kotak&quot; |
29+
| SNAPMINT | &quot;snapmint&quot; |
30+
| BHARATX | &quot;bharatx&quot; |
2931
| UNKNOWN_DEFAULT_OPEN_API | &quot;unknown_default_open_api&quot; |
3032

3133

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# CreateOrderSettlementRequestBody
4+
5+
Create Order Settlement Object
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**orderId** | **String** | OrderId of the order. | |
12+
|**metaData** | [**CreateOrderSettlementRequestBodyMetaData**](CreateOrderSettlementRequestBodyMetaData.md) | | |
13+
14+
15+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# CreateOrderSettlementRequestBodyMetaData
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**cbriksId** | **String** | Meta data cbricks ID to be used for reporting purpose. | [optional] |
11+
|**settlementDate** | **LocalDate** | Requested Settlement Date. | [optional] |
12+
13+
14+

docs/CreatePlanRequest.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
3+
# CreatePlanRequest
4+
5+
Request body to create a plan.
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**planId** | **String** | Unique ID to identify the plan. Only alpha-numerics, dot, hyphen and underscore allowed. | |
12+
|**planName** | **String** | Name of the plan. | |
13+
|**planType** | **String** | Type of the plan. Possible values - PERIODIC, ON_DEMAND. | |
14+
|**planCurrency** | **String** | Currency of the plan. | [optional] |
15+
|**planRecurringAmount** | **BigDecimal** | Recurring amount for the plan. Required for PERIODIC plan_type. | [optional] |
16+
|**planMaxAmount** | **BigDecimal** | Maximum amount for the plan. | |
17+
|**planMaxCycles** | **Integer** | Maximum number of payment cycles for the plan. | [optional] |
18+
|**planIntervals** | **Integer** | Number of billing cycles between charges. For instance, if set to 2 and the interval type is &#39;week&#39;, the service will be billed every 2 weeks. Similarly, if set to 3 and the interval type is &#39;month&#39;, the service will be billed every 3 months. Required for PERIODIC plan_type. | [optional] |
19+
|**planIntervalType** | **String** | Interval type for the plan. Possible values - DAY, WEEK, MONTH, YEAR. | [optional] |
20+
|**planNote** | **String** | Note for the plan. | [optional] |
21+
22+
23+

0 commit comments

Comments
 (0)