diff --git a/cashfree_pg.sln b/cashfree_pg.sln index 7ffb0e5..09fd964 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", "{A58EBC53-7F42-4EF6-89F5-9D64614CDB57}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cashfree_pg", "src\cashfree_pg\cashfree_pg.csproj", "{E6F6AB78-4C6B-46B2-BE56-2512DAD4CA83}" 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 - {A58EBC53-7F42-4EF6-89F5-9D64614CDB57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A58EBC53-7F42-4EF6-89F5-9D64614CDB57}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A58EBC53-7F42-4EF6-89F5-9D64614CDB57}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A58EBC53-7F42-4EF6-89F5-9D64614CDB57}.Release|Any CPU.Build.0 = Release|Any CPU + {E6F6AB78-4C6B-46B2-BE56-2512DAD4CA83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E6F6AB78-4C6B-46B2-BE56-2512DAD4CA83}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E6F6AB78-4C6B-46B2-BE56-2512DAD4CA83}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E6F6AB78-4C6B-46B2-BE56-2512DAD4CA83}.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/LinkEntity.md b/docs/LinkEntity.md index 3036203..6240ccc 100644 --- a/docs/LinkEntity.md +++ b/docs/LinkEntity.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes **link_purpose** | **string** | | [optional] **link_created_at** | **string** | | [optional] **customer_details** | [**LinkCustomerDetailsEntity**](LinkCustomerDetailsEntity.md) | | [optional] -**link_meta** | [**LinkMetaEntity**](LinkMetaEntity.md) | | [optional] +**link_meta** | **Dictionary<string, string>** | Payment link meta information object. | [optional] **link_url** | **string** | | [optional] **link_expiry_time** | **string** | | [optional] **link_notes** | **Dictionary<string, string>** | Key-value pair that can be used to store additional information about the entity. Maximum 5 key-value pairs | [optional] diff --git a/src/cashfree_pg/Client/ApiClient.cs b/src/cashfree_pg/Client/ApiClient.cs index 3149332..3c03635 100644 --- a/src/cashfree_pg/Client/ApiClient.cs +++ b/src/cashfree_pg/Client/ApiClient.cs @@ -87,7 +87,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -174,7 +174,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/cardlessemi", localVarRequestOptions, config); @@ -219,7 +219,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -306,7 +306,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/offers", localVarRequestOptions, config); @@ -351,7 +351,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -438,7 +438,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/paylater", localVarRequestOptions, config); @@ -483,7 +483,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -570,7 +570,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post>("/eligibility/payment_methods", localVarRequestOptions, config); @@ -615,7 +615,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -702,7 +702,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/offers", localVarRequestOptions, config); @@ -747,7 +747,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -833,7 +833,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get("/offers/{offer_id}", localVarRequestOptions, config); @@ -878,7 +878,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -965,7 +965,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/orders", localVarRequestOptions, config); @@ -1010,7 +1010,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -1096,7 +1096,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}", localVarRequestOptions, config); @@ -1143,7 +1143,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -1238,7 +1238,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/recon", localVarRequestOptions, config); @@ -1283,7 +1283,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -1369,7 +1369,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/links/{link_id}/cancel", localVarRequestOptions, config); @@ -1414,7 +1414,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -1501,7 +1501,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/links", localVarRequestOptions, config); @@ -1546,7 +1546,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -1632,7 +1632,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get("/links/{link_id}", localVarRequestOptions, config); @@ -1677,7 +1677,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -1763,7 +1763,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get>("/links/{link_id}/orders", localVarRequestOptions, config); @@ -1809,7 +1809,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -1901,7 +1901,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/{order_id}/authorization", localVarRequestOptions, config); @@ -1947,7 +1947,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -2024,7 +2024,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/pay/authenticate/{cf_payment_id}", localVarRequestOptions, config); @@ -2070,7 +2070,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -2161,7 +2161,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}/payments/{cf_payment_id}", localVarRequestOptions, config); @@ -2206,7 +2206,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -2292,7 +2292,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get>("/orders/{order_id}/payments", localVarRequestOptions, config); @@ -2337,7 +2337,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -2409,7 +2409,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/sessions", localVarRequestOptions, config); @@ -2455,7 +2455,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -2547,7 +2547,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/orders/{order_id}/refunds", localVarRequestOptions, config); @@ -2593,7 +2593,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -2684,7 +2684,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}/refunds/{refund_id}", localVarRequestOptions, config); @@ -2729,7 +2729,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -2815,7 +2815,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get>("/orders/{order_id}/refunds", localVarRequestOptions, config); @@ -2862,7 +2862,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -2957,7 +2957,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/settlements", localVarRequestOptions, config); @@ -3004,7 +3004,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -3099,7 +3099,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/settlement/recon", localVarRequestOptions, config); @@ -3144,7 +3144,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -3230,7 +3230,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get("/orders/{order_id}/settlements", localVarRequestOptions, config); @@ -3275,7 +3275,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -3362,7 +3362,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/terminal", localVarRequestOptions, config); @@ -3407,7 +3407,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -3494,7 +3494,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Post("/terminal/transactions", localVarRequestOptions, config); @@ -3539,7 +3539,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -3625,7 +3625,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get("/terminal/{terminal_phone_no}", localVarRequestOptions, config); @@ -3671,7 +3671,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -3762,7 +3762,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get>("/terminal/qrcodes", localVarRequestOptions, config); @@ -3808,7 +3808,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -3899,7 +3899,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Delete("/customers/{customer_id}/instruments/{instrument_id}", localVarRequestOptions, config); @@ -3945,7 +3945,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -4036,7 +4036,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get("/customers/{customer_id}/instruments/{instrument_id}", localVarRequestOptions, config); @@ -4082,7 +4082,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -4173,7 +4173,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // make the HTTP request var localVarResponse = this.Client.Get>("/customers/{customer_id}/instruments", localVarRequestOptions, config); @@ -4219,7 +4219,7 @@ public class Cashfree { o.EnableTracing = true; o.AttachStacktrace = true; o.Environment = env; - o.Release = "3.0.6"; + o.Release = "3.0.8"; })); var config = new Configuration(); if(configuration != null) { @@ -4310,7 +4310,7 @@ public class Cashfree { localVarRequestOptions.HeaderParameters.Add("x-client-signature", Cashfree.XClientSignature); } - localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.6"); + localVarRequestOptions.HeaderParameters.Add("x-sdk-platform", "dotnetsdk-3.0.8"); // 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 aceecc0..4735005 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.0.6"; + public const string Version = "3.0.8"; /// /// Identifier for ISO 8601 DateTime Format @@ -113,7 +113,7 @@ public class Configuration : IReadableConfiguration public Configuration() { Proxy = null; - UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/3.0.6/csharp"); + UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/3.0.8/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.0.6\n"; + report += " SDK Package Version: 3.0.8\n"; return report; } diff --git a/src/cashfree_pg/Model/LinkEntity.cs b/src/cashfree_pg/Model/LinkEntity.cs index 8e75d32..453ffb8 100644 --- a/src/cashfree_pg/Model/LinkEntity.cs +++ b/src/cashfree_pg/Model/LinkEntity.cs @@ -46,13 +46,13 @@ public class LinkEntity : IEquatable, IValidatableObject /// linkPurpose. /// linkCreatedAt. /// customerDetails. - /// linkMeta. + /// Payment link meta information object.. /// linkUrl. /// linkExpiryTime. /// Key-value pair that can be used to store additional information about the entity. Maximum 5 key-value pairs. /// linkAutoReminders. /// linkNotify. - public LinkEntity(long cfLinkId = default(long), string linkId = default(string), string linkStatus = default(string), string linkCurrency = default(string), decimal linkAmount = default(decimal), decimal linkAmountPaid = default(decimal), bool linkPartialPayments = default(bool), decimal linkMinimumPartialAmount = default(decimal), string linkPurpose = default(string), string linkCreatedAt = default(string), LinkCustomerDetailsEntity customerDetails = default(LinkCustomerDetailsEntity), LinkMetaEntity linkMeta = default(LinkMetaEntity), string linkUrl = default(string), string linkExpiryTime = default(string), Dictionary linkNotes = default(Dictionary), bool linkAutoReminders = default(bool), LinkNotifyEntity linkNotify = default(LinkNotifyEntity)) + public LinkEntity(long cfLinkId = default(long), string linkId = default(string), string linkStatus = default(string), string linkCurrency = default(string), decimal linkAmount = default(decimal), decimal linkAmountPaid = default(decimal), bool linkPartialPayments = default(bool), decimal linkMinimumPartialAmount = default(decimal), string linkPurpose = default(string), string linkCreatedAt = default(string), LinkCustomerDetailsEntity customerDetails = default(LinkCustomerDetailsEntity), Dictionary linkMeta = default(Dictionary), string linkUrl = default(string), string linkExpiryTime = default(string), Dictionary linkNotes = default(Dictionary), bool linkAutoReminders = default(bool), LinkNotifyEntity linkNotify = default(LinkNotifyEntity)) { this.cf_link_id = cfLinkId; this.link_id = linkId; @@ -140,10 +140,12 @@ public class LinkEntity : IEquatable, IValidatableObject public LinkCustomerDetailsEntity customer_details { get; set; } /// - /// Gets or Sets link_meta + /// Payment link meta information object. /// + /// Payment link meta information object. + /// {"key_1":"value_1","key_2":"value_2"} [DataMember(Name = "link_meta", EmitDefaultValue = false)] - public LinkMetaEntity link_meta { get; set; } + public Dictionary link_meta { get; set; } /// /// Gets or Sets link_url @@ -289,8 +291,9 @@ public bool Equals(LinkEntity input) ) && ( this.link_meta == input.link_meta || - (this.link_meta != null && - this.link_meta.Equals(input.link_meta)) + this.link_meta != null && + input.link_meta != null && + this.link_meta.SequenceEqual(input.link_meta) ) && ( this.link_url == input.link_url || diff --git a/src/cashfree_pg/cashfree_pg.csproj b/src/cashfree_pg/cashfree_pg.csproj index 75d45b7..2333ee0 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.0.6 + 3.0.8 LICENSE.md bin\$(Configuration)\$(TargetFramework)\cashfree_pg.xml https://github.com/cashfree/cashfree-pg-sdk-dotnet.git