public class AIProduct
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
categoryName
categoryName - The category name expressed as a String showing the levels..
|
private java.lang.String |
custom1
custom1.
|
private java.lang.String |
custom2
custom2.
|
private java.lang.String |
custom3
custom3.
|
private java.lang.String |
custom4
custom4.
|
private java.lang.String |
custom5
custom5.
|
private java.lang.String |
description
description - A textual description of the product
|
private int |
id
id - the KonaKart product Id
|
private java.lang.String |
manufacturerName
manufacturerName
|
private java.lang.String |
model
model - the product model
|
private java.lang.String |
name
name - the name of the product
|
private java.math.BigDecimal |
price0
price0 - The price0 of the product
|
private int |
viewedCount
viewedCount - the number of times the product has been viewed
|
Constructor and Description |
---|
AIProduct()
Constructor
|
Modifier and Type | Method and Description |
---|---|
AIProduct |
createProduct(AdminProduct adminProd,
java.lang.String catName)
Create a Product for export from an AdminProduct
|
java.lang.String |
getCategoryName() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.lang.String |
getDescription() |
int |
getId() |
java.lang.String |
getManufacturerName() |
java.lang.String |
getModel() |
java.lang.String |
getName() |
java.math.BigDecimal |
getPrice0() |
int |
getViewedCount() |
void |
setCategoryName(java.lang.String categoryName) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setDescription(java.lang.String description) |
void |
setId(int id) |
void |
setManufacturerName(java.lang.String manufacturerName) |
void |
setModel(java.lang.String model) |
void |
setName(java.lang.String name) |
void |
setPrice0(java.math.BigDecimal price0) |
void |
setViewedCount(int viewedCount) |
java.lang.String |
toString() |
private int id
private java.lang.String model
private java.math.BigDecimal price0
private java.lang.String name
private java.lang.String manufacturerName
private java.lang.String categoryName
private java.lang.String description
private int viewedCount
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private java.lang.String custom4
private java.lang.String custom5
public java.lang.String toString()
toString
in class java.lang.Object
public AIProduct createProduct(AdminProduct adminProd, java.lang.String catName)
adminProd
- a productcatName
- category namepublic java.lang.String getManufacturerName()
public void setManufacturerName(java.lang.String manufacturerName)
manufacturerName
- The manufacturerName to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to set.public int getId()
public void setId(int id)
id
- The id to set.public java.lang.String getModel()
public void setModel(java.lang.String model)
model
- The model to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public int getViewedCount()
public void setViewedCount(int viewedCount)
viewedCount
- The viewedCount to set.public java.math.BigDecimal getPrice0()
public void setPrice0(java.math.BigDecimal price0)
price0
- The price0 to set.public java.lang.String getCategoryName()
public void setCategoryName(java.lang.String categoryName)
categoryName
- the categoryName to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setpublic java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- the custom4 to setpublic java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- the custom5 to setCopyright © 2018 DS Data Systems UK Ltd.