Class DestinationNumber

java.lang.Object
com.sinch.sdk.domains.voice.models.Destination
com.sinch.sdk.domains.voice.models.DestinationNumber

public class DestinationNumber extends Destination
Destination of numbers type
  • Constructor Details

    • DestinationNumber

      public DestinationNumber(E164PhoneNumber phoneNumber)
      Create a destination instance of type PSTN
      Parameters:
      phoneNumber - Valid E164 phone number
    • DestinationNumber

      public DestinationNumber(E164PhoneNumber phoneNumber, DestinationNumberType type)
      Create a destination instance of specified type
      Parameters:
      phoneNumber - Valid E164 phone number
      type - Phone number type
  • Method Details