Napas247QrCode 1.0.0

dotnet add package Napas247QrCode --version 1.0.0
NuGet\Install-Package Napas247QrCode -Version 1.0.0
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="Napas247QrCode" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Napas247QrCode --version 1.0.0
#r "nuget: Napas247QrCode, 1.0.0"
#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 Napas247QrCode as a Cake Addin
#addin nuget:?package=Napas247QrCode&version=1.0.0

// Install Napas247QrCode as a Cake Tool
#tool nuget:?package=Napas247QrCode&version=1.0.0

Naspas 24/7 QRCode generator

Essential - Đơn giản

using Suco.QrCode.Napas;

// binCode: BIN Code of bank - Mã tổ chức phát hành thẻ (ngân hàng)
// accountNumber: Account number, card number - Số tài khoản, số thẻ
var qrCodeContent = new Napas247QrCode(binCode, accountNumber).ToString();

Example - Ví dụ:

using Suco.QrCode.Napas;

var qrCodeContent = new Napas247QrCode(Finder.GetBinCode(CommonBinCode.VCB), "0011001234567").ToString();

Customize - Tùy biến

using Suco.QrCode.Napas;

var qrCodeContent = new Napas247QrCode(Finder.GetBinCode(CommonBinCode.VCB), "0011001234567") {
	IsStatic = true, // QRCode can use multiple times - Cho biết mã QR có cho phép thực hiện nhiều lần giao dịch hay không. Default: false
	TransferType = ServiceCode.TransferToCard, // Transfer to card - Chuyển tiền tới số thẻ. Default: ServiceCode.TransferToAccount - transfer to account - Mặc định: chuyển tới số tài khoản
	TransactionCurrency = Finder.GetCurrency(CommonCurrency.USD), // Currency - Mã tiền tệ. Default: Finder.GetCurrency(CommonCurrency.VND) - Vietnamese đồng
	TransactionAmount = 123000, // Amount - Số tiền giao dịch. Default: null - no pre-filled
	ConvenienceIndicator = ConvenienceIndicator.FixedFee, // Tip or convenience indicator - Chỉ thị cho Tip và phí giao dịch. Allow: None, Tip, FixedFee or PercentageFee. Default: None
	ConvenienceFeeValue = 7000, // Convenience fee value - Giá trị phí cố định hoặc Giá trị phí tỷ lệ phần trăm, required if ConvenienceIndicator is FixedFee (greater than 0) or PercentageFee (greater than 0 and less than 100)
	CountryCode = "JP", // Country code of merchant (ISO 3166-1 alpha 2) - Mã quốc gia. Default: VN
	MerchantName = "Cty CP Abc", // Name of merchant - Tên đơn vị chấp nhận thanh toán. Default: null
	AdditionalData = new AdditionalData { // Additional data field template - Thông tin bổ sung
		BillNumber = "HD012345", // Bill number - Số hóa đơn. Default: null
		MobileNumber = "0912345678", // Mobile number - Số điện thoại di động. Default: null
		StoreLabel = "HN011", // Store label - Mã cửa hàng. Default: null
		LoyaltyNumber = "VIP112", // Loyalty number - Mã khách hàng thân thiết. Default: null
		ReferenceLabel = "REF1234567", // Reference label - Mã tham chiếu. Default: null
		CustomerLabel = "CUST123", // Customer label - Mã khách hàng. Default: null
		TerminalLabel = "StoreX", // Terminal label - Mã số điểm bán. Default: null
		PurposeOfTransaction = "Purchase for order HD012345", // Purpose of transaction, auto convert to Alphanumberic special character set, auto trim to maximum 25 characters - Nội dung thanh toán, tự động chuyển về các ký tự số, chữ la tinh (tự bỏ dấu tiếng Việt) và tự cắt lấy 25 ký tự đầu tiên. Default: null
		AdditionalConsumerDataRequest = AdditionalConsumerDataRequest.MobileNumber | AdditionalConsumerDataRequest.Email, // Additional consumer data request - Yêu cầu dữ liệu khách hàng bổ sung. Allow: Address | MobileNumber | Email
	}
}.ToString();
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has 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.0.0 138 5/23/2023