Nestpay 1.5.1
dotnet add package Nestpay --version 1.5.1
NuGet\Install-Package Nestpay -Version 1.5.1
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="Nestpay" Version="1.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nestpay" Version="1.5.1" />
<PackageReference Include="Nestpay" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nestpay --version 1.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nestpay, 1.5.1"
#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.
#:package Nestpay@1.5.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nestpay&version=1.5.1
#tool nuget:?package=Nestpay&version=1.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Nestpay.NET
Nestpay (EST) (Asseco) POS API with .NET
Installation
dotnet add package Nestpay --version 1.5.1
Satış
namespace Nestpay {
internal class Program {
static void Main(string[] args) {
var nestpay = new Nestpay(MODE.Test, BANK.Asseco); // Çalışma ortamı ve Banka adı
nestpay.SetClientId("100100000"); // İşyeri numarası
nestpay.SetUsername("AKTESTAPI"); // Kullanıcı adı
nestpay.SetPassword("AKBANK01"); // Kullanıcı şifresi
var request = new Nestpay.CC5Request();
request.SetCardNumber("4355084355084358"); // Kart numarası
request.SetCardExpiry("12", "30"); // Son kullanma tarihi - AA,YY
request.SetCardCode("000"); // Kart arkasındaki 3 haneli numara
request.SetAmount("1.00", "TRY"); // Satış tutarı ve para birimi
request.SetInstallment(""); // Taksit sayısı (varsa)
request.SetIPv4("1.2.3.4"); // Müşteri IP adresi
var response = nestpay.Auth(request);
if (response != null) {
Console.WriteLine(Nestpay.Json<Nestpay.CC5Response>(response));
}
}
}
}
İade
namespace Nestpay {
internal class Program {
static void Main(string[] args) {
var nestpay = new Nestpay(MODE.Test, BANK.Asseco); // Çalışma ortamı ve Banka adı
nestpay.SetClientId("100100000"); // İşyeri numarası
nestpay.SetUsername("AKTESTAPI"); // Kullanıcı adı
nestpay.SetPassword("AKBANK01"); // Kullanıcı şifresi
var request = new Nestpay.CC5Request();
request.SetAmount("1.00", "TRY"); // İade tutarı ve para birimi
request.SetOrderId("ORDER-"); // Sipariş numarası
var response = nestpay.Refund(request);
if (response != null) {
Console.WriteLine(Nestpay.Json<Nestpay.CC5Response>(response));
}
}
}
}
İptal
namespace Nestpay {
internal class Program {
static void Main(string[] args) {
var nestpay = new Nestpay(MODE.Test, BANK.Asseco); // Çalışma ortamı ve Banka adı
nestpay.SetClientId("100100000"); // İşyeri numarası
nestpay.SetUsername("AKTESTAPI"); // Kullanıcı adı
nestpay.SetPassword("AKBANK01"); // Kullanıcı şifresi
var request = new Nestpay.CC5Request();
request.SetOrderId("ORDER-"); // Sipariş numarası
var response = nestpay.Cancel(request);
if (response != null) {
Console.WriteLine(Nestpay.Json<Nestpay.CC5Response>(response));
}
}
}
}
| 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
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.5.1 | 611 | 5/31/2024 |
| 1.5.0 | 379 | 2/6/2024 |
| 1.4.8 | 268 | 2/5/2024 |
| 1.4.6 | 277 | 1/31/2024 |
| 1.4.5 | 270 | 1/31/2024 |
| 1.4.4 | 255 | 1/31/2024 |
| 1.4.3 | 261 | 1/31/2024 |
| 1.4.2 | 268 | 1/31/2024 |
| 1.4.1 | 321 | 6/23/2023 |
| 1.4.0 | 249 | 6/23/2023 |
| 1.3.5 | 267 | 6/22/2023 |
| 1.3.4 | 257 | 6/21/2023 |
| 1.3.3 | 267 | 6/21/2023 |
| 1.3.2 | 291 | 5/5/2023 |
| 1.3.1 | 265 | 5/5/2023 |
| 1.3.0 | 274 | 5/5/2023 |
| 1.2.0 | 437 | 12/3/2022 |
| 1.1.2 | 576 | 5/1/2022 |
| 1.1.1 | 545 | 5/1/2022 |
Loading failed