PostalCodeType extends Enum
in package

This is the postal code types enumerate.

Tags
see
Enum

Table of Contents

POSTAL_CODE_MANDATORY  = 'POSTAL_CODE_MANDATORY'
POSTAL_CODE_OPTIONAL  = 'POSTAL_CODE_OPTIONAL'
STATE_CITY_POSTAL_CODE  = 'STATE_CITY_POSTAL_CODE'
STATE_CITY_WITHOUT_POSTAL_CODE  = 'STATE_CITY_WITHOUT_POSTAL_CODE'
getValues()  : array<string|int, mixed>
isValid() Check if the given value is inside the called enumerate.  : bool

Constants

POSTAL_CODE_MANDATORY

public mixed POSTAL_CODE_MANDATORY = 'POSTAL_CODE_MANDATORY'

POSTAL_CODE_OPTIONAL

public mixed POSTAL_CODE_OPTIONAL = 'POSTAL_CODE_OPTIONAL'

STATE_CITY_POSTAL_CODE

public mixed STATE_CITY_POSTAL_CODE = 'STATE_CITY_POSTAL_CODE'

STATE_CITY_WITHOUT_POSTAL_CODE

public mixed STATE_CITY_WITHOUT_POSTAL_CODE = 'STATE_CITY_WITHOUT_POSTAL_CODE'

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