Class PricingResponse

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

public class PricingResponse extends JsonableBaseObject
Pricing information for a specific country.
  • Constructor Details

  • Method Details

    • getDialingPrefix

      Dialing prefix for the country.
      Returns:
      The dialing prefix as a string.
    • getDefaultPrice

      Default price for the country.
      Returns:
      The default price.
    • getCurrency

      public String getCurrency()
      Currency that your account is being billed in (EUR by default).
      Returns:
      The billing currency code as a string.
    • getCountry

      public Country getCountry()
      Details of the country this pricing information is for.
      Returns:
      The country.
    • getNetworks

      List of supported networks in the country.
      Returns:
      The list of networks.
    • fromJson

      Deprecated.
      This will be removed in the next major release.
      Creates an instance of this class from a JSON payload.
      Parameters:
      json - The JSON string to parse.
      Returns:
      An instance of this class with the fields populated, if present.