Package com.mparticle.commerce
Class Impression
- java.lang.Object
-
- com.mparticle.commerce.Impression
-
public class Impression extends java.lang.Object
Class representing an impression of one of moreProduct
objects.
-
-
Constructor Summary
Constructors Constructor Description Impression(Impression impression)
Impression(java.lang.String listName, Product product)
Create an Impression object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Impression
addProduct(Product product)
Add a Product to this Impressionjava.lang.String
getListName()
java.util.List<Product>
getProducts()
-
-
-
Constructor Detail
-
Impression
public Impression(@NonNull java.lang.String listName, @NonNull Product product)
Create an Impression object.- Parameters:
listName
- a string name given to the list where the given Products displayedproduct
- a Product to associate with the Impression
-
Impression
public Impression(@NonNull Impression impression)
-
-
Method Detail
-
getListName
@NonNull public java.lang.String getListName()
-
getProducts
@NonNull public java.util.List<Product> getProducts()
-
addProduct
@NonNull public Impression addProduct(@NonNull Product product)
Add a Product to this Impression- Parameters:
product
-- Returns:
-
-