OrderStatus
extends Enum
in package
This is the order statuses enumerate.
Tags
Table of Contents
COMPLETED | = 'COMPLETED' | |
---|---|---|
CONFIRM_DELETED | = 'CONFIRM_DELETED' | |
DELETED | = 'DELETED' | |
DENIED | = 'DENIED' | |
IN_PROCESS | = 'IN_PROCESS' | |
INCIDENTS | = 'INCIDENTS' | |
INCOMING | = 'INCOMING' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
COMPLETED
public
mixed
COMPLETED
= 'COMPLETED'
CONFIRM_DELETED
public
mixed
CONFIRM_DELETED
= 'CONFIRM_DELETED'
DELETED
public
mixed
DELETED
= 'DELETED'
DENIED
public
mixed
DENIED
= 'DENIED'
IN_PROCESS
public
mixed
IN_PROCESS
= 'IN_PROCESS'
INCIDENTS
public
mixed
INCIDENTS
= 'INCIDENTS'
INCOMING
public
mixed
INCOMING
= 'INCOMING'
Methods
getValues()
public
static getValues() : array<string|int, mixed>
Return values
array<string|int, mixed> —isValid()
Check if the given value is inside the called enumerate.
public
static isValid(string $value) : bool
Parameters
- $value : string
-
value to check