public class WhatsAppProductItem extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_CURRENCY |
static String |
SERIALIZED_NAME_ITEM_PRICE |
static String |
SERIALIZED_NAME_PRODUCT_RETAILER_ID |
static String |
SERIALIZED_NAME_QUANTITY |
| Constructor and Description |
|---|
WhatsAppProductItem() |
| Modifier and Type | Method and Description |
|---|---|
WhatsAppProductItem |
currency(String currency) |
boolean |
equals(Object o) |
String |
getCurrency()
Currency of the product.
|
Double |
getItemPrice()
Price of the product.
|
String |
getProductRetailerId()
Product's unique identifier as defined in the catalog.
|
Integer |
getQuantity()
Quantity of the ordered product.
|
int |
hashCode() |
WhatsAppProductItem |
itemPrice(Double itemPrice) |
WhatsAppProductItem |
productRetailerId(String productRetailerId) |
WhatsAppProductItem |
quantity(Integer quantity) |
void |
setCurrency(String currency) |
void |
setItemPrice(Double itemPrice) |
void |
setProductRetailerId(String productRetailerId) |
void |
setQuantity(Integer quantity) |
String |
toString() |
public static final String SERIALIZED_NAME_CURRENCY
public static final String SERIALIZED_NAME_ITEM_PRICE
public static final String SERIALIZED_NAME_PRODUCT_RETAILER_ID
public static final String SERIALIZED_NAME_QUANTITY
public WhatsAppProductItem currency(String currency)
public String getCurrency()
public void setCurrency(String currency)
public WhatsAppProductItem itemPrice(Double itemPrice)
public Double getItemPrice()
public void setItemPrice(Double itemPrice)
public WhatsAppProductItem productRetailerId(String productRetailerId)
public String getProductRetailerId()
public void setProductRetailerId(String productRetailerId)
public WhatsAppProductItem quantity(Integer quantity)
public Integer getQuantity()
public void setQuantity(Integer quantity)
Copyright © 2022. All rights reserved.