BasketRowType
extends Enum
in package
This is the basket row types enumerate.
Tags
Table of Contents
BUNDLE | = 'BUNDLE' | |
---|---|---|
GIFT | = 'GIFT' | |
LINKED | = 'LINKED' | |
PRODUCT | = 'PRODUCT' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
BUNDLE
public
mixed
BUNDLE
= 'BUNDLE'
GIFT
public
mixed
GIFT
= 'GIFT'
LINKED
public
mixed
LINKED
= 'LINKED'
PRODUCT
public
mixed
PRODUCT
= 'PRODUCT'
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