Class ProductItem
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.messages.whatsapp.ProductItem
- All Implemented Interfaces:
Jsonable
Used for inbound product orders.
- Since:
- 7.2.0
-
Method Summary
Modifier and TypeMethodDescriptionThe currency code representing the currency for this specific item.The unit price for this specific item.The ID of the specific product being ordered.The quantity ordered for this specific item.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
-
Method Details
-
getProductRetailerId
The ID of the specific product being ordered.- Returns:
- The product ID.
-
getQuantity
The quantity ordered for this specific item.- Returns:
- The order quantity as an integer, or
nullif not applicable.
-
getItemPrice
The unit price for this specific item.- Returns:
- The order item price as a double, or
nullif not applicable.
-
getCurrency
The currency code representing the currency for this specific item.- Returns:
- The currency for the order, or
nullif not applicable.
-