enum

package
v0.0.0-...-c7d00f8 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PaymentTypeQRCode PaymentType = "QRCODE"

	PaymentStatusPending   PaymentStatus = "PENDING"
	PaymentStatusConfirmed PaymentStatus = "CONFIRMED"
	PaymentStatusCanceled  PaymentStatus = "CANCELED"

	OrderStatusAwaitingPayment OrderStatus = "AWAITING_PAYMENT"
	OrderStatusReceived        OrderStatus = "RECEIVED"
	OrderStatusPreparing       OrderStatus = "PREPARING"
	OrderStatusReady           OrderStatus = "READY"
	OrderStatusCanceled        OrderStatus = "CANCELED"
	OrderStatusFinished        OrderStatus = "FINISHED"
)

Variables

This section is empty.

Functions

func ValidateStatus

func ValidateStatus(val string) bool

Types

type OrderStatus

type OrderStatus string

type PaymentStatus

type PaymentStatus string

type PaymentType

type PaymentType string

Jump to

Keyboard shortcuts

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