From 3a192d4e807e38f4ed97b4e476731c967a3a3fa2 Mon Sep 17 00:00:00 2001 From: bitbucket-pipelines Date: Fri, 12 Jan 2024 09:50:34 +0000 Subject: [PATCH] Generating .Net SDK. --- cashfree_pg.sln | 10 +- src/cashfree_pg/Client/ApiClient.cs | 130 ++++++++++++------------ src/cashfree_pg/Client/Configuration.cs | 6 +- src/cashfree_pg/cashfree_pg.csproj | 2 +- 4 files changed, 74 insertions(+), 74 deletions(-) diff --git a/cashfree_pg.sln b/cashfree_pg.sln index 71359dd..d734183 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", "{FCA6AA72-CADD-4448-BFEF-F24B852C98AF}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cashfree_pg", "src\cashfree_pg\cashfree_pg.csproj", "{F258172F-E7BD-4FF4-9E7F-6FC5BE78C860}" 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 - {FCA6AA72-CADD-4448-BFEF-F24B852C98AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FCA6AA72-CADD-4448-BFEF-F24B852C98AF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FCA6AA72-CADD-4448-BFEF-F24B852C98AF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FCA6AA72-CADD-4448-BFEF-F24B852C98AF}.Release|Any CPU.Build.0 = Release|Any CPU + {F258172F-E7BD-4FF4-9E7F-6FC5BE78C860}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F258172F-E7BD-4FF4-9E7F-6FC5BE78C860}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F258172F-E7BD-4FF4-9E7F-6FC5BE78C860}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F258172F-E7BD-4FF4-9E7F-6FC5BE78C860}.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/src/cashfree_pg/Client/ApiClient.cs b/src/cashfree_pg/Client/ApiClient.cs index ea54cef..800c925 100644 --- a/src/cashfree_pg/Client/ApiClient.cs +++ b/src/cashfree_pg/Client/ApiClient.cs @@ -122,7 +122,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, if (generatedSignature == signature) { dynamic deserializedRawBody = JsonConvert.DeserializeObject(rawBody); - return new PGWebhookEvent(deserializedRawBody["type"], rawBody, deserializedRawBody); + return new PGWebhookEvent(deserializedRawBody["type"] as String, rawBody, deserializedRawBody); } throw new Exception("Generated signature and received signature did not match."); } @@ -157,7 +157,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; 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-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/cardlessemi", localVarRequestOptions, config); @@ -294,7 +294,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -383,7 +383,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/offers", localVarRequestOptions, config); @@ -431,7 +431,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -520,7 +520,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/paylater", localVarRequestOptions, config); @@ -568,7 +568,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -657,7 +657,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/payment_methods", localVarRequestOptions, config); @@ -705,7 +705,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -794,7 +794,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/offers", localVarRequestOptions, config); @@ -842,7 +842,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -930,7 +930,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get("/offers/{offer_id}", localVarRequestOptions, config); @@ -978,7 +978,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1067,7 +1067,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/orders", localVarRequestOptions, config); @@ -1115,7 +1115,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1203,7 +1203,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}", localVarRequestOptions, config); @@ -1253,7 +1253,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1350,7 +1350,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/recon", localVarRequestOptions, config); @@ -1398,7 +1398,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1486,7 +1486,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/links/{link_id}/cancel", localVarRequestOptions, config); @@ -1534,7 +1534,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1623,7 +1623,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/links", localVarRequestOptions, config); @@ -1671,7 +1671,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1759,7 +1759,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get("/links/{link_id}", localVarRequestOptions, config); @@ -1807,7 +1807,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -1895,7 +1895,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get>("/links/{link_id}/orders", localVarRequestOptions, config); @@ -1944,7 +1944,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2038,7 +2038,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/{order_id}/authorization", localVarRequestOptions, config); @@ -2087,7 +2087,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2166,7 +2166,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/pay/authenticate/{cf_payment_id}", localVarRequestOptions, config); @@ -2215,7 +2215,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2308,7 +2308,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}/payments/{cf_payment_id}", localVarRequestOptions, config); @@ -2356,7 +2356,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2444,7 +2444,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get>("/orders/{order_id}/payments", localVarRequestOptions, config); @@ -2492,7 +2492,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2566,7 +2566,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/sessions", localVarRequestOptions, config); @@ -2615,7 +2615,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2709,7 +2709,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/{order_id}/refunds", localVarRequestOptions, config); @@ -2758,7 +2758,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2851,7 +2851,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}/refunds/{refund_id}", localVarRequestOptions, config); @@ -2899,7 +2899,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -2987,7 +2987,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get>("/orders/{order_id}/refunds", localVarRequestOptions, config); @@ -3037,7 +3037,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3134,7 +3134,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/settlements", localVarRequestOptions, config); @@ -3184,7 +3184,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3281,7 +3281,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/settlement/recon", localVarRequestOptions, config); @@ -3329,7 +3329,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3417,7 +3417,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}/settlements", localVarRequestOptions, config); @@ -3465,7 +3465,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3554,7 +3554,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/terminal", localVarRequestOptions, config); @@ -3602,7 +3602,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3691,7 +3691,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Post("/terminal/transactions", localVarRequestOptions, config); @@ -3739,7 +3739,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3827,7 +3827,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get("/terminal/{terminal_phone_no}", localVarRequestOptions, config); @@ -3876,7 +3876,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -3969,7 +3969,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get>("/terminal/qrcodes", localVarRequestOptions, config); @@ -4018,7 +4018,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -4111,7 +4111,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Delete("/customers/{customer_id}/instruments/{instrument_id}", localVarRequestOptions, config); @@ -4160,7 +4160,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -4253,7 +4253,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get("/customers/{customer_id}/instruments/{instrument_id}", localVarRequestOptions, config); @@ -4302,7 +4302,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -4395,7 +4395,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // make the HTTP request var localVarResponse = this.Client.Get>("/customers/{customer_id}/instruments", localVarRequestOptions, config); @@ -4444,7 +4444,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.1.3"; + o.Release = "3.1.4"; o.AddEventProcessor(new CashfreeEventProcessor()); })); } @@ -4537,7 +4537,7 @@ public PGWebhookEvent PGVerifyWebhookSignature(string signature, string rawBody, localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.3"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.1.4"); // 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 02c47fe..581872f 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 = "3.1.3"; + public const string Version = "3.1.4"; /// /// Identifier for ISO 8601 DateTime Format @@ -113,7 +113,7 @@ public class Configuration : IReadableConfiguration public Configuration() { Proxy = null; - UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/3.1.3/csharp"); + UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/3.1.4/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: 2022-09-01\n"; - report += " SDK Package Version: 3.1.3\n"; + report += " SDK Package Version: 3.1.4\n"; return report; } diff --git a/src/cashfree_pg/cashfree_pg.csproj b/src/cashfree_pg/cashfree_pg.csproj index 80fe6a1..81911d0 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 - 3.1.3 + 3.1.4 LICENSE.md bin\$(Configuration)\$(TargetFramework)\cashfree_pg.xml https://github.com/cashfree/cashfree-pg-sdk-dotnet.git