eConnect.PosSdk
2.0.0.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package eConnect.PosSdk --version 2.0.0.3
NuGet\Install-Package eConnect.PosSdk -Version 2.0.0.3
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="eConnect.PosSdk" Version="2.0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add eConnect.PosSdk --version 2.0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: eConnect.PosSdk, 2.0.0.3"
#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 eConnect.PosSdk as a Cake Addin #addin nuget:?package=eConnect.PosSdk&version=2.0.0.3 // Install eConnect.PosSdk as a Cake Tool #tool nuget:?package=eConnect.PosSdk&version=2.0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
eConnect PosSdk
.NET client for eConnect POS JsonApi.
Technologies
Project supports
- .NET Framework 4.8
- .NET Standard 2.1
- .NET 6
Code Example
// sample authentication parameters
// production parameters provided by eConnect
var options = new PosClientOptions
{
PluginId = "b510fb1f-124f-46dc-a7f3-cc9813755fa6", // required
AuthId = Guid.NewGuid().ToString(), // required
Host = "devcenter.econnect.tv", // required
Port = 6500, // required
EnableAutomaticRecovery = true, // optional, defaults to true
ConnectionRetryDelay = TimeSpan.FromMinutes(10) // optional, defaults to 3 minutes
};
await using var client = new SecurePosClient(options);
await client.ConnectAsync();
// when using EnableAutomaticRecovery true, use this EventHandler to catch errors during Reconnect attempts
client.ReconnectError += (sender, exception) =>
{
// do some logging in here
};
var signIn = new SignInEvent
{
RevenueCenterNumber = 1,
TerminalNumber = 123,
EmployeeNumber = 456
};
var response = await client.SendAsync(signIn);
// response == "Valid signIn event object received."
Testing
eConnect provides a TCP JSON API Test Service, showing sample credentials that work in combination with an online Testing Console.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- eConnect.WcfClientSdk (>= 11.8.6)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.1)
- Newtonsoft.Json.Schema (>= 3.0.15)
- System.IO.Pipelines (>= 7.0.0)
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 | |
---|---|---|---|
2.1.5 | 83 | 10/29/2024 | |
2.1.1 | 91 | 10/25/2024 | |
2.0.1.2 | 78 | 10/24/2024 | |
2.0.1.1 | 82 | 10/24/2024 | |
2.0.1 | 80 | 10/24/2024 | |
2.0.0.5 | 354 | 11/30/2023 | |
2.0.0.4 | 255 | 11/17/2023 | |
2.0.0.3 | 223 | 11/7/2023 | |
2.0.0.2 | 262 | 11/7/2023 | |
2.0.0.1 | 251 | 11/2/2023 | |
1.0.2.15 | 751 | 10/11/2022 | |
1.0.2.14 | 671 | 10/5/2022 | |
1.0.2.13 | 655 | 10/5/2022 | |
1.0.2.12 | 612 | 10/5/2022 | |
1.0.2.11 | 661 | 10/5/2022 | |
1.0.2.10 | 610 | 10/5/2022 | |
1.0.2.9 | 706 | 9/14/2022 | |
1.0.2.8 | 673 | 8/18/2022 | |
1.0.2.7 | 708 | 8/18/2022 | |
1.0.2.6 | 647 | 8/17/2022 | |
1.0.2.5 | 678 | 7/28/2022 | |
1.0.1.13 | 802 | 4/26/2022 | |
1.0.1.12 | 747 | 3/17/2022 | |
1.0.1.11 | 654 | 3/16/2022 | |
1.0.1.10 | 694 | 3/16/2022 | |
1.0.1.9 | 699 | 3/15/2022 | |
1.0.1.8 | 566 | 1/4/2022 | |
1.0.1.7 | 594 | 1/4/2022 | |
1.0.1.6 | 588 | 12/14/2021 | |
1.0.1.5 | 576 | 12/14/2021 | |
1.0.1.4 | 598 | 12/2/2021 | |
1.0.1.3 | 526 | 12/2/2021 | |
1.0.1.2 | 566 | 11/9/2021 | |
1.0.1.1 | 602 | 10/19/2021 | |
1.0.1 | 677 | 10/19/2021 |