AmountType extends Enum
in package

This is the amount increase type enumerate.

Tags
see
Enum

Table of Contents

ABSOLUTE  = 'ABSOLUTE'
PERCENTAGE  = 'PERCENTAGE'
getValues()  : array<string|int, mixed>
isValid() Check if the given value is inside the called enumerate.  : bool

Constants

PERCENTAGE

public mixed PERCENTAGE = 'PERCENTAGE'

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