Skip to content

Commit

Permalink
thunderpay-sdk-cs: Account
Browse files Browse the repository at this point in the history
  • Loading branch information
krishpranav committed Jan 19, 2025
1 parent a6d44df commit e75f5b5
Show file tree
Hide file tree
Showing 9 changed files with 104 additions and 7 deletions.
32 changes: 32 additions & 0 deletions sdks/thunderpay-sdk-cs/Account.cs
Original file line number Diff line number Diff line change
@@ -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";
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f00ebad09e86924ba5df91161e0ab926f7d9958d9cbf8423069527960b3452ee
c212e9c3ddc855639e03ab9d61d17929beb670f68e4958084ce663e215c435c6
Binary file not shown.
Binary file not shown.
59 changes: 56 additions & 3 deletions sdks/thunderpay-sdk-cs/obj/project.assets.json
Original file line number Diff line number Diff line change
@@ -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/": {}
Expand Down Expand Up @@ -50,6 +97,12 @@
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"dependencies": {
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.3, )"
}
},
"imports": [
"net461",
"net462",
Expand Down
6 changes: 4 additions & 2 deletions sdks/thunderpay-sdk-cs/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -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": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"dependencies": {
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.3, )"
}
},
"imports": [
"net461",
"net462",
Expand Down
4 changes: 4 additions & 0 deletions sdks/thunderpay-sdk-cs/thunderpay-sdk-cs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

</Project>

0 comments on commit e75f5b5

Please sign in to comment.