Class NumberType
- java.lang.Object
-
- com.sinch.sdk.core.utils.EnumDynamic<String,NumberType>
-
- com.sinch.sdk.domains.numbers.models.NumberType
-
public final class NumberType extends EnumDynamic<String,NumberType>
Type of phone number- Since:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description static NumberTypeLOCALNumbers that are assigned to a specific geographic region.static NumberTypeMOBILENumbers that belong to a specific range.static NumberTypeTOLL_FREENumbers that are free of charge for the calling party but billed for all arriving calls.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NumberTypefrom(String value)static StringvalueOf(NumberType e)static Stream<NumberType>values()-
Methods inherited from class com.sinch.sdk.core.utils.EnumDynamic
equals, hashCode, toString, value
-
-
-
-
Field Detail
-
MOBILE
public static final NumberType MOBILE
Numbers that belong to a specific range.
-
LOCAL
public static final NumberType LOCAL
Numbers that are assigned to a specific geographic region.
-
TOLL_FREE
public static final NumberType TOLL_FREE
Numbers that are free of charge for the calling party but billed for all arriving calls.
-
-
Method Detail
-
values
public static Stream<NumberType> values()
-
from
public static NumberType from(String value)
-
valueOf
public static String valueOf(NumberType e)
-
-