RewardPointsExpirationType
extends Enum
in package
This is the reward points expiration type enumerate.
Tags
Table of Contents
BY_DATE | = 'BY_DATE' | |
---|---|---|
BY_DAYS | = 'BY_DAYS' | |
BY_UPDATED_DAYS | = 'BY_UPDATED_DAYS' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
BY_DATE
public
mixed
BY_DATE
= 'BY_DATE'
BY_DAYS
public
mixed
BY_DAYS
= 'BY_DAYS'
BY_UPDATED_DAYS
public
mixed
BY_UPDATED_DAYS
= 'BY_UPDATED_DAYS'
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