PhoneNumberType Class

public final class PhoneNumberType
extends ExpandableStringEnum<PhoneNumberType>

Defines values for PhoneNumberType.

Field Summary

Modifier and Type Field and Description
static final PhoneNumberType GEOGRAPHIC

Static value geographic for PhoneNumberType.

static final PhoneNumberType TOLL_FREE

Static value tollFree for PhoneNumberType.

Constructor Summary

Constructor Description
PhoneNumberType()

Method Summary

Modifier and Type Method and Description
static PhoneNumberType fromString(String name)

Creates or finds a PhoneNumberType from its string representation.

static Collection<PhoneNumberType> values()

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GEOGRAPHIC

public static final PhoneNumberType GEOGRAPHIC

Static value geographic for PhoneNumberType.

TOLL_FREE

public static final PhoneNumberType TOLL_FREE

Static value tollFree for PhoneNumberType.

Constructor Details

PhoneNumberType

public PhoneNumberType()

Method Details

fromString

public static PhoneNumberType fromString(String name)

Creates or finds a PhoneNumberType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PhoneNumberType.

values

public static Collection values()

Returns:

known PhoneNumberType values.

Applies to