Class ProductItem

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.messages.whatsapp.ProductItem
All Implemented Interfaces:
Jsonable

public final class ProductItem extends JsonableBaseObject
Used for inbound product orders.
Since:
7.2.0
  • Method Details

    • getProductRetailerId

      The ID of the specific product being ordered.
      Returns:
      The product ID.
    • getQuantity

      public Integer getQuantity()
      The quantity ordered for this specific item.
      Returns:
      The order quantity as an integer, or null if not applicable.
    • getItemPrice

      public Double getItemPrice()
      The unit price for this specific item.
      Returns:
      The order item price as a double, or null if not applicable.
    • getCurrency

      The currency code representing the currency for this specific item.
      Returns:
      The currency for the order, or null if not applicable.