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.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AvailableNumber.Builder
builder()
Getting builderThe capability of the number.Get monthlyPriceHow often the recurring price is charged in months.The phone number in E.164 format with leading+
.ISO 3166-1 alpha-2 country code of the phone number.Get setupPriceWhether or not supplementary documentation will be required to complete the number rental.getType()
Get type
-
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
orSE
.- 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
Getting builder- Returns:
- New Builder instance
-