diff --git a/sdks/thunderpay-sdk-cs/Account.cs b/sdks/thunderpay-sdk-cs/Account.cs new file mode 100644 index 0000000..fea4403 --- /dev/null +++ b/sdks/thunderpay-sdk-cs/Account.cs @@ -0,0 +1,32 @@ +/** + * @file Account.cs + * @author Krisna Pranav + * @brief Account functionalities + * @version 1.0 + * @date 2024-01-19 + * + * @copyright Copyright (c) 2024 ThunderPayment Developers, Krisna Pranav + * + */ + +using System; +using System.Linq; +using System.Text; +using System.Collections.Generic; +using System.Threading.Tasks; +using Newtonsoft.Json; + +namespace ThunderPay +{ + public class Account : FundingInstrument + { + [JsonIgnore] + public static string resource_href + { + get + { + return "/accounts"; + } + } + } +} \ No newline at end of file diff --git a/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.AssemblyInfo.cs b/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.AssemblyInfo.cs index bae2820..ed8c72c 100644 --- a/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.AssemblyInfo.cs +++ b/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.AssemblyInfo.cs @@ -13,7 +13,7 @@ [assembly: System.Reflection.AssemblyCompanyAttribute("thunderpay-sdk-cs")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+742486980d0f90441fb2d61b9754ec85532870a5")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a6d44df6b106a648eb7d0b7b0c56cd4547463cc7")] [assembly: System.Reflection.AssemblyProductAttribute("thunderpay-sdk-cs")] [assembly: System.Reflection.AssemblyTitleAttribute("thunderpay-sdk-cs")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.AssemblyInfoInputs.cache b/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.AssemblyInfoInputs.cache index 58808f7..511a298 100644 --- a/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.AssemblyInfoInputs.cache +++ b/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.AssemblyInfoInputs.cache @@ -1 +1 @@ -f00ebad09e86924ba5df91161e0ab926f7d9958d9cbf8423069527960b3452ee +c212e9c3ddc855639e03ab9d61d17929beb670f68e4958084ce663e215c435c6 diff --git a/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.assets.cache b/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.assets.cache index ec56a8f..21cb651 100644 Binary files a/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.assets.cache and b/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.assets.cache differ diff --git a/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.csproj.AssemblyReference.cache b/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.csproj.AssemblyReference.cache new file mode 100644 index 0000000..cb7cc83 Binary files /dev/null and b/sdks/thunderpay-sdk-cs/obj/Debug/net9.0/thunderpay-sdk-cs.csproj.AssemblyReference.cache differ diff --git a/sdks/thunderpay-sdk-cs/obj/project.assets.json b/sdks/thunderpay-sdk-cs/obj/project.assets.json index 7dfb0f0..6d98825 100644 --- a/sdks/thunderpay-sdk-cs/obj/project.assets.json +++ b/sdks/thunderpay-sdk-cs/obj/project.assets.json @@ -1,11 +1,58 @@ { "version": 3, "targets": { - "net9.0": {} + "net9.0": { + "Newtonsoft.Json/13.0.3": { + "type": "package", + "compile": { + "lib/net6.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + } + } + } + }, + "libraries": { + "Newtonsoft.Json/13.0.3": { + "sha512": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "type": "package", + "path": "newtonsoft.json/13.0.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.md", + "README.md", + "lib/net20/Newtonsoft.Json.dll", + "lib/net20/Newtonsoft.Json.xml", + "lib/net35/Newtonsoft.Json.dll", + "lib/net35/Newtonsoft.Json.xml", + "lib/net40/Newtonsoft.Json.dll", + "lib/net40/Newtonsoft.Json.xml", + "lib/net45/Newtonsoft.Json.dll", + "lib/net45/Newtonsoft.Json.xml", + "lib/net6.0/Newtonsoft.Json.dll", + "lib/net6.0/Newtonsoft.Json.xml", + "lib/netstandard1.0/Newtonsoft.Json.dll", + "lib/netstandard1.0/Newtonsoft.Json.xml", + "lib/netstandard1.3/Newtonsoft.Json.dll", + "lib/netstandard1.3/Newtonsoft.Json.xml", + "lib/netstandard2.0/Newtonsoft.Json.dll", + "lib/netstandard2.0/Newtonsoft.Json.xml", + "newtonsoft.json.13.0.3.nupkg.sha512", + "newtonsoft.json.nuspec", + "packageIcon.png" + ] + } }, - "libraries": {}, "projectFileDependencyGroups": { - "net9.0": [] + "net9.0": [ + "Newtonsoft.Json >= 13.0.3" + ] }, "packageFolders": { "/Users/krisnapranav/.nuget/packages/": {} @@ -50,6 +97,12 @@ "frameworks": { "net9.0": { "targetAlias": "net9.0", + "dependencies": { + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.3, )" + } + }, "imports": [ "net461", "net462", diff --git a/sdks/thunderpay-sdk-cs/obj/project.nuget.cache b/sdks/thunderpay-sdk-cs/obj/project.nuget.cache index 951be6d..49e22db 100644 --- a/sdks/thunderpay-sdk-cs/obj/project.nuget.cache +++ b/sdks/thunderpay-sdk-cs/obj/project.nuget.cache @@ -1,8 +1,10 @@ { "version": 2, - "dgSpecHash": "X5pkwUhzWXI=", + "dgSpecHash": "cUnQqBwN68k=", "success": true, "projectFilePath": "/Users/krisnapranav/Projects/ThunderPayments/thunderpay/sdks/thunderpay-sdk-cs/thunderpay-sdk-cs.csproj", - "expectedPackageFiles": [], + "expectedPackageFiles": [ + "/Users/krisnapranav/.nuget/packages/newtonsoft.json/13.0.3/newtonsoft.json.13.0.3.nupkg.sha512" + ], "logs": [] } \ No newline at end of file diff --git a/sdks/thunderpay-sdk-cs/obj/thunderpay-sdk-cs.csproj.nuget.dgspec.json b/sdks/thunderpay-sdk-cs/obj/thunderpay-sdk-cs.csproj.nuget.dgspec.json index 968c26a..dbbe6e2 100644 --- a/sdks/thunderpay-sdk-cs/obj/thunderpay-sdk-cs.csproj.nuget.dgspec.json +++ b/sdks/thunderpay-sdk-cs/obj/thunderpay-sdk-cs.csproj.nuget.dgspec.json @@ -44,6 +44,12 @@ "frameworks": { "net9.0": { "targetAlias": "net9.0", + "dependencies": { + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.3, )" + } + }, "imports": [ "net461", "net462", diff --git a/sdks/thunderpay-sdk-cs/thunderpay-sdk-cs.csproj b/sdks/thunderpay-sdk-cs/thunderpay-sdk-cs.csproj index 1135ef4..aaf3f0a 100644 --- a/sdks/thunderpay-sdk-cs/thunderpay-sdk-cs.csproj +++ b/sdks/thunderpay-sdk-cs/thunderpay-sdk-cs.csproj @@ -7,4 +7,8 @@ enable + + + +