RewardPointsRuleValueMode
extends Enum
in package
This is the reward points rule value mode enumerate.
Tags
Table of Contents
EACH | = 'EACH' | |
---|---|---|
FROM | = 'FROM' | |
RANGE | = 'RANGE' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
EACH
public
mixed
EACH
= 'EACH'
FROM
public
mixed
FROM
= 'FROM'
RANGE
public
mixed
RANGE
= 'RANGE'
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