CatalogStockPolicy
extends Enum
in package
This is the catalog stock policy enumerate.
Tags
Table of Contents
BY_ASSIGNED_WAREHOUSES | = 'BY_ASSIGNED_WAREHOUSES' | |
---|---|---|
BY_CHANNEL | = 'BY_CHANNEL' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
BY_ASSIGNED_WAREHOUSES
public
mixed
BY_ASSIGNED_WAREHOUSES
= 'BY_ASSIGNED_WAREHOUSES'
BY_CHANNEL
public
mixed
BY_CHANNEL
= 'BY_CHANNEL'
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