generator

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	/** Mobile number */
	MSISDN = "01"
	/** National ID or Tax ID */
	NATID = "02"
	/** E-Wallet ID */
	EWALLETID = "03"
	/** Bank Account (Reserved) */
	BANKACC = "04"
)

Variables

This section is empty.

Functions

func AnyID

func AnyID(types string, target string, amount float64) string

Generate PromptPay AnyID (Tag 29) QR Code

func BOTBarcode

func BOTBarcode(billerId string, ref1 string, ref2 string, amount float64) string

func BillPayment

func BillPayment(billerID string, amount float64, ref1 string, ref2 string, ref3 string) string

Generate PromptPay Bill Payment (Tag 30) QR Code

func SlipVerify

func SlipVerify(sendingBank string, transRef string) string

Generate Slip Verify QR Code

This also called "Mini-QR" that embedded in slip used for verify transactions

func Truemoney

func Truemoney(mobileNo string, amount float64, message string) string

Generate QR Code for TrueMoney Wallet

This QR Code can also be scanned with other apps, just like a regular e-Wallet PromptPay QR but `Personal Message (Tag 81)` will be ignored.

func TruemoneySlipVerify added in v1.1.0

func TruemoneySlipVerify(eventType string, transactionId string, transferDate string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL