public class Product extends BusinessObject
Modifier and Type | Class and Description |
---|---|
static class |
Product.Action
Action enum
|
Modifier and Type | Method and Description |
---|---|
CustomObjects |
CustomObjects()
Get CustomObjects
|
Product.Action |
getAction()
Get action
|
java.lang.String |
getCategory1()
Get product first category
|
java.lang.String |
getCategory2()
Get product second category
|
java.lang.String |
getCategory3()
Get product third category
|
java.lang.String |
getCategory4()
Get product fourth category
|
java.lang.String |
getCategory5()
Get product fifth category
|
java.lang.String |
getCategory6()
Get product sixth category
|
double |
getDiscountTaxFree()
Get discount tax free value
|
double |
getDiscountTaxIncluded()
Get discount tax included value
|
java.lang.String |
getProductId()
Get product identifier
|
java.lang.String |
getPromotionalCode()
Get promotional code
|
int |
getQuantity()
Get quantity
|
double |
getUnitPriceTaxFree()
Get unit price tax free value
|
double |
getUnitPriceTaxIncluded()
Get unit price tax included value
|
void |
sendView()
Send viewed product
|
Product |
setAction(Product.Action action)
Set a new action
|
Product |
setCategory1(java.lang.String category1)
Set a new first category
|
Product |
setCategory2(java.lang.String category2)
Set a new second category
|
Product |
setCategory3(java.lang.String category3)
Set a new third category
|
Product |
setCategory4(java.lang.String category4)
Set a new fourth category
|
Product |
setCategory5(java.lang.String category5)
Set a new fifth category
|
Product |
setCategory6(java.lang.String category6)
Set a new sixth category
|
Product |
setDiscountTaxFree(double discountTaxFree)
Set a new discount tax free value
|
Product |
setDiscountTaxIncluded(double discountTaxIncluded)
Set a new discount tax included value
|
Product |
setProductId(java.lang.String productId)
Set a new product identifier
|
Product |
setPromotionalCode(java.lang.String promotionalCode)
Set a new promotional code
|
Product |
setQuantity(int quantity)
Set a new quantity
|
Product |
setUnitPriceTaxFree(double unitPriceTaxFree)
Set a new unit price tax free
|
Product |
setUnitPriceTaxIncluded(double unitPriceTaxIncluded)
Set a new unit price tax included value
|
getId, setTimestamp
public Product(Tracker tracker)
public Product.Action getAction()
public java.lang.String getProductId()
public java.lang.String getCategory1()
public java.lang.String getCategory2()
public java.lang.String getCategory3()
public java.lang.String getCategory4()
public java.lang.String getCategory5()
public java.lang.String getCategory6()
public int getQuantity()
public double getUnitPriceTaxIncluded()
public double getUnitPriceTaxFree()
public double getDiscountTaxIncluded()
public double getDiscountTaxFree()
public java.lang.String getPromotionalCode()
public Product setAction(Product.Action action)
action
- /public Product setProductId(java.lang.String productId)
productId
- product identifierpublic Product setCategory1(java.lang.String category1)
category1
- /public Product setCategory2(java.lang.String category2)
category2
- /public Product setCategory3(java.lang.String category3)
category3
- /public Product setCategory4(java.lang.String category4)
category4
- /public Product setCategory5(java.lang.String category5)
category5
- /public Product setCategory6(java.lang.String category6)
category6
- /public Product setQuantity(int quantity)
quantity
- /public Product setUnitPriceTaxIncluded(double unitPriceTaxIncluded)
unitPriceTaxIncluded
- /public Product setUnitPriceTaxFree(double unitPriceTaxFree)
unitPriceTaxFree
- /public Product setDiscountTaxIncluded(double discountTaxIncluded)
discountTaxIncluded
- /public Product setDiscountTaxFree(double discountTaxFree)
discountTaxFree
- /public Product setPromotionalCode(java.lang.String promotionalCode)
promotionalCode
- /public CustomObjects CustomObjects()
public void sendView()