public class WhatsAppOrderContent extends WhatsAppInboundMessage
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_CATALOG_ID |
static String |
SERIALIZED_NAME_PRODUCT_ITEMS |
static String |
SERIALIZED_NAME_TEXT |
SERIALIZED_NAME_CONTEXT, SERIALIZED_NAME_TYPE, type| Constructor and Description |
|---|
WhatsAppOrderContent() |
| Modifier and Type | Method and Description |
|---|---|
WhatsAppOrderContent |
addProductItemsItem(WhatsAppProductItem productItemsItem) |
WhatsAppOrderContent |
catalogId(String catalogId) |
boolean |
equals(Object o) |
String |
getCatalogId()
The ID that uniquely identifies the catalog registered with Facebook, connected to the WABA the
sender belongs to.
|
List<WhatsAppProductItem> |
getProductItems()
An array of selected products.
|
String |
getText()
Text sent with order.
|
int |
hashCode() |
WhatsAppOrderContent |
productItems(List<WhatsAppProductItem> productItems) |
void |
setCatalogId(String catalogId) |
void |
setProductItems(List<WhatsAppProductItem> productItems) |
void |
setText(String text) |
WhatsAppOrderContent |
text(String text) |
String |
toString() |
context, getContext, getType, setContext, setType, typepublic static final String SERIALIZED_NAME_CATALOG_ID
public static final String SERIALIZED_NAME_TEXT
public static final String SERIALIZED_NAME_PRODUCT_ITEMS
public WhatsAppOrderContent catalogId(String catalogId)
public String getCatalogId()
public void setCatalogId(String catalogId)
public WhatsAppOrderContent text(String text)
public String getText()
public void setText(String text)
public WhatsAppOrderContent productItems(List<WhatsAppProductItem> productItems)
public WhatsAppOrderContent addProductItemsItem(WhatsAppProductItem productItemsItem)
public List<WhatsAppProductItem> getProductItems()
public void setProductItems(List<WhatsAppProductItem> productItems)
public boolean equals(Object o)
equals in class WhatsAppInboundMessagepublic int hashCode()
hashCode in class WhatsAppInboundMessagepublic String toString()
toString in class WhatsAppInboundMessageCopyright © 2022. All rights reserved.