Sufficit.Gerencianet.SDK
1.22.326.2219
See the version list below for details.
dotnet add package Sufficit.Gerencianet.SDK --version 1.22.326.2219
NuGet\Install-Package Sufficit.Gerencianet.SDK -Version 1.22.326.2219
<PackageReference Include="Sufficit.Gerencianet.SDK" Version="1.22.326.2219" />
paket add Sufficit.Gerencianet.SDK --version 1.22.326.2219
#r "nuget: Sufficit.Gerencianet.SDK, 1.22.326.2219"
// Install Sufficit.Gerencianet.SDK as a Cake Addin #addin nuget:?package=Sufficit.Gerencianet.SDK&version=1.22.326.2219 // Install Sufficit.Gerencianet.SDK as a Cake Tool #tool nuget:?package=Sufficit.Gerencianet.SDK&version=1.22.326.2219
gn-api-sdk-dotnet
A .NET library for integration of your application with the payment services provided by Gerencianet.
Installation
From Visual Studio package manager:
PM> Install-Package Gerencianet.SDK -Version 1.0.8
From .NET Cli:
> dotnet add package Gerencianet.SDK --version 1.0.8
Tested with
dotnet 4.0.0
Basic usage
using Gerencianet.SDK;
...
dynamic endpoints = new Endpoints("client_id", "client_secret", true);
var body = new
{
items = new[] {
new {
name = "Product 1",
value = 1000,
amount = 2
}
},
shippings = new[] {
new {
name = "Default Shipping Cost",
value = 100
}
}
};
var response = endpoints.CreateCharge(null, body);
Console.WriteLine(response);
Examples
You can run the examples contained in the project Gerencianet.SDK.Examples
by uncommenting the lines in Program.cs
file.
Just remember to set the correct credentials inside Gerencianet.SDK.Examples/Credentials.Settings
before running.
Tests
To run the tests, build Gerencianet.SDK.Tests
and use nunit3-console:
$ nunit3-console ./Gerencianet.SDK.Tests/bin/Release/Gerencianet.SDK.Tests.dll
Additional documentation
The full documentation with all available endpoints is in https://dev.gerencianet.com.br/.
Changelog
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/gerencianet/gn-api-sdk-dotnet. This project is intended to be a safe, welcoming space for collaboration.
License
The library is available as open source under the terms of the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.7.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.1)
- Newtonsoft.Json (>= 13.0.1)
- RestSharp (>= 106.9.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Text.Json (>= 6.0.2)
-
net6.0
- Microsoft.CSharp (>= 4.7.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.1)
- Newtonsoft.Json (>= 13.0.1)
- RestSharp (>= 106.9.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Text.Json (>= 6.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.24.405.1346 | 161 | 4/5/2024 |
1.23.706.1602 | 320 | 7/6/2023 |
1.23.706.1600 | 152 | 7/6/2023 |
1.23.608.347 | 172 | 6/8/2023 |
1.23.416.2128 | 212 | 4/16/2023 |
1.23.119.54 | 342 | 1/19/2023 |
1.22.1129.1446 | 348 | 11/29/2022 |
1.22.1006.541 | 358 | 10/6/2022 |
1.22.327.303 | 467 | 3/27/2022 |
1.22.326.2219 | 393 | 3/26/2022 |
1.22.326.1911 | 416 | 3/26/2022 |
1.21.629.342 | 376 | 6/29/2021 |
1.21.629.301 | 361 | 6/29/2021 |
1.21.629.159 | 379 | 6/29/2021 |
1.21.628.1927 | 339 | 6/28/2021 |