Package com.vonage.client.account
Class Network
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.account.Network
- All Implemented Interfaces:
Jsonable
Represents a network in
PricingResponse.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Mobile Country Code and Mobile Network Code combined to give a unique reference for the operator.Currency code for the network price.getMcc()Mobile Country Code of the operator.getMnc()Mobile Network Code of the operator.getName()Company/organisational name of the operator.getPrice()Cost to send a message or make a call to this networkgetType()Network type.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
-
Network
Deprecated.
-
-
Method Details
-
getType
Network type.- Returns:
- The type of network as an enum.
-
getPrice
Cost to send a message or make a call to this network- Returns:
- The network price, or
nullif unknown.
-
getCurrency
Currency code for the network price.- Returns:
- The currency code as a string, or
nullif unknown.
-
getMcc
Mobile Country Code of the operator.- Returns:
- The network operator's mobile country code as a string, or
nullif unknown.
-
getMnc
Mobile Network Code of the operator.- Returns:
- The network operator's code as a string, or
nullif unknown.
-
getCode
Mobile Country Code and Mobile Network Code combined to give a unique reference for the operator.- Returns:
- The network code (MCC and MNC) as a string, or
nullif unknown.
-
getName
Company/organisational name of the operator.- Returns:
- The network operator name, or
nullif unknown.
-