diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index c0c31cd..0c3eedf 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -21,7 +21,6 @@ docs/BalanceDetails.md docs/BankDetails.md docs/Banktransfer.md docs/BanktransferPaymentMethod.md -docs/CARD.md docs/Card.md docs/CardEMI.md docs/CardEMIPaymentMethod.md @@ -41,13 +40,17 @@ docs/CreateOrderSettlementRequestBody.md docs/CreateOrderSettlementRequestBodyMetaData.md docs/CreatePlanRequest.md docs/CreateSubscriptionPaymentRequest.md +docs/CreateSubscriptionPaymentRequestCard.md +docs/CreateSubscriptionPaymentRequestEnack.md docs/CreateSubscriptionPaymentRequestPaymentMethod.md +docs/CreateSubscriptionPaymentRequestPnach.md docs/CreateSubscriptionPaymentResponse.md docs/CreateSubscriptionRefundRequest.md docs/CreateSubscriptionRequest.md docs/CreateSubscriptionRequestAuthorizationDetails.md docs/CreateSubscriptionRequestPlanDetails.md docs/CreateSubscriptionRequestSubscriptionMeta.md +docs/CreateSubscriptonPaymentRequestUpi.md docs/CreateTerminalRequest.md docs/CreateTerminalRequestTerminalMeta.md docs/CreateTerminalTransactionRequest.md @@ -62,7 +65,6 @@ docs/CustomersApi.md docs/DiscountDetails.md docs/EMIOffer.md docs/EMIPlansArray.md -docs/ENACH.md docs/ESOrderReconRequest.md docs/ESOrderReconRequestFilters.md docs/ESOrderReconRequestPagination.md @@ -136,7 +138,6 @@ docs/OrderMeta.md docs/OrderPayData.md docs/OrdersApi.md docs/PGReconciliationApi.md -docs/PNACH.md docs/PayOrderEntity.md docs/PayOrderRequest.md docs/PayOrderRequestPaymentMethod.md @@ -225,7 +226,6 @@ docs/TerminateOrderRequest.md docs/TokenVaultApi.md docs/TransferDetails.md docs/TransferDetailsTagsInner.md -docs/UPI.md docs/UPIAuthorizeDetails.md docs/UPIPaymentMethod.md docs/UpdateTerminalEntity.md @@ -281,7 +281,6 @@ src/cashfree_pg.Test/Model/BalanceDetailsTests.cs src/cashfree_pg.Test/Model/BankDetailsTests.cs src/cashfree_pg.Test/Model/BanktransferPaymentMethodTests.cs src/cashfree_pg.Test/Model/BanktransferTests.cs -src/cashfree_pg.Test/Model/CARDTests.cs src/cashfree_pg.Test/Model/CardEMIPaymentMethodTests.cs src/cashfree_pg.Test/Model/CardEMITests.cs src/cashfree_pg.Test/Model/CardOfferTests.cs @@ -300,7 +299,10 @@ src/cashfree_pg.Test/Model/CreateOrderRequestTests.cs src/cashfree_pg.Test/Model/CreateOrderSettlementRequestBodyMetaDataTests.cs src/cashfree_pg.Test/Model/CreateOrderSettlementRequestBodyTests.cs src/cashfree_pg.Test/Model/CreatePlanRequestTests.cs +src/cashfree_pg.Test/Model/CreateSubscriptionPaymentRequestCardTests.cs +src/cashfree_pg.Test/Model/CreateSubscriptionPaymentRequestEnackTests.cs src/cashfree_pg.Test/Model/CreateSubscriptionPaymentRequestPaymentMethodTests.cs +src/cashfree_pg.Test/Model/CreateSubscriptionPaymentRequestPnachTests.cs src/cashfree_pg.Test/Model/CreateSubscriptionPaymentRequestTests.cs src/cashfree_pg.Test/Model/CreateSubscriptionPaymentResponseTests.cs src/cashfree_pg.Test/Model/CreateSubscriptionRefundRequestTests.cs @@ -308,6 +310,7 @@ src/cashfree_pg.Test/Model/CreateSubscriptionRequestAuthorizationDetailsTests.cs src/cashfree_pg.Test/Model/CreateSubscriptionRequestPlanDetailsTests.cs src/cashfree_pg.Test/Model/CreateSubscriptionRequestSubscriptionMetaTests.cs src/cashfree_pg.Test/Model/CreateSubscriptionRequestTests.cs +src/cashfree_pg.Test/Model/CreateSubscriptonPaymentRequestUpiTests.cs src/cashfree_pg.Test/Model/CreateTerminalRequestTerminalMetaTests.cs src/cashfree_pg.Test/Model/CreateTerminalRequestTests.cs src/cashfree_pg.Test/Model/CreateTerminalTransactionRequestTests.cs @@ -321,7 +324,6 @@ src/cashfree_pg.Test/Model/CustomerEntityTests.cs src/cashfree_pg.Test/Model/DiscountDetailsTests.cs src/cashfree_pg.Test/Model/EMIOfferTests.cs src/cashfree_pg.Test/Model/EMIPlansArrayTests.cs -src/cashfree_pg.Test/Model/ENACHTests.cs src/cashfree_pg.Test/Model/ESOrderReconRequestFiltersTests.cs src/cashfree_pg.Test/Model/ESOrderReconRequestPaginationTests.cs src/cashfree_pg.Test/Model/ESOrderReconRequestTests.cs @@ -390,7 +392,6 @@ src/cashfree_pg.Test/Model/OrderCreateRefundRequestTests.cs src/cashfree_pg.Test/Model/OrderEntityTests.cs src/cashfree_pg.Test/Model/OrderMetaTests.cs src/cashfree_pg.Test/Model/OrderPayDataTests.cs -src/cashfree_pg.Test/Model/PNACHTests.cs src/cashfree_pg.Test/Model/PayOrderEntityTests.cs src/cashfree_pg.Test/Model/PayOrderRequestPaymentMethodTests.cs src/cashfree_pg.Test/Model/PayOrderRequestTests.cs @@ -472,7 +473,6 @@ src/cashfree_pg.Test/Model/TransferDetailsTagsInnerTests.cs src/cashfree_pg.Test/Model/TransferDetailsTests.cs src/cashfree_pg.Test/Model/UPIAuthorizeDetailsTests.cs src/cashfree_pg.Test/Model/UPIPaymentMethodTests.cs -src/cashfree_pg.Test/Model/UPITests.cs src/cashfree_pg.Test/Model/UpdateTerminalEntityTests.cs src/cashfree_pg.Test/Model/UpdateTerminalRequestTerminalMetaTests.cs src/cashfree_pg.Test/Model/UpdateTerminalRequestTests.cs @@ -543,7 +543,6 @@ src/cashfree_pg/Model/BalanceDetails.cs src/cashfree_pg/Model/BankDetails.cs src/cashfree_pg/Model/Banktransfer.cs src/cashfree_pg/Model/BanktransferPaymentMethod.cs -src/cashfree_pg/Model/CARD.cs src/cashfree_pg/Model/Card.cs src/cashfree_pg/Model/CardEMI.cs src/cashfree_pg/Model/CardEMIPaymentMethod.cs @@ -563,13 +562,17 @@ src/cashfree_pg/Model/CreateOrderSettlementRequestBody.cs src/cashfree_pg/Model/CreateOrderSettlementRequestBodyMetaData.cs src/cashfree_pg/Model/CreatePlanRequest.cs src/cashfree_pg/Model/CreateSubscriptionPaymentRequest.cs +src/cashfree_pg/Model/CreateSubscriptionPaymentRequestCard.cs +src/cashfree_pg/Model/CreateSubscriptionPaymentRequestEnack.cs src/cashfree_pg/Model/CreateSubscriptionPaymentRequestPaymentMethod.cs +src/cashfree_pg/Model/CreateSubscriptionPaymentRequestPnach.cs src/cashfree_pg/Model/CreateSubscriptionPaymentResponse.cs src/cashfree_pg/Model/CreateSubscriptionRefundRequest.cs src/cashfree_pg/Model/CreateSubscriptionRequest.cs src/cashfree_pg/Model/CreateSubscriptionRequestAuthorizationDetails.cs src/cashfree_pg/Model/CreateSubscriptionRequestPlanDetails.cs src/cashfree_pg/Model/CreateSubscriptionRequestSubscriptionMeta.cs +src/cashfree_pg/Model/CreateSubscriptonPaymentRequestUpi.cs src/cashfree_pg/Model/CreateTerminalRequest.cs src/cashfree_pg/Model/CreateTerminalRequestTerminalMeta.cs src/cashfree_pg/Model/CreateTerminalTransactionRequest.cs @@ -583,7 +586,6 @@ src/cashfree_pg/Model/CustomerEntity.cs src/cashfree_pg/Model/DiscountDetails.cs src/cashfree_pg/Model/EMIOffer.cs src/cashfree_pg/Model/EMIPlansArray.cs -src/cashfree_pg/Model/ENACH.cs src/cashfree_pg/Model/ESOrderReconRequest.cs src/cashfree_pg/Model/ESOrderReconRequestFilters.cs src/cashfree_pg/Model/ESOrderReconRequestPagination.cs @@ -652,7 +654,6 @@ src/cashfree_pg/Model/OrderCreateRefundRequest.cs src/cashfree_pg/Model/OrderEntity.cs src/cashfree_pg/Model/OrderMeta.cs src/cashfree_pg/Model/OrderPayData.cs -src/cashfree_pg/Model/PNACH.cs src/cashfree_pg/Model/PayOrderEntity.cs src/cashfree_pg/Model/PayOrderRequest.cs src/cashfree_pg/Model/PayOrderRequestPaymentMethod.cs @@ -732,7 +733,6 @@ src/cashfree_pg/Model/TerminalTransactionEntity.cs src/cashfree_pg/Model/TerminateOrderRequest.cs src/cashfree_pg/Model/TransferDetails.cs src/cashfree_pg/Model/TransferDetailsTagsInner.cs -src/cashfree_pg/Model/UPI.cs src/cashfree_pg/Model/UPIAuthorizeDetails.cs src/cashfree_pg/Model/UPIPaymentMethod.cs src/cashfree_pg/Model/UpdateTerminalEntity.cs diff --git a/cashfree_pg.sln b/cashfree_pg.sln index 918a640..e0151d3 100644 --- a/cashfree_pg.sln +++ b/cashfree_pg.sln @@ -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", "{AAFD0A5A-5AA0-4CC9-AABF-93F34262F48C}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cashfree_pg", "src\cashfree_pg\cashfree_pg.csproj", "{8D1D63AE-C14F-439B-A8D2-8F334F0F6F75}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cashfree_pg.Test", "src\cashfree_pg.Test\cashfree_pg.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AAFD0A5A-5AA0-4CC9-AABF-93F34262F48C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AAFD0A5A-5AA0-4CC9-AABF-93F34262F48C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AAFD0A5A-5AA0-4CC9-AABF-93F34262F48C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AAFD0A5A-5AA0-4CC9-AABF-93F34262F48C}.Release|Any CPU.Build.0 = Release|Any CPU + {8D1D63AE-C14F-439B-A8D2-8F334F0F6F75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8D1D63AE-C14F-439B-A8D2-8F334F0F6F75}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8D1D63AE-C14F-439B-A8D2-8F334F0F6F75}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8D1D63AE-C14F-439B-A8D2-8F334F0F6F75}.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 diff --git a/docs/CreateSubscriptionPaymentRequestCard.md b/docs/CreateSubscriptionPaymentRequestCard.md new file mode 100644 index 0000000..71c7359 --- /dev/null +++ b/docs/CreateSubscriptionPaymentRequestCard.md @@ -0,0 +1,18 @@ +# cashfree_pg.Model.CreateSubscriptionPaymentRequestCard +payment method card. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**channel** | **string** | Channel. can be link | [optional] +**card_number** | **string** | Card number | [optional] +**card_holder_name** | **string** | Card holder name | [optional] +**card_expiry_mm** | **string** | Card expiry month | [optional] +**card_expiry_yy** | **string** | Card expiry year | [optional] +**card_cvv** | **string** | Card CVV | [optional] +**card_network** | **string** | Card network | [optional] +**card_type** | **string** | Card type | [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) + diff --git a/docs/CreateSubscriptionPaymentRequestEnack.md b/docs/CreateSubscriptionPaymentRequestEnack.md new file mode 100644 index 0000000..58f1d67 --- /dev/null +++ b/docs/CreateSubscriptionPaymentRequestEnack.md @@ -0,0 +1,17 @@ +# cashfree_pg.Model.CreateSubscriptionPaymentRequestEnack +payment method enach. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**channel** | **string** | Channel. can be link | [optional] +**auth_mode** | **string** | Authentication mode. can be debit_card, aadhaar, or net_banking | [optional] +**account_holder_name** | **string** | Account holder name | [optional] +**account_number** | **string** | Account number | [optional] +**account_bank_code** | **string** | Account bank code (required without AccountIFSC) | [optional] +**account_type** | **string** | Account type | [optional] +**account_ifsc** | **string** | Account IFSC | [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) + diff --git a/docs/CreateSubscriptionPaymentRequestPnach.md b/docs/CreateSubscriptionPaymentRequestPnach.md new file mode 100644 index 0000000..9cc8aa4 --- /dev/null +++ b/docs/CreateSubscriptionPaymentRequestPnach.md @@ -0,0 +1,18 @@ +# cashfree_pg.Model.CreateSubscriptionPaymentRequestPnach +payment method pnach. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**channel** | **string** | Channel. can be post | [optional] +**account_holder_name** | **string** | Account holder name | [optional] +**account_number** | **string** | Account number | [optional] +**account_bank_code** | **string** | Account bank code | [optional] +**account_type** | **string** | Account type | [optional] +**account_ifsc** | **string** | Account IFSC | [optional] +**mandate_creation_date** | **string** | Mandate creation date | [optional] +**mandate_start_date** | **string** | Mandate start date | [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) + diff --git a/docs/CreateSubscriptonPaymentRequestUpi.md b/docs/CreateSubscriptonPaymentRequestUpi.md new file mode 100644 index 0000000..d83a73b --- /dev/null +++ b/docs/CreateSubscriptonPaymentRequestUpi.md @@ -0,0 +1,12 @@ +# cashfree_pg.Model.CreateSubscriptonPaymentRequestUpi +payment method upi. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**upi_id** | **string** | | [optional] +**channel** | **string** | Channel. can be link, qrcode, or collect | [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) + diff --git a/src/cashfree_pg/Client/ApiClient.cs b/src/cashfree_pg/Client/ApiClient.cs index 71b2988..18c8315 100644 --- a/src/cashfree_pg/Client/ApiClient.cs +++ b/src/cashfree_pg/Client/ApiClient.cs @@ -157,7 +157,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -246,7 +246,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/customers", localVarRequestOptions, config); @@ -295,7 +295,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -385,7 +385,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/easy-split/vendors/{vendor_id}/transfer", localVarRequestOptions, config); @@ -433,7 +433,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -518,7 +518,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/easy-split/vendors", localVarRequestOptions, config); @@ -567,7 +567,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -660,7 +660,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/easy-split/vendor-docs/{vendor_id}/download/{doc_type}", localVarRequestOptions, config); @@ -708,7 +708,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -796,7 +796,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/easy-split/vendors/{vendor_id}", localVarRequestOptions, config); @@ -844,7 +844,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -932,7 +932,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/easy-split/vendors/{vendor_id}/balances", localVarRequestOptions, config); @@ -981,7 +981,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1070,7 +1070,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/easy-split/amount/{amount}/charges", localVarRequestOptions, config); @@ -1118,7 +1118,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1206,7 +1206,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/easy-split/vendor-docs/{vendor_id}", localVarRequestOptions, config); @@ -1254,7 +1254,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1339,7 +1339,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/split/order/vendor/recon", localVarRequestOptions, config); @@ -1388,7 +1388,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1478,7 +1478,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Patch("/easy-split/vendors/{vendor_id}", localVarRequestOptions, config); @@ -1529,7 +1529,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1630,7 +1630,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/easy-split/vendor-docs/{vendor_id}", localVarRequestOptions, config); @@ -1679,7 +1679,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1769,7 +1769,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/easy-split/orders/{order_id}/split", localVarRequestOptions, config); @@ -1817,7 +1817,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1902,7 +1902,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/easy-split/static-split", localVarRequestOptions, config); @@ -1950,7 +1950,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2039,7 +2039,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/cardlessemi", localVarRequestOptions, config); @@ -2087,7 +2087,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2176,7 +2176,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/offers", localVarRequestOptions, config); @@ -2224,7 +2224,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2313,7 +2313,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/paylater", localVarRequestOptions, config); @@ -2361,7 +2361,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2450,7 +2450,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/payment_methods", localVarRequestOptions, config); @@ -2498,7 +2498,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2587,7 +2587,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/offers", localVarRequestOptions, config); @@ -2635,7 +2635,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2723,7 +2723,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/offers/{offer_id}", localVarRequestOptions, config); @@ -2771,7 +2771,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2860,7 +2860,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/orders", localVarRequestOptions, config); @@ -2908,7 +2908,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2996,7 +2996,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}", localVarRequestOptions, config); @@ -3045,7 +3045,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3139,7 +3139,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Patch("/orders/{order_id}", localVarRequestOptions, config); @@ -3189,7 +3189,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3286,7 +3286,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/recon", localVarRequestOptions, config); @@ -3334,7 +3334,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3422,7 +3422,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/links/{link_id}/cancel", localVarRequestOptions, config); @@ -3470,7 +3470,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3559,7 +3559,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/links", localVarRequestOptions, config); @@ -3607,7 +3607,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3695,7 +3695,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/links/{link_id}", localVarRequestOptions, config); @@ -3744,7 +3744,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3836,7 +3836,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get>("/links/{link_id}/orders", localVarRequestOptions, config); @@ -3885,7 +3885,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3979,7 +3979,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/{order_id}/authorization", localVarRequestOptions, config); @@ -4028,7 +4028,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -4107,7 +4107,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/pay/authenticate/{cf_payment_id}", localVarRequestOptions, config); @@ -4156,7 +4156,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -4249,7 +4249,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}/payments/{cf_payment_id}", localVarRequestOptions, config); @@ -4297,7 +4297,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -4385,7 +4385,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get>("/orders/{order_id}/payments", localVarRequestOptions, config); @@ -4433,7 +4433,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -4507,7 +4507,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/sessions", localVarRequestOptions, config); @@ -4556,7 +4556,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -4650,7 +4650,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/{order_id}/refunds", localVarRequestOptions, config); @@ -4699,7 +4699,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -4792,7 +4792,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}/refunds/{refund_id}", localVarRequestOptions, config); @@ -4840,7 +4840,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -4928,7 +4928,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get>("/orders/{order_id}/refunds", localVarRequestOptions, config); @@ -4978,7 +4978,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -5075,7 +5075,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/settlements", localVarRequestOptions, config); @@ -5125,7 +5125,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -5222,7 +5222,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/settlement/recon", localVarRequestOptions, config); @@ -5270,7 +5270,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -5355,7 +5355,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/settlements", localVarRequestOptions, config); @@ -5403,7 +5403,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -5491,7 +5491,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}/settlements", localVarRequestOptions, config); @@ -5539,7 +5539,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -5627,7 +5627,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/simulate/{simulation_id}", localVarRequestOptions, config); @@ -5675,7 +5675,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -5764,7 +5764,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/simulate", localVarRequestOptions, config); @@ -5812,7 +5812,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -5901,7 +5901,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/terminal", localVarRequestOptions, config); @@ -5949,7 +5949,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -6038,7 +6038,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/terminal/transactions", localVarRequestOptions, config); @@ -6086,7 +6086,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -6174,7 +6174,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/terminal/{terminal_phone_no}", localVarRequestOptions, config); @@ -6223,7 +6223,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -6316,7 +6316,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get>("/terminal/qrcodes", localVarRequestOptions, config); @@ -6365,7 +6365,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -6458,7 +6458,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/terminal/{cf_terminal_id}/payments", localVarRequestOptions, config); @@ -6507,7 +6507,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -6601,7 +6601,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Patch>("/terminal/{cf_terminal_id}", localVarRequestOptions, config); @@ -6650,7 +6650,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -6744,7 +6744,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Patch>("/terminal/{cf_terminal_id}/status", localVarRequestOptions, config); @@ -6793,7 +6793,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -6887,7 +6887,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post>("/terminal/{cf_terminal_id}/docs", localVarRequestOptions, config); @@ -6935,7 +6935,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -7024,7 +7024,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/subscriptions/pay", localVarRequestOptions, config); @@ -7072,7 +7072,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -7161,7 +7161,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/plans", localVarRequestOptions, config); @@ -7210,7 +7210,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -7304,7 +7304,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/subscriptions/{subscription_id}/refunds", localVarRequestOptions, config); @@ -7352,7 +7352,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -7441,7 +7441,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/subscriptions", localVarRequestOptions, config); @@ -7489,7 +7489,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -7577,7 +7577,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/plans/{plan_id}", localVarRequestOptions, config); @@ -7625,7 +7625,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -7713,7 +7713,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/subscriptions/{subscription_id}", localVarRequestOptions, config); @@ -7762,7 +7762,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -7855,7 +7855,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/subscriptions/{subscription_id}/payments/{payment_id}", localVarRequestOptions, config); @@ -7903,7 +7903,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -7991,7 +7991,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get>("/subscriptions/{subscription_id}/payments", localVarRequestOptions, config); @@ -8040,7 +8040,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -8133,7 +8133,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/subscriptions/{subscription_id}/refunds/{refund_id}", localVarRequestOptions, config); @@ -8182,7 +8182,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -8276,7 +8276,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/subscriptions/{subscription_id}/manage", localVarRequestOptions, config); @@ -8326,7 +8326,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -8425,7 +8425,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/subscriptions/{subscription_id}/payments/{payment_id}/manage", localVarRequestOptions, config); @@ -8476,7 +8476,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -8580,7 +8580,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/subscriptions/pay/documents/{payment_id}", localVarRequestOptions, config); @@ -8628,7 +8628,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -8717,7 +8717,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Post("/subscriptions/eligibility/payment_methods", localVarRequestOptions, config); @@ -8766,7 +8766,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -8859,7 +8859,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Delete("/customers/{customer_id}/instruments/{instrument_id}", localVarRequestOptions, config); @@ -8908,7 +8908,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -9001,7 +9001,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/customers/{customer_id}/instruments/{instrument_id}", localVarRequestOptions, config); @@ -9050,7 +9050,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -9143,7 +9143,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get>("/customers/{customer_id}/instruments", localVarRequestOptions, config); @@ -9192,7 +9192,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "4.2.2"; + o.Release = "4.2.3"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -9285,7 +9285,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.2"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-4.2.3"); // make the HTTP request var localVarResponse = this.Client.Get("/customers/{customer_id}/instruments/{instrument_id}/cryptogram", localVarRequestOptions, config); diff --git a/src/cashfree_pg/Client/Configuration.cs b/src/cashfree_pg/Client/Configuration.cs index 054ca1e..b38d7ea 100644 --- a/src/cashfree_pg/Client/Configuration.cs +++ b/src/cashfree_pg/Client/Configuration.cs @@ -34,7 +34,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "4.2.2"; + public const string Version = "4.2.3"; /// /// Identifier for ISO 8601 DateTime Format @@ -113,7 +113,7 @@ public class Configuration : IReadableConfiguration public Configuration() { Proxy = null; - UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/4.2.2/csharp"); + UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/4.2.3/csharp"); BasePath = "https://sandbox.cashfree.com/pg"; DefaultHeaders = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -542,7 +542,7 @@ public static string ToDebugReport() report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; report += " Version of the API: 2023-08-01\n"; - report += " SDK Package Version: 4.2.2\n"; + report += " SDK Package Version: 4.2.3\n"; return report; } diff --git a/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestCard.cs b/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestCard.cs new file mode 100644 index 0000000..5b4ec32 --- /dev/null +++ b/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestCard.cs @@ -0,0 +1,271 @@ +/* + * Cashfree Payment Gateway APIs + * + * Cashfree's Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites. + * + * The version of the OpenAPI document: 2023-08-01 + * Contact: developers@cashfree.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = cashfree_pg.Client.OpenAPIDateConverter; + +namespace cashfree_pg.Model +{ + /// + /// payment method card. + /// + [DataContract(Name = "CreateSubscriptionPaymentRequestCard")] + public class CreateSubscriptionPaymentRequestCard : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Channel. can be link. + /// Card number. + /// Card holder name. + /// Card expiry month. + /// Card expiry year. + /// Card CVV. + /// Card network. + /// Card type. + public CreateSubscriptionPaymentRequestCard(string? channel = default(string?), string? cardNumber = default(string?), string? cardHolderName = default(string?), string? cardExpiryMm = default(string?), string? cardExpiryYy = default(string?), string? cardCvv = default(string?), string? cardNetwork = default(string?), string? cardType = default(string?)) + { + this.channel = channel; + this.card_number = cardNumber; + this.card_holder_name = cardHolderName; + this.card_expiry_mm = cardExpiryMm; + this.card_expiry_yy = cardExpiryYy; + this.card_cvv = cardCvv; + this.card_network = cardNetwork; + this.card_type = cardType; + } + + /// + /// Channel. can be link + /// + /// Channel. can be link + [DataMember(Name = "channel", EmitDefaultValue = false)] + public string? channel { get; set; } + + /// + /// Card number + /// + /// Card number + [DataMember(Name = "card_number", EmitDefaultValue = false)] + public string? card_number { get; set; } + + /// + /// Card holder name + /// + /// Card holder name + [DataMember(Name = "card_holder_name", EmitDefaultValue = false)] + public string? card_holder_name { get; set; } + + /// + /// Card expiry month + /// + /// Card expiry month + [DataMember(Name = "card_expiry_mm", EmitDefaultValue = false)] + public string? card_expiry_mm { get; set; } + + /// + /// Card expiry year + /// + /// Card expiry year + [DataMember(Name = "card_expiry_yy", EmitDefaultValue = false)] + public string? card_expiry_yy { get; set; } + + /// + /// Card CVV + /// + /// Card CVV + [DataMember(Name = "card_cvv", EmitDefaultValue = false)] + public string? card_cvv { get; set; } + + /// + /// Card network + /// + /// Card network + [DataMember(Name = "card_network", EmitDefaultValue = false)] + public string? card_network { get; set; } + + /// + /// Card type + /// + /// Card type + [DataMember(Name = "card_type", EmitDefaultValue = false)] + public string? card_type { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class CreateSubscriptionPaymentRequestCard {\n"); + sb.Append(" channel: ").Append(channel).Append("\n"); + sb.Append(" card_number: ").Append(card_number).Append("\n"); + sb.Append(" card_holder_name: ").Append(card_holder_name).Append("\n"); + sb.Append(" card_expiry_mm: ").Append(card_expiry_mm).Append("\n"); + sb.Append(" card_expiry_yy: ").Append(card_expiry_yy).Append("\n"); + sb.Append(" card_cvv: ").Append(card_cvv).Append("\n"); + sb.Append(" card_network: ").Append(card_network).Append("\n"); + sb.Append(" card_type: ").Append(card_type).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as CreateSubscriptionPaymentRequestCard); + } + + /// + /// Returns true if CreateSubscriptionPaymentRequestCard instances are equal + /// + /// Instance of CreateSubscriptionPaymentRequestCard to be compared + /// Boolean + public bool Equals(CreateSubscriptionPaymentRequestCard input) + { + if (input == null) + { + return false; + } + return + ( + this.channel == input.channel || + (this.channel != null && + this.channel.Equals(input.channel)) + ) && + ( + this.card_number == input.card_number || + (this.card_number != null && + this.card_number.Equals(input.card_number)) + ) && + ( + this.card_holder_name == input.card_holder_name || + (this.card_holder_name != null && + this.card_holder_name.Equals(input.card_holder_name)) + ) && + ( + this.card_expiry_mm == input.card_expiry_mm || + (this.card_expiry_mm != null && + this.card_expiry_mm.Equals(input.card_expiry_mm)) + ) && + ( + this.card_expiry_yy == input.card_expiry_yy || + (this.card_expiry_yy != null && + this.card_expiry_yy.Equals(input.card_expiry_yy)) + ) && + ( + this.card_cvv == input.card_cvv || + (this.card_cvv != null && + this.card_cvv.Equals(input.card_cvv)) + ) && + ( + this.card_network == input.card_network || + (this.card_network != null && + this.card_network.Equals(input.card_network)) + ) && + ( + this.card_type == input.card_type || + (this.card_type != null && + this.card_type.Equals(input.card_type)) + ); + } + + public static Boolean checkPresenceOfKey(string jsonStringchannel) { + dynamic deserializedJsonString = JsonConvert.DeserializeObject(jsonStringchannel); + if (deserializedJsonString.ContainsKey("channel")) { + return true; + } + return false; + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.channel != null) + { + hashCode = (hashCode * 59) + this.channel.GetHashCode(); + } + if (this.card_number != null) + { + hashCode = (hashCode * 59) + this.card_number.GetHashCode(); + } + if (this.card_holder_name != null) + { + hashCode = (hashCode * 59) + this.card_holder_name.GetHashCode(); + } + if (this.card_expiry_mm != null) + { + hashCode = (hashCode * 59) + this.card_expiry_mm.GetHashCode(); + } + if (this.card_expiry_yy != null) + { + hashCode = (hashCode * 59) + this.card_expiry_yy.GetHashCode(); + } + if (this.card_cvv != null) + { + hashCode = (hashCode * 59) + this.card_cvv.GetHashCode(); + } + if (this.card_network != null) + { + hashCode = (hashCode * 59) + this.card_network.GetHashCode(); + } + if (this.card_type != null) + { + hashCode = (hashCode * 59) + this.card_type.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestEnack.cs b/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestEnack.cs new file mode 100644 index 0000000..a498ca6 --- /dev/null +++ b/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestEnack.cs @@ -0,0 +1,252 @@ +/* + * Cashfree Payment Gateway APIs + * + * Cashfree's Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites. + * + * The version of the OpenAPI document: 2023-08-01 + * Contact: developers@cashfree.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = cashfree_pg.Client.OpenAPIDateConverter; + +namespace cashfree_pg.Model +{ + /// + /// payment method enach. + /// + [DataContract(Name = "CreateSubscriptionPaymentRequestEnack")] + public class CreateSubscriptionPaymentRequestEnack : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Channel. can be link. + /// Authentication mode. can be debit_card, aadhaar, or net_banking. + /// Account holder name. + /// Account number. + /// Account bank code (required without AccountIFSC). + /// Account type. + /// Account IFSC. + public CreateSubscriptionPaymentRequestEnack(string? channel = default(string?), string? authMode = default(string?), string? accountHolderName = default(string?), string? accountNumber = default(string?), string? accountBankCode = default(string?), string? accountType = default(string?), string? accountIfsc = default(string?)) + { + this.channel = channel; + this.auth_mode = authMode; + this.account_holder_name = accountHolderName; + this.account_number = accountNumber; + this.account_bank_code = accountBankCode; + this.account_type = accountType; + this.account_ifsc = accountIfsc; + } + + /// + /// Channel. can be link + /// + /// Channel. can be link + [DataMember(Name = "channel", EmitDefaultValue = false)] + public string? channel { get; set; } + + /// + /// Authentication mode. can be debit_card, aadhaar, or net_banking + /// + /// Authentication mode. can be debit_card, aadhaar, or net_banking + [DataMember(Name = "auth_mode", EmitDefaultValue = false)] + public string? auth_mode { get; set; } + + /// + /// Account holder name + /// + /// Account holder name + [DataMember(Name = "account_holder_name", EmitDefaultValue = false)] + public string? account_holder_name { get; set; } + + /// + /// Account number + /// + /// Account number + [DataMember(Name = "account_number", EmitDefaultValue = false)] + public string? account_number { get; set; } + + /// + /// Account bank code (required without AccountIFSC) + /// + /// Account bank code (required without AccountIFSC) + [DataMember(Name = "account_bank_code", EmitDefaultValue = false)] + public string? account_bank_code { get; set; } + + /// + /// Account type + /// + /// Account type + [DataMember(Name = "account_type", EmitDefaultValue = false)] + public string? account_type { get; set; } + + /// + /// Account IFSC + /// + /// Account IFSC + [DataMember(Name = "account_ifsc", EmitDefaultValue = false)] + public string? account_ifsc { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class CreateSubscriptionPaymentRequestEnack {\n"); + sb.Append(" channel: ").Append(channel).Append("\n"); + sb.Append(" auth_mode: ").Append(auth_mode).Append("\n"); + sb.Append(" account_holder_name: ").Append(account_holder_name).Append("\n"); + sb.Append(" account_number: ").Append(account_number).Append("\n"); + sb.Append(" account_bank_code: ").Append(account_bank_code).Append("\n"); + sb.Append(" account_type: ").Append(account_type).Append("\n"); + sb.Append(" account_ifsc: ").Append(account_ifsc).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as CreateSubscriptionPaymentRequestEnack); + } + + /// + /// Returns true if CreateSubscriptionPaymentRequestEnack instances are equal + /// + /// Instance of CreateSubscriptionPaymentRequestEnack to be compared + /// Boolean + public bool Equals(CreateSubscriptionPaymentRequestEnack input) + { + if (input == null) + { + return false; + } + return + ( + this.channel == input.channel || + (this.channel != null && + this.channel.Equals(input.channel)) + ) && + ( + this.auth_mode == input.auth_mode || + (this.auth_mode != null && + this.auth_mode.Equals(input.auth_mode)) + ) && + ( + this.account_holder_name == input.account_holder_name || + (this.account_holder_name != null && + this.account_holder_name.Equals(input.account_holder_name)) + ) && + ( + this.account_number == input.account_number || + (this.account_number != null && + this.account_number.Equals(input.account_number)) + ) && + ( + this.account_bank_code == input.account_bank_code || + (this.account_bank_code != null && + this.account_bank_code.Equals(input.account_bank_code)) + ) && + ( + this.account_type == input.account_type || + (this.account_type != null && + this.account_type.Equals(input.account_type)) + ) && + ( + this.account_ifsc == input.account_ifsc || + (this.account_ifsc != null && + this.account_ifsc.Equals(input.account_ifsc)) + ); + } + + public static Boolean checkPresenceOfKey(string jsonStringchannel) { + dynamic deserializedJsonString = JsonConvert.DeserializeObject(jsonStringchannel); + if (deserializedJsonString.ContainsKey("channel")) { + return true; + } + return false; + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.channel != null) + { + hashCode = (hashCode * 59) + this.channel.GetHashCode(); + } + if (this.auth_mode != null) + { + hashCode = (hashCode * 59) + this.auth_mode.GetHashCode(); + } + if (this.account_holder_name != null) + { + hashCode = (hashCode * 59) + this.account_holder_name.GetHashCode(); + } + if (this.account_number != null) + { + hashCode = (hashCode * 59) + this.account_number.GetHashCode(); + } + if (this.account_bank_code != null) + { + hashCode = (hashCode * 59) + this.account_bank_code.GetHashCode(); + } + if (this.account_type != null) + { + hashCode = (hashCode * 59) + this.account_type.GetHashCode(); + } + if (this.account_ifsc != null) + { + hashCode = (hashCode * 59) + this.account_ifsc.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestPaymentMethod.cs b/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestPaymentMethod.cs index e2415bc..917db3c 100644 --- a/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestPaymentMethod.cs +++ b/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestPaymentMethod.cs @@ -36,10 +36,10 @@ public class CreateSubscriptionPaymentRequestPaymentMethod : AbstractOpenAPISche { /// /// Initializes a new instance of the class - /// with the class + /// with the class /// - /// An instance of UPI. - public CreateSubscriptionPaymentRequestPaymentMethod(UPI actualInstance) + /// An instance of CreateSubscriptonPaymentRequestUpi. + public CreateSubscriptionPaymentRequestPaymentMethod(CreateSubscriptonPaymentRequestUpi actualInstance) { this.IsNullable = false; this.SchemaType= "oneOf"; @@ -48,10 +48,10 @@ public CreateSubscriptionPaymentRequestPaymentMethod(UPI actualInstance) /// /// Initializes a new instance of the class - /// with the class + /// with the class /// - /// An instance of ENACH. - public CreateSubscriptionPaymentRequestPaymentMethod(ENACH actualInstance) + /// An instance of CreateSubscriptionPaymentRequestEnack. + public CreateSubscriptionPaymentRequestPaymentMethod(CreateSubscriptionPaymentRequestEnack actualInstance) { this.IsNullable = false; this.SchemaType= "oneOf"; @@ -60,10 +60,10 @@ public CreateSubscriptionPaymentRequestPaymentMethod(ENACH actualInstance) /// /// Initializes a new instance of the class - /// with the class + /// with the class /// - /// An instance of PNACH. - public CreateSubscriptionPaymentRequestPaymentMethod(PNACH actualInstance) + /// An instance of CreateSubscriptionPaymentRequestPnach. + public CreateSubscriptionPaymentRequestPaymentMethod(CreateSubscriptionPaymentRequestPnach actualInstance) { this.IsNullable = false; this.SchemaType= "oneOf"; @@ -72,10 +72,10 @@ public CreateSubscriptionPaymentRequestPaymentMethod(PNACH actualInstance) /// /// Initializes a new instance of the class - /// with the class + /// with the class /// - /// An instance of CARD. - public CreateSubscriptionPaymentRequestPaymentMethod(CARD actualInstance) + /// An instance of CreateSubscriptionPaymentRequestCard. + public CreateSubscriptionPaymentRequestPaymentMethod(CreateSubscriptionPaymentRequestCard actualInstance) { this.IsNullable = false; this.SchemaType= "oneOf"; @@ -96,67 +96,67 @@ public override Object ActualInstance } set { - if (value.GetType() == typeof(CARD)) + if (value.GetType() == typeof(CreateSubscriptionPaymentRequestCard)) { this._actualInstance = value; } - else if (value.GetType() == typeof(ENACH)) + else if (value.GetType() == typeof(CreateSubscriptionPaymentRequestEnack)) { this._actualInstance = value; } - else if (value.GetType() == typeof(PNACH)) + else if (value.GetType() == typeof(CreateSubscriptionPaymentRequestPnach)) { this._actualInstance = value; } - else if (value.GetType() == typeof(UPI)) + else if (value.GetType() == typeof(CreateSubscriptonPaymentRequestUpi)) { this._actualInstance = value; } else { - throw new ArgumentException("Invalid instance found. Must be the following types: CARD, ENACH, PNACH, UPI"); + throw new ArgumentException("Invalid instance found. Must be the following types: CreateSubscriptionPaymentRequestCard, CreateSubscriptionPaymentRequestEnack, CreateSubscriptionPaymentRequestPnach, CreateSubscriptonPaymentRequestUpi"); } } } /// - /// Get the actual instance of `UPI`. If the actual instance is not `UPI`, + /// Get the actual instance of `CreateSubscriptonPaymentRequestUpi`. If the actual instance is not `CreateSubscriptonPaymentRequestUpi`, /// the InvalidClassException will be thrown /// - /// An instance of UPI - public UPI GetUPI() + /// An instance of CreateSubscriptonPaymentRequestUpi + public CreateSubscriptonPaymentRequestUpi GetCreateSubscriptonPaymentRequestUpi() { - return (UPI)this.ActualInstance; + return (CreateSubscriptonPaymentRequestUpi)this.ActualInstance; } /// - /// Get the actual instance of `ENACH`. If the actual instance is not `ENACH`, + /// Get the actual instance of `CreateSubscriptionPaymentRequestEnack`. If the actual instance is not `CreateSubscriptionPaymentRequestEnack`, /// the InvalidClassException will be thrown /// - /// An instance of ENACH - public ENACH GetENACH() + /// An instance of CreateSubscriptionPaymentRequestEnack + public CreateSubscriptionPaymentRequestEnack GetCreateSubscriptionPaymentRequestEnack() { - return (ENACH)this.ActualInstance; + return (CreateSubscriptionPaymentRequestEnack)this.ActualInstance; } /// - /// Get the actual instance of `PNACH`. If the actual instance is not `PNACH`, + /// Get the actual instance of `CreateSubscriptionPaymentRequestPnach`. If the actual instance is not `CreateSubscriptionPaymentRequestPnach`, /// the InvalidClassException will be thrown /// - /// An instance of PNACH - public PNACH GetPNACH() + /// An instance of CreateSubscriptionPaymentRequestPnach + public CreateSubscriptionPaymentRequestPnach GetCreateSubscriptionPaymentRequestPnach() { - return (PNACH)this.ActualInstance; + return (CreateSubscriptionPaymentRequestPnach)this.ActualInstance; } /// - /// Get the actual instance of `CARD`. If the actual instance is not `CARD`, + /// Get the actual instance of `CreateSubscriptionPaymentRequestCard`. If the actual instance is not `CreateSubscriptionPaymentRequestCard`, /// the InvalidClassException will be thrown /// - /// An instance of CARD - public CARD GetCARD() + /// An instance of CreateSubscriptionPaymentRequestCard + public CreateSubscriptionPaymentRequestCard GetCreateSubscriptionPaymentRequestCard() { - return (CARD)this.ActualInstance; + return (CreateSubscriptionPaymentRequestCard)this.ActualInstance; } /// @@ -199,110 +199,110 @@ public static CreateSubscriptionPaymentRequestPaymentMethod FromJson(string json try { // if it does not contains "AdditionalProperties", use SerializerSettings to deserialize - if (typeof(CARD).GetProperty("AdditionalProperties") == null) + if (typeof(CreateSubscriptionPaymentRequestCard).GetProperty("AdditionalProperties") == null) { - if(CARD.checkPresenceOfKey(jsonString)) { - dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); + if(CreateSubscriptionPaymentRequestCard.checkPresenceOfKey(jsonString)) { + dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); newCreateSubscriptionPaymentRequestPaymentMethod = new CreateSubscriptionPaymentRequestPaymentMethod(data); return newCreateSubscriptionPaymentRequestPaymentMethod; } } else { - if(CARD.checkPresenceOfKey(jsonString)) { - dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); + if(CreateSubscriptionPaymentRequestCard.checkPresenceOfKey(jsonString)) { + dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); newCreateSubscriptionPaymentRequestPaymentMethod = new CreateSubscriptionPaymentRequestPaymentMethod(data); return newCreateSubscriptionPaymentRequestPaymentMethod; } } - matchedTypes.Add("CARD"); + matchedTypes.Add("CreateSubscriptionPaymentRequestCard"); match++; } catch (Exception exception) { // deserialization failed, try the next one - System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into CARD: {1}", jsonString, exception.ToString())); + System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into CreateSubscriptionPaymentRequestCard: {1}", jsonString, exception.ToString())); } try { // if it does not contains "AdditionalProperties", use SerializerSettings to deserialize - if (typeof(ENACH).GetProperty("AdditionalProperties") == null) + if (typeof(CreateSubscriptionPaymentRequestEnack).GetProperty("AdditionalProperties") == null) { - if(ENACH.checkPresenceOfKey(jsonString)) { - dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); + if(CreateSubscriptionPaymentRequestEnack.checkPresenceOfKey(jsonString)) { + dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); newCreateSubscriptionPaymentRequestPaymentMethod = new CreateSubscriptionPaymentRequestPaymentMethod(data); return newCreateSubscriptionPaymentRequestPaymentMethod; } } else { - if(ENACH.checkPresenceOfKey(jsonString)) { - dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); + if(CreateSubscriptionPaymentRequestEnack.checkPresenceOfKey(jsonString)) { + dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); newCreateSubscriptionPaymentRequestPaymentMethod = new CreateSubscriptionPaymentRequestPaymentMethod(data); return newCreateSubscriptionPaymentRequestPaymentMethod; } } - matchedTypes.Add("ENACH"); + matchedTypes.Add("CreateSubscriptionPaymentRequestEnack"); match++; } catch (Exception exception) { // deserialization failed, try the next one - System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into ENACH: {1}", jsonString, exception.ToString())); + System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into CreateSubscriptionPaymentRequestEnack: {1}", jsonString, exception.ToString())); } try { // if it does not contains "AdditionalProperties", use SerializerSettings to deserialize - if (typeof(PNACH).GetProperty("AdditionalProperties") == null) + if (typeof(CreateSubscriptionPaymentRequestPnach).GetProperty("AdditionalProperties") == null) { - if(PNACH.checkPresenceOfKey(jsonString)) { - dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); + if(CreateSubscriptionPaymentRequestPnach.checkPresenceOfKey(jsonString)) { + dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); newCreateSubscriptionPaymentRequestPaymentMethod = new CreateSubscriptionPaymentRequestPaymentMethod(data); return newCreateSubscriptionPaymentRequestPaymentMethod; } } else { - if(PNACH.checkPresenceOfKey(jsonString)) { - dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); + if(CreateSubscriptionPaymentRequestPnach.checkPresenceOfKey(jsonString)) { + dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); newCreateSubscriptionPaymentRequestPaymentMethod = new CreateSubscriptionPaymentRequestPaymentMethod(data); return newCreateSubscriptionPaymentRequestPaymentMethod; } } - matchedTypes.Add("PNACH"); + matchedTypes.Add("CreateSubscriptionPaymentRequestPnach"); match++; } catch (Exception exception) { // deserialization failed, try the next one - System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into PNACH: {1}", jsonString, exception.ToString())); + System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into CreateSubscriptionPaymentRequestPnach: {1}", jsonString, exception.ToString())); } try { // if it does not contains "AdditionalProperties", use SerializerSettings to deserialize - if (typeof(UPI).GetProperty("AdditionalProperties") == null) + if (typeof(CreateSubscriptonPaymentRequestUpi).GetProperty("AdditionalProperties") == null) { - if(UPI.checkPresenceOfKey(jsonString)) { - dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); + if(CreateSubscriptonPaymentRequestUpi.checkPresenceOfKey(jsonString)) { + dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); newCreateSubscriptionPaymentRequestPaymentMethod = new CreateSubscriptionPaymentRequestPaymentMethod(data); return newCreateSubscriptionPaymentRequestPaymentMethod; } } else { - if(UPI.checkPresenceOfKey(jsonString)) { - dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); + if(CreateSubscriptonPaymentRequestUpi.checkPresenceOfKey(jsonString)) { + dynamic data = JsonConvert.DeserializeObject(jsonString, CreateSubscriptionPaymentRequestPaymentMethod.AdditionalPropertiesSerializerSettings); newCreateSubscriptionPaymentRequestPaymentMethod = new CreateSubscriptionPaymentRequestPaymentMethod(data); return newCreateSubscriptionPaymentRequestPaymentMethod; } } - matchedTypes.Add("UPI"); + matchedTypes.Add("CreateSubscriptonPaymentRequestUpi"); match++; } catch (Exception exception) { // deserialization failed, try the next one - System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into UPI: {1}", jsonString, exception.ToString())); + System.Diagnostics.Debug.WriteLine(string.Format("Failed to deserialize `{0}` into CreateSubscriptonPaymentRequestUpi: {1}", jsonString, exception.ToString())); } if (match == 0) diff --git a/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestPnach.cs b/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestPnach.cs new file mode 100644 index 0000000..9a9b3f0 --- /dev/null +++ b/src/cashfree_pg/Model/CreateSubscriptionPaymentRequestPnach.cs @@ -0,0 +1,271 @@ +/* + * Cashfree Payment Gateway APIs + * + * Cashfree's Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites. + * + * The version of the OpenAPI document: 2023-08-01 + * Contact: developers@cashfree.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = cashfree_pg.Client.OpenAPIDateConverter; + +namespace cashfree_pg.Model +{ + /// + /// payment method pnach. + /// + [DataContract(Name = "CreateSubscriptionPaymentRequestPnach")] + public class CreateSubscriptionPaymentRequestPnach : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Channel. can be post. + /// Account holder name. + /// Account number. + /// Account bank code. + /// Account type. + /// Account IFSC. + /// Mandate creation date. + /// Mandate start date. + public CreateSubscriptionPaymentRequestPnach(string? channel = default(string?), string? accountHolderName = default(string?), string? accountNumber = default(string?), string? accountBankCode = default(string?), string? accountType = default(string?), string? accountIfsc = default(string?), string? mandateCreationDate = default(string?), string? mandateStartDate = default(string?)) + { + this.channel = channel; + this.account_holder_name = accountHolderName; + this.account_number = accountNumber; + this.account_bank_code = accountBankCode; + this.account_type = accountType; + this.account_ifsc = accountIfsc; + this.mandate_creation_date = mandateCreationDate; + this.mandate_start_date = mandateStartDate; + } + + /// + /// Channel. can be post + /// + /// Channel. can be post + [DataMember(Name = "channel", EmitDefaultValue = false)] + public string? channel { get; set; } + + /// + /// Account holder name + /// + /// Account holder name + [DataMember(Name = "account_holder_name", EmitDefaultValue = false)] + public string? account_holder_name { get; set; } + + /// + /// Account number + /// + /// Account number + [DataMember(Name = "account_number", EmitDefaultValue = false)] + public string? account_number { get; set; } + + /// + /// Account bank code + /// + /// Account bank code + [DataMember(Name = "account_bank_code", EmitDefaultValue = false)] + public string? account_bank_code { get; set; } + + /// + /// Account type + /// + /// Account type + [DataMember(Name = "account_type", EmitDefaultValue = false)] + public string? account_type { get; set; } + + /// + /// Account IFSC + /// + /// Account IFSC + [DataMember(Name = "account_ifsc", EmitDefaultValue = false)] + public string? account_ifsc { get; set; } + + /// + /// Mandate creation date + /// + /// Mandate creation date + [DataMember(Name = "mandate_creation_date", EmitDefaultValue = false)] + public string? mandate_creation_date { get; set; } + + /// + /// Mandate start date + /// + /// Mandate start date + [DataMember(Name = "mandate_start_date", EmitDefaultValue = false)] + public string? mandate_start_date { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class CreateSubscriptionPaymentRequestPnach {\n"); + sb.Append(" channel: ").Append(channel).Append("\n"); + sb.Append(" account_holder_name: ").Append(account_holder_name).Append("\n"); + sb.Append(" account_number: ").Append(account_number).Append("\n"); + sb.Append(" account_bank_code: ").Append(account_bank_code).Append("\n"); + sb.Append(" account_type: ").Append(account_type).Append("\n"); + sb.Append(" account_ifsc: ").Append(account_ifsc).Append("\n"); + sb.Append(" mandate_creation_date: ").Append(mandate_creation_date).Append("\n"); + sb.Append(" mandate_start_date: ").Append(mandate_start_date).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as CreateSubscriptionPaymentRequestPnach); + } + + /// + /// Returns true if CreateSubscriptionPaymentRequestPnach instances are equal + /// + /// Instance of CreateSubscriptionPaymentRequestPnach to be compared + /// Boolean + public bool Equals(CreateSubscriptionPaymentRequestPnach input) + { + if (input == null) + { + return false; + } + return + ( + this.channel == input.channel || + (this.channel != null && + this.channel.Equals(input.channel)) + ) && + ( + this.account_holder_name == input.account_holder_name || + (this.account_holder_name != null && + this.account_holder_name.Equals(input.account_holder_name)) + ) && + ( + this.account_number == input.account_number || + (this.account_number != null && + this.account_number.Equals(input.account_number)) + ) && + ( + this.account_bank_code == input.account_bank_code || + (this.account_bank_code != null && + this.account_bank_code.Equals(input.account_bank_code)) + ) && + ( + this.account_type == input.account_type || + (this.account_type != null && + this.account_type.Equals(input.account_type)) + ) && + ( + this.account_ifsc == input.account_ifsc || + (this.account_ifsc != null && + this.account_ifsc.Equals(input.account_ifsc)) + ) && + ( + this.mandate_creation_date == input.mandate_creation_date || + (this.mandate_creation_date != null && + this.mandate_creation_date.Equals(input.mandate_creation_date)) + ) && + ( + this.mandate_start_date == input.mandate_start_date || + (this.mandate_start_date != null && + this.mandate_start_date.Equals(input.mandate_start_date)) + ); + } + + public static Boolean checkPresenceOfKey(string jsonStringchannel) { + dynamic deserializedJsonString = JsonConvert.DeserializeObject(jsonStringchannel); + if (deserializedJsonString.ContainsKey("channel")) { + return true; + } + return false; + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.channel != null) + { + hashCode = (hashCode * 59) + this.channel.GetHashCode(); + } + if (this.account_holder_name != null) + { + hashCode = (hashCode * 59) + this.account_holder_name.GetHashCode(); + } + if (this.account_number != null) + { + hashCode = (hashCode * 59) + this.account_number.GetHashCode(); + } + if (this.account_bank_code != null) + { + hashCode = (hashCode * 59) + this.account_bank_code.GetHashCode(); + } + if (this.account_type != null) + { + hashCode = (hashCode * 59) + this.account_type.GetHashCode(); + } + if (this.account_ifsc != null) + { + hashCode = (hashCode * 59) + this.account_ifsc.GetHashCode(); + } + if (this.mandate_creation_date != null) + { + hashCode = (hashCode * 59) + this.mandate_creation_date.GetHashCode(); + } + if (this.mandate_start_date != null) + { + hashCode = (hashCode * 59) + this.mandate_start_date.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/cashfree_pg/Model/CreateSubscriptonPaymentRequestUpi.cs b/src/cashfree_pg/Model/CreateSubscriptonPaymentRequestUpi.cs new file mode 100644 index 0000000..6fe7abd --- /dev/null +++ b/src/cashfree_pg/Model/CreateSubscriptonPaymentRequestUpi.cs @@ -0,0 +1,156 @@ +/* + * Cashfree Payment Gateway APIs + * + * Cashfree's Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites. + * + * The version of the OpenAPI document: 2023-08-01 + * Contact: developers@cashfree.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = cashfree_pg.Client.OpenAPIDateConverter; + +namespace cashfree_pg.Model +{ + /// + /// payment method upi. + /// + [DataContract(Name = "CreateSubscriptonPaymentRequestUpi")] + public class CreateSubscriptonPaymentRequestUpi : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// upiId. + /// Channel. can be link, qrcode, or collect. + public CreateSubscriptonPaymentRequestUpi(string? upiId = default(string?), string? channel = default(string?)) + { + this.upi_id = upiId; + this.channel = channel; + } + + /// + /// Gets or Sets upi_id + /// + [DataMember(Name = "upi_id", EmitDefaultValue = false)] + public string? upi_id { get; set; } + + /// + /// Channel. can be link, qrcode, or collect + /// + /// Channel. can be link, qrcode, or collect + [DataMember(Name = "channel", EmitDefaultValue = false)] + public string? channel { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class CreateSubscriptonPaymentRequestUpi {\n"); + sb.Append(" upi_id: ").Append(upi_id).Append("\n"); + sb.Append(" channel: ").Append(channel).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as CreateSubscriptonPaymentRequestUpi); + } + + /// + /// Returns true if CreateSubscriptonPaymentRequestUpi instances are equal + /// + /// Instance of CreateSubscriptonPaymentRequestUpi to be compared + /// Boolean + public bool Equals(CreateSubscriptonPaymentRequestUpi input) + { + if (input == null) + { + return false; + } + return + ( + this.upi_id == input.upi_id || + (this.upi_id != null && + this.upi_id.Equals(input.upi_id)) + ) && + ( + this.channel == input.channel || + (this.channel != null && + this.channel.Equals(input.channel)) + ); + } + + public static Boolean checkPresenceOfKey(string jsonStringupi_id) { + dynamic deserializedJsonString = JsonConvert.DeserializeObject(jsonStringupi_id); + if (deserializedJsonString.ContainsKey("upi_id")) { + return true; + } + return false; + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.upi_id != null) + { + hashCode = (hashCode * 59) + this.upi_id.GetHashCode(); + } + if (this.channel != null) + { + hashCode = (hashCode * 59) + this.channel.GetHashCode(); + } + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/cashfree_pg/cashfree_pg.csproj b/src/cashfree_pg/cashfree_pg.csproj index 6a80e61..6664ccc 100644 --- a/src/cashfree_pg/cashfree_pg.csproj +++ b/src/cashfree_pg/cashfree_pg.csproj @@ -12,7 +12,7 @@ Cashfree's Payment Gateway APIs provide developers with a streamlined pathway to integrate advanced payment processing capabilities into their applications, platforms and websites. © 2023 Cashfree Payments India Private Limited com.cashfree - 4.2.2 + 4.2.3 LICENSE.md bin\$(Configuration)\$(TargetFramework)\cashfree_pg.xml https://github.com/cashfree/cashfree-pg-sdk-dotnet.git