Class Network

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.account.Network
All Implemented Interfaces:
Jsonable

public class Network extends JsonableBaseObject
Represents a network in PricingResponse.
  • Constructor Details

  • Method Details

    • getType

      Network type.
      Returns:
      The type of network as an enum.
    • getPrice

      public BigDecimal getPrice()
      Cost to send a message or make a call to this network
      Returns:
      The network price, or null if unknown.
    • getCurrency

      public String getCurrency()
      Currency code for the network price.
      Returns:
      The currency code as a string, or null if unknown.
    • getMcc

      public String getMcc()
      Mobile Country Code of the operator.
      Returns:
      The network operator's mobile country code as a string, or null if unknown.
    • getMnc

      public String getMnc()
      Mobile Network Code of the operator.
      Returns:
      The network operator's code as a string, or null if unknown.
    • getCode

      public String 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 null if unknown.
    • getName

      public String getName()
      Company/organisational name of the operator.
      Returns:
      The network operator name, or null if unknown.