constants

package
v2.21.4 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SVC string = "BOOKING_SVC_ERROR"

	ORDER_CREATED        string = "201"
	ORDER_CUSTOMER_ADDED string = "210"
	ORDER_PROCESSED      string = "222"
	ORDER_SUCCESS        string = "223"
	ORDER_FAIL           string = "228"
	ORDER_CANCEL         string = "229"

	RESERVATION_HOLDED            string = "230"
	RESERVATION_DISCOUNTS_APPLIED string = "231"
	RESERVATION_PAYED             string = "232"
	RESERVATION_CANCELED          string = "239"

	PAYMENT_CREATED            string = "250"
	PAYMENT_IN_PROCCESS        string = "251"
	PAYMENT_IN_BLOCK           string = "252"
	PAYMENT_REFUND_IN_PROCCESS string = "256"
	PAYMENT_SUCCESS            string = "253"
	PAYMENT_REFUND_COMPLETED   string = "254"
	PAYMENT_CANCEL_COMPLETED   string = "255"
	PAYMENT_FAIL               string = "258"
	PAYMENT_REJECT             string = "259"

	// Order status types
	OS  string = "order"
	RS  string = "reservation"
	RPS string = "reservation_payment"
	MS  string = "menu"
	MPS string = "menu_payment"

	// Order types
	RT  = "reservation"
	RMT = "reservation_with_menu"
	MT  = "menu"

	// Amount types
	RA = "reservation"
	MA = "menu"
	TA = "total"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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