Package com.vonage.client.numbers
Class AvailableNumber
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.numbers.AvailableNumber
- All Implemented Interfaces:
Jsonable
Represents a number that is available to buy.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.This will be made package-private in a future release. -
Method Summary
Modifier and TypeMethodDescriptiongetCost()The monthly rental cost for this number, in Euros.Two character country code in ISO 3166-1 alpha-2 format.String[]Capabilities of the number as an array of strings.Phone number in E.164 format.getType()Type of number as a string.voidDeprecated.voidsetCountry(String country) Deprecated.voidsetFeatures(String[] features) Deprecated.voidDeprecated.voidDeprecated.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
AvailableNumber
Deprecated.This will be made package-private in a future release.Constructor.
-
-
Method Details
-
getCost
The monthly rental cost for this number, in Euros.- Returns:
- The rental cost as a string.
-
setCost
Deprecated. -
getCountry
Two character country code in ISO 3166-1 alpha-2 format.- Returns:
- The number's country code.
-
getMsisdn
Phone number in E.164 format.- Returns:
- The MSISDN as a string.
-
getType
Type of number as a string. In a future release, this will be an enum.- Returns:
- The type of number as a string.
-
getFeatures
Capabilities of the number as an array of strings. In a future release, these will be enums.- Returns:
- The number's capabilities as a string array.
-
setCountry
Deprecated. -
setMsisdn
Deprecated. -
setType
Deprecated. -
setFeatures
Deprecated.
-