Skip to content

Commit

Permalink
Merge pull request #7 from cashfree/3.0.5
Browse files Browse the repository at this point in the history
3.0.5
  • Loading branch information
suhas-cashfree authored Nov 29, 2023
2 parents d041b48 + b6f645f commit 1017a01
Show file tree
Hide file tree
Showing 20 changed files with 349 additions and 110 deletions.
3 changes: 3 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ docs/RefundsApi.md
docs/SavedInstrumentMeta.md
docs/SettlementEntity.md
docs/SettlementFetchReconRequest.md
docs/SettlementFetchReconRequestFilters.md
docs/SettlementReconEntity.md
docs/SettlementReconEntityDataInner.md
docs/SettlementReconciliationApi.md
Expand Down Expand Up @@ -264,6 +265,7 @@ src/cashfree_pg.Test/Model/RefundSpeedTests.cs
src/cashfree_pg.Test/Model/RefundURLObjectTests.cs
src/cashfree_pg.Test/Model/SavedInstrumentMetaTests.cs
src/cashfree_pg.Test/Model/SettlementEntityTests.cs
src/cashfree_pg.Test/Model/SettlementFetchReconRequestFiltersTests.cs
src/cashfree_pg.Test/Model/SettlementFetchReconRequestTests.cs
src/cashfree_pg.Test/Model/SettlementReconEntityDataInnerTests.cs
src/cashfree_pg.Test/Model/SettlementReconEntityTests.cs
Expand Down Expand Up @@ -420,6 +422,7 @@ src/cashfree_pg/Model/RefundURLObject.cs
src/cashfree_pg/Model/SavedInstrumentMeta.cs
src/cashfree_pg/Model/SettlementEntity.cs
src/cashfree_pg/Model/SettlementFetchReconRequest.cs
src/cashfree_pg/Model/SettlementFetchReconRequestFilters.cs
src/cashfree_pg/Model/SettlementReconEntity.cs
src/cashfree_pg/Model/SettlementReconEntityDataInner.cs
src/cashfree_pg/Model/SettlementURLObject.cs
Expand Down
10 changes: 5 additions & 5 deletions cashfree_pg.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cashfree_pg", "src\cashfree_pg\cashfree_pg.csproj", "{40219099-AC87-4119-B2C1-4336D5A49746}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cashfree_pg", "src\cashfree_pg\cashfree_pg.csproj", "{EAF418AF-E282-4B6C-A627-0E1CD7A95184}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cashfree_pg.Test", "src\cashfree_pg.Test\cashfree_pg.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{40219099-AC87-4119-B2C1-4336D5A49746}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{40219099-AC87-4119-B2C1-4336D5A49746}.Debug|Any CPU.Build.0 = Debug|Any CPU
{40219099-AC87-4119-B2C1-4336D5A49746}.Release|Any CPU.ActiveCfg = Release|Any CPU
{40219099-AC87-4119-B2C1-4336D5A49746}.Release|Any CPU.Build.0 = Release|Any CPU
{EAF418AF-E282-4B6C-A627-0E1CD7A95184}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EAF418AF-E282-4B6C-A627-0E1CD7A95184}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EAF418AF-E282-4B6C-A627-0E1CD7A95184}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EAF418AF-E282-4B6C-A627-0E1CD7A95184}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
4 changes: 2 additions & 2 deletions docs/CreateTerminalTransactionRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Request body to create a terminal transaction

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cf_order_id** | **int** | cashfree order ID that was returned while creating an order. |
**cf_terminal_id** | **int** | cashfree terminal id. this is a required parameter when you do not provide the terminal phone number. | [optional]
**cf_order_id** | **long** | cashfree order ID that was returned while creating an order. |
**cf_terminal_id** | **long** | cashfree terminal id. this is a required parameter when you do not provide the terminal phone number. | [optional]
**payment_method** | **string** | mention the payment method used for the transaction. possible values - QR_CODE, LINK. |
**terminal_phone_no** | **string** | agent mobile number assigned to the terminal. this is a required parameter when you do not provide the cf_terminal_id. | [optional]

Expand Down
24 changes: 12 additions & 12 deletions docs/EligibilityApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ All URIs are relative to *https://sandbox.cashfree.com/pg*

| Method | HTTP request | Description |
|--------|--------------|-------------|
| [**PGEligibilityFetchCardlessEMI**](EligibilityApi.md#pgeligibilityfetchcardlessemi) | **POST** /eligibility/cardlessemi | Get Eligible Cardless EMI Payment Methods for a customer on an order |
| [**PGEligibilityFetchOffers**](EligibilityApi.md#pgeligibilityfetchoffers) | **POST** /eligibility/offers | Get Eligible Offers for an Order |
| [**PGEligibilityFetchPaylater**](EligibilityApi.md#pgeligibilityfetchpaylater) | **POST** /eligibility/paylater | Get Eligible Paylater for a customer on an order |
| [**PGEligibilityFetchPaymentMethods**](EligibilityApi.md#pgeligibilityfetchpaymentmethods) | **POST** /eligibility/payment_methods | Get eligible Payment Methods |
| [**PGEligibilityFetchCardlessEMI**](EligibilityApi.md#pgeligibilityfetchcardlessemi) | **POST** /eligibility/cardlessemi | Get Eligible Cardless EMI |
| [**PGEligibilityFetchOffers**](EligibilityApi.md#pgeligibilityfetchoffers) | **POST** /eligibility/offers | Get Eligible Offers |
| [**PGEligibilityFetchPaylater**](EligibilityApi.md#pgeligibilityfetchpaylater) | **POST** /eligibility/paylater | Get Eligible Paylater |
| [**PGEligibilityFetchPaymentMethods**](EligibilityApi.md#pgeligibilityfetchpaymentmethods) | **POST** /eligibility/payment_methods | Get Eligible Payment Methods |

<a id="pgeligibilityfetchcardlessemi"></a>
# **PGEligibilityFetchCardlessEMI**
> List&lt;EligibilityCardlessEMIEntity&gt; PGEligibilityFetchCardlessEMI (string xApiVersion, EligibilityFetchCardlessEMIRequest eligibilityFetchCardlessEMIRequest, string? xRequestId = null, Guid? xIdempotencyKey = null)
Get Eligible Cardless EMI Payment Methods for a customer on an order
Get Eligible Cardless EMI

Use this API to get eligible Cardless EMI Payment Methods available for a customer on an order basis their phone number.

Expand Down Expand Up @@ -46,7 +46,7 @@ namespace Example
try
{
// Get Eligible Cardless EMI Payment Methods for a customer on an order
// Get Eligible Cardless EMI
List<EligibilityCardlessEMIEntity> result = cashfree.PGEligibilityFetchCardlessEMI(xApiVersion, eligibilityFetchCardlessEMIRequest, xRequestId, xIdempotencyKey);
Debug.WriteLine(result);
}
Expand Down Expand Up @@ -103,7 +103,7 @@ namespace Example
# **PGEligibilityFetchOffers**
> List&lt;EligibilityOfferEntity&gt; PGEligibilityFetchOffers (string xApiVersion, EligibilityFetchOffersRequest eligibilityFetchOffersRequest, string? xRequestId = null, Guid? xIdempotencyKey = null)
Get Eligible Offers for an Order
Get Eligible Offers

Use this API to get eligible offers for an order_id or order amount.

Expand Down Expand Up @@ -136,7 +136,7 @@ namespace Example
try
{
// Get Eligible Offers for an Order
// Get Eligible Offers
List<EligibilityOfferEntity> result = cashfree.PGEligibilityFetchOffers(xApiVersion, eligibilityFetchOffersRequest, xRequestId, xIdempotencyKey);
Debug.WriteLine(result);
}
Expand Down Expand Up @@ -192,7 +192,7 @@ namespace Example
# **PGEligibilityFetchPaylater**
> List&lt;EligibilityPaylaterEntity&gt; PGEligibilityFetchPaylater (string xApiVersion, EligibilityFetchPaylaterRequest eligibilityFetchPaylaterRequest, string? xRequestId = null, Guid? xIdempotencyKey = null)
Get Eligible Paylater for a customer on an order
Get Eligible Paylater

Use this API to get eligible Paylater Payment Methods for a customer on an order.

Expand Down Expand Up @@ -225,7 +225,7 @@ namespace Example
try
{
// Get Eligible Paylater for a customer on an order
// Get Eligible Paylater
List<EligibilityPaylaterEntity> result = cashfree.PGEligibilityFetchPaylater(xApiVersion, eligibilityFetchPaylaterRequest, xRequestId, xIdempotencyKey);
Debug.WriteLine(result);
}
Expand Down Expand Up @@ -282,7 +282,7 @@ namespace Example
# **PGEligibilityFetchPaymentMethods**
> List&lt;EligibilityPaymentMethodsEntity&gt; PGEligibilityFetchPaymentMethods (string xApiVersion, EligibilityFetchPaymentMethodsRequest eligibilityFetchPaymentMethodsRequest, string? xRequestId = null, Guid? xIdempotencyKey = null)
Get eligible Payment Methods
Get Eligible Payment Methods

Use this API to get eligible Payment Methods

Expand Down Expand Up @@ -315,7 +315,7 @@ namespace Example
try
{
// Get eligible Payment Methods
// Get Eligible Payment Methods
List<EligibilityPaymentMethodsEntity> result = cashfree.PGEligibilityFetchPaymentMethods(xApiVersion, eligibilityFetchPaymentMethodsRequest, xRequestId, xIdempotencyKey);
Debug.WriteLine(result);
}
Expand Down
2 changes: 1 addition & 1 deletion docs/FetchSettlementsRequestFilters.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Specify either the Settlement ID, Settlement UTR, or start date and end date to

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cf_settlement_ids** | **List&lt;int&gt;** | List of settlement IDs for which you want the settlement reconciliation details. | [optional]
**cf_settlement_ids** | **List&lt;long&gt;** | List of settlement IDs for which you want the settlement reconciliation details. | [optional]
**settlement_utrs** | **List&lt;string&gt;** | List of settlement UTRs for which you want the settlement reconciliation details. | [optional]
**start_date** | **string** | Specify the start date from when you want the settlement reconciliation details. | [optional]
**end_date** | **string** | Specify the end date till when you want the settlement reconciliation details. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/LinkEntity.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Payment link success creation response object

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cf_link_id** | **int** | | [optional]
**cf_link_id** | **long** | | [optional]
**link_id** | **string** | | [optional]
**link_status** | **string** | | [optional]
**link_currency** | **string** | | [optional]
Expand Down
4 changes: 2 additions & 2 deletions docs/PaymentMethodsFilters.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# cashfree_pg.Model.PaymentMethodsFilters
Filter for Payment Methods
Filter for specific Payment Methods

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**payment_methods** | **List&lt;string&gt;** | Array of payment methods to be filtered. | [optional]
**payment_methods** | **List&lt;string&gt;** | Array of payment methods to be filtered. This is optional, by default all payment methods will be returned. Possible values in [ &#39;debit_card&#39;, &#39;credit_card&#39;, &#39;prepaid_card&#39;, &#39;corporate_credit_card&#39;, &#39;upi&#39;, &#39;wallet&#39;, &#39;netbanking&#39;, &#39;banktransfer&#39;, &#39;paylater&#39;, &#39;paypal&#39;, &#39;debit_card_emi&#39;, &#39;credit_card_emi&#39;, &#39;upi_credit_card&#39;, &#39;upi_ppi&#39;, &#39;cardless_emi&#39;, &#39;account_based_payment&#39; ] | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions docs/PaymentMethodsQueries.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Payment Method Query Object
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**amount** | **decimal** | Amount of the order. | [optional]
**order_id** | **string** | OrderId of the order. Either of &#x60;order_id&#x60; or &#x60;order_amount&#x60; is mandatory. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 1 addition & 1 deletion docs/SettlementFetchReconRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Recon Request Object
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**pagination** | [**FetchSettlementsRequestPagination**](FetchSettlementsRequestPagination.md) | |
**filters** | [**FetchSettlementsRequestFilters**](FetchSettlementsRequestFilters.md) | |
**filters** | [**SettlementFetchReconRequestFilters**](SettlementFetchReconRequestFilters.md) | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

14 changes: 14 additions & 0 deletions docs/SettlementFetchReconRequestFilters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# cashfree_pg.Model.SettlementFetchReconRequestFilters
Specify either the Settlement ID, Settlement UTR, or start date and end date to fetch the settlement details.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cf_settlement_ids** | **List&lt;int&gt;** | List of settlement IDs for which you want the settlement reconciliation details. | [optional]
**settlement_utrs** | **List&lt;string&gt;** | List of settlement UTRs for which you want the settlement reconciliation details. | [optional]
**start_date** | **string** | Specify the start date from when you want the settlement reconciliation details. | [optional]
**end_date** | **string** | Specify the end date till when you want the settlement reconciliation details. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Loading

0 comments on commit 1017a01

Please sign in to comment.