Package com.vonage.client.account
Class PricingResponse
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.account.PricingResponse
- All Implemented Interfaces:
Jsonable
Pricing information for a specific country.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PricingResponseDeprecated.This will be removed in the next major release.Details of the country this pricing information is for.Currency that your account is being billed in (EUR by default).Default price for the country.Dialing prefix for the country.List of supported networks in the country.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
-
PricingResponse
Deprecated.
-
-
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
Currency that your account is being billed in (EUR by default).- Returns:
- The billing currency code as a string.
-
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.
-