enum

package
v0.0.0-...-592584e Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CREDIT PaymentType = "CREDIT"
	DEBIT  PaymentType = "DEBIT"
	CASH   PaymentType = "CASH"
	PIX    PaymentType = "PIX"
	QRCODE PaymentType = "QRCODE"

	PENDING   PaymentStatus = "PENDING"
	CONFIRMED PaymentStatus = "CONFIRMED"
	CANCELED  PaymentStatus = "CANCELED"
)

Variables

This section is empty.

Functions

func ValidateStatus

func ValidateStatus(val string) bool

Types

type PaymentStatus

type PaymentStatus string

type PaymentType

type PaymentType string

type StatusOrder

type StatusOrder string
const (
	AWAITING_PAYMENT StatusOrder = "AWAITING_PAYMENT"
	RECEIVED         StatusOrder = "RECEIVED"
	PREPARING        StatusOrder = "PREPARING"
	READY            StatusOrder = "READY"
	FINISHED         StatusOrder = "FINISHED"
)

Jump to

Keyboard shortcuts

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