qrcode

package
v1.0.25 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelCode

type ChannelCode string
const (
	QRIS      ChannelCode = "QRIS"
	DANA      ChannelCode = "DANA"
	RCBC      ChannelCode = "RCBC"
	PromptPay ChannelCode = "PROMPTPAY"
)
const (
	EMPTY   ChannelCode = ""
	LinkAja ChannelCode = "LINKAJA"
)

type ChannelProperties

type ChannelProperties struct {
	QRString  string     `json:"qr_string"`
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
}

type CreateMethod

type CreateMethod struct {
	Amount            *float64               `json:"amount,omitempty"`
	Currency          *constant.CurrencyEnum `json:"currency,omitempty"`
	ChannelCode       ChannelCode            `json:"channel_code"`
	ChannelProperties ChannelProperties      `json:"channel_properties"`
}

Jump to

Keyboard shortcuts

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