Package com.vonage.client.insight
Class CarrierDetails
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.insight.CarrierDetails
- All Implemented Interfaces:
Jsonable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum representing the type of network that the number is associated with. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
CarrierDetails
public CarrierDetails()
-
-
Method Details
-
getNetworkCode
- Returns:
- The mobile country code for the carrier the number is associated with. Unreal numbers are marked as null and the request is rejected altogether if the number is impossible according to the E.164 guidelines.
-
getName
- Returns:
- The full name of the carrier that the number is associated with.
-
getCountry
- Returns:
- The country that the number is associated with. This is in ISO 3166-1 alpha-2 format.
-
getNetworkType
- Returns:
- The network type, as an enum.
-