BasketWarningCode
extends Enum
in package
This is the basket warning code enumerate.
Tags
Table of Contents
BACKORDER | = 'BACKORDER' | |
---|---|---|
BACKORDER_PREVISION | = 'BACKORDER_PREVISION' | |
INVALID_BILLING_ADDRESS | = 'INVALID_BILLING_ADDRESS' | |
INVALID_PRICE | = 'INVALID_PRICE' | |
INVALID_SHIPPING_ADDRESS | = 'INVALID_SHIPPING_ADDRESS' | |
LOCKED_STOCK_MISSING_UNITS | = 'LOCKED_STOCK_MISSING_UNITS' | |
LOCKED_STOCK_NO_UNITS | = 'LOCKED_STOCK_NO_UNITS' | |
MAX_ORDER_QUANTITY | = 'MAX_ORDER_QUANTITY' | |
MIN_ORDER_QUANTITY | = 'MIN_ORDER_QUANTITY' | |
MULTIPLE_ORDER_OVER_QUANTITY | = 'MULTIPLE_ORDER_OVER_QUANTITY' | |
MULTIPLE_ORDER_QUANTITY | = 'MULTIPLE_ORDER_QUANTITY' | |
NEEDS_DELIVERY | = 'NEEDS_DELIVERY' | |
NEEDS_PAYMENTSYSTEM | = 'NEEDS_PAYMENTSYSTEM' | |
NOT_AVAILABLE_PRODUCT | = 'NOT_AVAILABLE_PRODUCT' | |
ON_REQUEST_PRODUCT | = 'ON_REQUEST_PRODUCT' | |
STOCK_PREVISION | = 'STOCK_PREVISION' | |
STOCK_RESTRICTION | = 'STOCK_RESTRICTION' | |
USER_NOT_ACTIVED | = 'USER_NOT_ACTIVED' | |
USER_NOT_VERIFIED | = 'USER_NOT_VERIFIED' | |
WAREHOUSE_OFFSET | = 'WAREHOUSE_OFFSET' | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
BACKORDER
public
mixed
BACKORDER
= 'BACKORDER'
BACKORDER_PREVISION
public
mixed
BACKORDER_PREVISION
= 'BACKORDER_PREVISION'
INVALID_BILLING_ADDRESS
public
mixed
INVALID_BILLING_ADDRESS
= 'INVALID_BILLING_ADDRESS'
INVALID_PRICE
public
mixed
INVALID_PRICE
= 'INVALID_PRICE'
INVALID_SHIPPING_ADDRESS
public
mixed
INVALID_SHIPPING_ADDRESS
= 'INVALID_SHIPPING_ADDRESS'
LOCKED_STOCK_MISSING_UNITS
public
mixed
LOCKED_STOCK_MISSING_UNITS
= 'LOCKED_STOCK_MISSING_UNITS'
LOCKED_STOCK_NO_UNITS
public
mixed
LOCKED_STOCK_NO_UNITS
= 'LOCKED_STOCK_NO_UNITS'
MAX_ORDER_QUANTITY
public
mixed
MAX_ORDER_QUANTITY
= 'MAX_ORDER_QUANTITY'
MIN_ORDER_QUANTITY
public
mixed
MIN_ORDER_QUANTITY
= 'MIN_ORDER_QUANTITY'
MULTIPLE_ORDER_OVER_QUANTITY
public
mixed
MULTIPLE_ORDER_OVER_QUANTITY
= 'MULTIPLE_ORDER_OVER_QUANTITY'
MULTIPLE_ORDER_QUANTITY
public
mixed
MULTIPLE_ORDER_QUANTITY
= 'MULTIPLE_ORDER_QUANTITY'
NEEDS_DELIVERY
public
mixed
NEEDS_DELIVERY
= 'NEEDS_DELIVERY'
NEEDS_PAYMENTSYSTEM
public
mixed
NEEDS_PAYMENTSYSTEM
= 'NEEDS_PAYMENTSYSTEM'
NOT_AVAILABLE_PRODUCT
public
mixed
NOT_AVAILABLE_PRODUCT
= 'NOT_AVAILABLE_PRODUCT'
ON_REQUEST_PRODUCT
public
mixed
ON_REQUEST_PRODUCT
= 'ON_REQUEST_PRODUCT'
STOCK_PREVISION
public
mixed
STOCK_PREVISION
= 'STOCK_PREVISION'
STOCK_RESTRICTION
public
mixed
STOCK_RESTRICTION
= 'STOCK_RESTRICTION'
USER_NOT_ACTIVED
public
mixed
USER_NOT_ACTIVED
= 'USER_NOT_ACTIVED'
USER_NOT_VERIFIED
public
mixed
USER_NOT_VERIFIED
= 'USER_NOT_VERIFIED'
WAREHOUSE_OFFSET
public
mixed
WAREHOUSE_OFFSET
= 'WAREHOUSE_OFFSET'
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