BusinessType implements IField
FinalYes
Table of Contents
Interfaces
Constants
- BUSINESS_VERTICAL_ECOMMERCE = "ECOMMERCE"
- BUSINESS_VERTICAL_SERVICES = "SERVICES"
Methods
- available() : bool
- check if field is available
- checkValue() : bool
- check type
- getDefaultValue() : string
- get default value
- required() : bool
- check if field is required
Constants
BUSINESS_VERTICAL_ECOMMERCE
public
mixed
BUSINESS_VERTICAL_ECOMMERCE
= "ECOMMERCE"
BUSINESS_VERTICAL_SERVICES
public
mixed
BUSINESS_VERTICAL_SERVICES
= "SERVICES"
Methods
available()
check if field is available
public
static available() : bool
Tags
Return values
boolcheckValue()
check type
public
static checkValue(mixed $value) : bool
Parameters
- $value : mixed
Return values
boolgetDefaultValue()
get default value
public
static getDefaultValue() : string
Return values
stringrequired()
check if field is required
public
static required() : bool