Package com.usebutton.merchant.module
Interface ButtonUserActivity
-
- All Implemented Interfaces:
public interface ButtonUserActivityAn interface through which user activities can be reported.
-
-
Method Summary
Modifier and Type Method Description abstract voidproductViewed(@Nullable() ButtonProductCompatible product)Report that the user has viewed a product. abstract voidproductAddedToCart(@Nullable() ButtonProductCompatible product)Report that the user has added a product to their cart. abstract voidcartViewed(@Nullable() List<ButtonProductCompatible> products)Report that the user viewed their cart. -
-
Method Detail
-
productViewed
abstract void productViewed(@Nullable() ButtonProductCompatible product)
Report that the user has viewed a product.
- Parameters:
product- the viewed product
-
productAddedToCart
abstract void productAddedToCart(@Nullable() ButtonProductCompatible product)
Report that the user has added a product to their cart.
- Parameters:
product- the added product
-
cartViewed
abstract void cartViewed(@Nullable() List<ButtonProductCompatible> products)
Report that the user viewed their cart.
- Parameters:
products- the products in the cart
-
-
-
-