Package com.vonage.client.messages
Class MessageStatus.Usage
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.messages.MessageStatus.Usage
- All Implemented Interfaces:
Jsonable
- Enclosing class:
MessageStatus
Describes the charge incurred for sending the message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe charge currency in ISO 4217 format.doublegetPrice()The amount charged for the message.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
-
Usage
public Usage()
-
-
Method Details
-
getCurrency
The charge currency in ISO 4217 format. Usually will beEUR(Euros).- Returns:
- The Currency.
-
getPrice
The amount charged for the message.- Returns:
- The amount, as a double.
-