Class NumberInformation

java.lang.Object
com.sinch.sdk.domains.voice.models.NumberInformation

public class NumberInformation extends Object
Detailed information about a number
  • Constructor Details

  • Method Details

    • getCountryId

      public String getCountryId()
      The ISO 3166-1 formatted country code
      Returns:
      Country Id
    • getNumberType

      public NumberType getNumberType()
      The type of the number
      Returns:
      Number type
    • getNormalizedNumber

      public E164PhoneNumber getNormalizedNumber()
      The number in E.164 format
      Returns:
      The number
    • getRestricted

      public Boolean getRestricted()
      Concerns whether the number is restricted or not
      Returns:
      Restricted or not
    • getRate

      public Price getRate()
      The cost per minute to call the destination number
      Returns:
      Price
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static NumberInformation.Builder builder()
      Create a builder instance
      Returns:
      Dedicated builder