RewardPointsRuleType
extends Enum
in package
This is the reward points rule type enumerate.
Tags
Table of Contents
BY_AMOUNT | = 'BY_AMOUNT' | |
---|---|---|
BY_UNITS | = 'BY_UNITS' | |
COMMENT | = 'COMMENT' | |
MANUAL | = 'MANUAL' | |
ORDER_RELEASE | = 'ORDER_RELEASE' | |
REDEEM | = 'REDEEM' | |
REGISTER | = 'REGISTER' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
BY_AMOUNT
public
mixed
BY_AMOUNT
= 'BY_AMOUNT'
BY_UNITS
public
mixed
BY_UNITS
= 'BY_UNITS'
COMMENT
public
mixed
COMMENT
= 'COMMENT'
MANUAL
public
mixed
MANUAL
= 'MANUAL'
ORDER_RELEASE
public
mixed
ORDER_RELEASE
= 'ORDER_RELEASE'
REDEEM
public
mixed
REDEEM
= 'REDEEM'
REGISTER
public
mixed
REGISTER
= 'REGISTER'
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