Class DestinationNumber
java.lang.Object
com.sinch.sdk.domains.voice.models.Destination
com.sinch.sdk.domains.voice.models.DestinationNumber
Destination of numbers type
-
Constructor Summary
ConstructorDescriptionDestinationNumber
(E164PhoneNumber phoneNumber) Create a destination instance of type PSTNDestinationNumber
(E164PhoneNumber phoneNumber, DestinationNumberType type) Create a destination instance of specified type -
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
int
hashCode()
toString()
static DestinationNumber
-
Constructor Details
-
DestinationNumber
Create a destination instance of type PSTN- Parameters:
phoneNumber
- Valid E164 phone number
-
DestinationNumber
Create a destination instance of specified type- Parameters:
phoneNumber
- Valid E164 phone numbertype
- Phone number type
-
-
Method Details