Package com.vonage.client.users.channels
Class Pstn
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.users.channels.Channel
com.vonage.client.users.channels.Pstn
- All Implemented Interfaces:
Jsonable
Represents a Public Switched Telephone Network (PSTN) channel.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vonage.client.users.channels.Channel
getConcreteClass, getType, removeTypeField, setTypeFieldMethods 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
-
Pstn
protected Pstn() -
Pstn
Creates a new PSTN (phone) channel.- Parameters:
number- The telephone number in E.164 format.
-
-
Method Details
-
getNumber
Phone number for this channel.- Returns:
- The number in E.164 format.
-