OptionsPriceMode
extends Enum
in package
This is the options price mode enumerate.
Tags
Table of Contents
CHEAPEST | = 'CHEAPEST' | |
---|---|---|
NONE | = 'NONE' | |
PRIORITY | = 'PRIORITY' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
CHEAPEST
public
mixed
CHEAPEST
= 'CHEAPEST'
NONE
public
mixed
NONE
= 'NONE'
PRIORITY
public
mixed
PRIORITY
= 'PRIORITY'
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