Documentation ¶
Index ¶
- Variables
- func BuildPayload(root ...Pair) (string, error)
- type Pair
- func AdditionalData(data ...Pair) Pair
- func CountryCode(code string) Pair
- func Float64(id string, value float64) Pair
- func List(id string, values ...Pair) Pair
- func MerchantAccountInfo(info ...Pair) Pair
- func MerchantCategory(code string) Pair
- func MerchantCity(city string) Pair
- func MerchantName(name string) Pair
- func PayloadFormatIndicator() Pair
- func PointOfInitiationMethod(isDynamic bool) Pair
- func PostalCode(code string) Pair
- func String(id, value string) Pair
- func TransactionAmountFloat(amount float64) Pair
- func TransactionAmountUint(amount uint64) Pair
- func TransactionCurrency(code string) Pair
- func Uint64(id string, value uint64) Pair
- type Valuer
- type VietQRInput
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDataTooLong = internal.ErrDataTooLong
Functions ¶
func BuildPayload ¶
Types ¶
type Pair ¶
func AdditionalData ¶
func CountryCode ¶
func MerchantAccountInfo ¶
func MerchantCategory ¶
func MerchantCity ¶
func MerchantName ¶
func PayloadFormatIndicator ¶
func PayloadFormatIndicator() Pair
func PointOfInitiationMethod ¶
func PostalCode ¶
func TransactionAmountFloat ¶
func TransactionAmountUint ¶
func TransactionCurrency ¶
type VietQRInput ¶ added in v0.1.1
type VietQRInput struct { AcqID string `json:"acqID"` AccountNo string `json:"accountNo"` Amount uint64 `json:"amount"` AdditionalInfo string `json:"addInfo"` }
func (VietQRInput) BuildPayload ¶ added in v0.1.1
func (i VietQRInput) BuildPayload() (string, error)
Click to show internal directories.
Click to hide internal directories.