Interface AvailableNumber


public interface AvailableNumber
The phone numbers that are available to be rented in the Sinch Customer Dashboard or via the public numbers API.
  • Method Details

    • getPhoneNumber

      String getPhoneNumber()
      The phone number in E.164 format with leading +.
      Returns:
      phoneNumber
      Read Only
      This field is returned by the server and cannot be modified
    • getRegionCode

      String getRegionCode()
      ISO 3166-1 alpha-2 country code of the phone number. Example: US, GB or SE.
      Returns:
      regionCode
      Read Only
      This field is returned by the server and cannot be modified
    • getType

      NumberType getType()
      Get type
      Returns:
      type
    • getCapability

      List<Capability> getCapability()
      The capability of the number.
      Returns:
      capability
    • getSetupPrice

      Money getSetupPrice()
      Get setupPrice
      Returns:
      setupPrice
    • getMonthlyPrice

      Money getMonthlyPrice()
      Get monthlyPrice
      Returns:
      monthlyPrice
    • getPaymentIntervalMonths

      Integer getPaymentIntervalMonths()
      How often the recurring price is charged in months.
      Returns:
      paymentIntervalMonths
      Read Only
      This field is returned by the server and cannot be modified
    • getSupportingDocumentationRequired

      Boolean getSupportingDocumentationRequired()
      Whether or not supplementary documentation will be required to complete the number rental.
      Returns:
      supportingDocumentationRequired
      Read Only
      This field is returned by the server and cannot be modified
    • builder

      static AvailableNumber.Builder builder()
      Getting builder
      Returns:
      New Builder instance