Interface AvailableNumberRentAnyRequest
public interface AvailableNumberRentAnyRequest
Request message for searching and renting in one go any number that matches the search criteria.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Getting builderThe active number's callback URL to be called for provisioning / deprovisioning updatesNumber capabilities to filter by,SMS
and/orVOICE
.Get numberPatternRegion code to filter by.Get smsConfigurationgetType()
Get typeGet voiceConfiguration
-
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
orSE
.- Returns:
- regionCode
-
getType
NumberType getType()Get type- Returns:
- type
-
getCapabilities
List<Capability> getCapabilities()Number capabilities to filter by,SMS
and/orVOICE
.- 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
-