Sufficit.Gerencianet.SDK 1.24.405.1346

dotnet add package Sufficit.Gerencianet.SDK --version 1.24.405.1346
NuGet\Install-Package Sufficit.Gerencianet.SDK -Version 1.24.405.1346
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sufficit.Gerencianet.SDK" Version="1.24.405.1346" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sufficit.Gerencianet.SDK --version 1.24.405.1346
#r "nuget: Sufficit.Gerencianet.SDK, 1.24.405.1346"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sufficit.Gerencianet.SDK as a Cake Addin
#addin nuget:?package=Sufficit.Gerencianet.SDK&version=1.24.405.1346

// Install Sufficit.Gerencianet.SDK as a Cake Tool
#tool nuget:?package=Sufficit.Gerencianet.SDK&version=1.24.405.1346

gn-api-sdk-dotnet

A .NET library for integration of your application with the payment services provided by Gerencianet.

Build Status

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

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 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 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 87 4/5/2024
1.23.706.1602 297 7/6/2023
1.23.706.1600 125 7/6/2023
1.23.608.347 143 6/8/2023
1.23.416.2128 190 4/16/2023
1.23.119.54 313 1/19/2023
1.22.1129.1446 321 11/29/2022
1.22.1006.541 334 10/6/2022
1.22.327.303 440 3/27/2022
1.22.326.2219 371 3/26/2022
1.22.326.1911 390 3/26/2022
1.21.629.342 354 6/29/2021
1.21.629.301 337 6/29/2021
1.21.629.159 355 6/29/2021
1.21.628.1927 310 6/28/2021