AddressType
extends Enum
in package
This is the address type enumerate.
Tags
Table of Contents
| BILLING | = 'BILLING' | |
|---|---|---|
| SHIPPING | = 'SHIPPING' | |
| getValues() | : array<string|int, mixed> | |
| isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
BILLING
public
mixed
BILLING
= 'BILLING'
SHIPPING
public
mixed
SHIPPING
= 'SHIPPING'
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