Package com.vonage.client.insight
Class RoamingDetails
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.insight.RoamingDetails
- All Implemented Interfaces:
Jsonable
Information about the roaming status for number. This is applicable to mobile numbers only.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRepresents whether the number is outside its home carrier network, as an enum. -
Constructor Summary
ConstructorsConstructorDescriptionRoamingDetails(RoamingDetails.RoamingStatus status, String roamingCountryCode, String roamingNetworkCode, String roamingNetworkName) -
Method Summary
Modifier and TypeMethodDescriptionMethods 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
-
RoamingDetails
public RoamingDetails(RoamingDetails.RoamingStatus status, String roamingCountryCode, String roamingNetworkCode, String roamingNetworkName)
-
-
Method Details
-
getStatus
- Returns:
- The roaming status, as an enum.
-
getRoamingCountryCode
- Returns:
- If number is roaming, this is the code of the country the number is roaming in.
-
getRoamingNetworkCode
- Returns:
- If the number is roaming, this is the ID of the carrier network the number is roaming in.
-
getRoamingNetworkName
- Returns:
- If the number is roaming, this is the name of the carrier network the number is roaming in.
-