BasketWarningCode extends Enum
in package

This is the basket warning code enumerate.

Tags
see
Enum

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_PREVISION

public mixed BACKORDER_PREVISION = 'BACKORDER_PREVISION'

INVALID_BILLING_ADDRESS

public mixed INVALID_BILLING_ADDRESS = 'INVALID_BILLING_ADDRESS'

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'

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_PAYMENTSYSTEM

public mixed NEEDS_PAYMENTSYSTEM = 'NEEDS_PAYMENTSYSTEM'

NOT_AVAILABLE_PRODUCT

public mixed NOT_AVAILABLE_PRODUCT = 'NOT_AVAILABLE_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

Return values
bool

Search results