Interface AvailableNumberRentAnyRequest


public interface AvailableNumberRentAnyRequest
Request message for searching and renting in one go any number that matches the search criteria.
  • Method Details

    • getNumberPattern

      SearchPattern getNumberPattern()
      Get numberPattern
      Returns:
      numberPattern
    • getRegionCode

      String getRegionCode()
      Region code to filter by. 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
    • getCapabilities

      List<Capability> getCapabilities()
      Number capabilities to filter by, SMS and/or VOICE.
      Returns:
      capabilities
    • getSmsConfiguration

      SmsConfiguration getSmsConfiguration()
      Get smsConfiguration
      Returns:
      smsConfiguration
    • getVoiceConfiguration

      VoiceConfiguration getVoiceConfiguration()
      Get voiceConfiguration
      Returns:
      voiceConfiguration
    • getCallbackUrl

      String getCallbackUrl()
      The active number's callback URL to be called for provisioning / deprovisioning updates
      Returns:
      callbackUrl
    • builder

      Getting builder
      Returns:
      New Builder instance