Package com.whatsapp.api.domain.config
Class CommerceDataItem
java.lang.Object
com.whatsapp.api.domain.config.CommerceDataItem
The type Commerce data item.
- is_catalog_visible - Optional. Set to true to enable cart and display cart-related buttons in the business phone number's messages, catalogs, and product details.
Set to false to disable cart. When disabled, customers can see products and their details in messages, but all cart related buttons will not appear in any message view.
- is_cart_enabled – Optional. Set to true to enable catalog. When enabled, catalog storefront icon and catalog-related buttons appear in the business phone number's messages and business profile. Set to false to disable catalog. If disabled, the storefront icon and catalog-related buttons will not appear in any views and the catalog preview with thumbnails will not appear in the business profile view. In addition, wa.me links to the business's catalog, as well as the View catalog button that appears when sending catalog links in a message will display an Invalid catalog link warning when tapped.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
setCartEnabled
(Boolean cartEnabled) setCatalogVisible
(Boolean catalogVisible)
-
Constructor Details
-
CommerceDataItem
public CommerceDataItem()
-
-
Method Details
-
getId
-
isCatalogVisible
-
setCatalogVisible
-
isCartEnabled
-
setCartEnabled
-