StockType extends Enum
in package

This is the stock type enumerate.

Tags
see
Enum

Table of Contents

AVAILABLE  = 'AVAILABILITY'
AVAILABLE_AND_PREVISION  = 'AVAILABLE_AND_PREVISION'
AVAILABLE_PREVISION_AND_ONREQUEST  = 'AVAILABLE_PREVISION_AND_ONREQUEST'
NONE  = 'NONE'
getValues()  : array<string|int, mixed>
isValid() Check if the given value is inside the called enumerate.  : bool

Constants

AVAILABLE

public mixed AVAILABLE = 'AVAILABILITY'

AVAILABLE_AND_PREVISION

public mixed AVAILABLE_AND_PREVISION = 'AVAILABLE_AND_PREVISION'

AVAILABLE_PREVISION_AND_ONREQUEST

public mixed AVAILABLE_PREVISION_AND_ONREQUEST = 'AVAILABLE_PREVISION_AND_ONREQUEST'

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

Return values
bool

Search results