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
    • getRegionCode

      String getRegionCode()
      ISO 3166-1 alpha-2 country code of the phone number. Example: US, GB or SE.
      Returns:
      regionCode
    • 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
    • getSupportingDocumentationRequired

      Boolean getSupportingDocumentationRequired()
      Whether or not supplementary documentation will be required to complete the number rental.
      Returns:
      supportingDocumentationRequired
    • builder

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