RewardPointsRuleType extends Enum
in package

This is the reward points rule type enumerate.

Tags
see
Enum

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

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