Class NumberInformation
java.lang.Object
com.sinch.sdk.domains.voice.models.NumberInformation
Detailed information about a number
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionNumberInformation
(String countryId, NumberType numberType, E164PhoneNumber normalizedNumber, Boolean restricted, Price rate) -
Method Summary
Modifier and TypeMethodDescriptionstatic NumberInformation.Builder
builder()
Create a builder instanceThe ISO 3166-1 formatted country codeThe number in E.164 formatThe type of the numbergetRate()
The cost per minute to call the destination numberConcerns whether the number is restricted or nottoString()
-
Constructor Details
-
NumberInformation
public NumberInformation(String countryId, NumberType numberType, E164PhoneNumber normalizedNumber, Boolean restricted, Price rate)
-
-
Method Details
-
getCountryId
The ISO 3166-1 formatted country code- Returns:
- Country Id
-
getNumberType
The type of the number- Returns:
- Number type
-
getNormalizedNumber
The number in E.164 format- Returns:
- The number
-
getRestricted
Concerns whether the number is restricted or not- Returns:
- Restricted or not
-
getRate
The cost per minute to call the destination number- Returns:
- Price
-
toString
-
builder
Create a builder instance- Returns:
- Dedicated builder
-