Interface ProductItem
- All Superinterfaces:
ListItem<ProductItem>
A message component for interactive messages, containing a product.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProductItem.Builder
builder()
Getting builderOutput only.getId()
Required parameter.Output only.Required parameter.Output only.
-
Method Details
-
getId
String getId()Required parameter. The ID for the product.- Returns:
- id
-
getMarketplace
String getMarketplace()Required parameter. The marketplace to which the product belongs.- Returns:
- marketplace
-
getQuantity
Integer getQuantity()Output only. The quantity of the chosen product.- Returns:
- quantity
-
getItemPrice
Float getItemPrice()Output only. The price for one unit of the chosen product.- Returns:
- itemPrice
-
getCurrency
String getCurrency()Output only. The currency of the item_price.- Returns:
- currency
-
builder
Getting builder- Returns:
- New Builder instance
-