public class AdminProduct
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private AdminProductAttribute[] |
attributes
Array of attributes
|
private AdminProdAttrTemplate[] |
attrTemplates
Array of custom attribute templates
|
private AdminBookableProduct |
bookableProd
Bookable Product
|
private int |
bundledProdQuantity
bundledProdQuantity - The number of times that this product appears in the bundle
|
private java.lang.Boolean |
canOrderWhenNotInStock
If null then we use the global value set by the config variable STOCK_ALLOW_CHECKOUT.
|
private AdminCategory[] |
categories
category
|
private int |
categoryId
categoryId
|
private java.lang.String |
comparison
comparison - This is a read-only attribute populated for a product for a specific language.
|
private java.lang.String |
contentType
contentType: Valid for Digital Products
|
private java.lang.String |
custom1
custom field
|
private java.lang.String |
custom10
custom field
|
private java.lang.String |
custom11
custom field
|
private java.math.BigDecimal |
custom1Dec
custom field
|
private int |
custom1Int
custom field
|
private java.lang.String |
custom2
custom field
|
private java.math.BigDecimal |
custom2Dec
custom field
|
private int |
custom2Int
custom field
|
private java.lang.String |
custom3
custom field
|
private java.lang.String |
custom4
custom field
|
private java.lang.String |
custom5
custom field
|
private java.lang.String |
custom6
custom field
|
private java.lang.String |
custom7
custom field
|
private java.lang.String |
custom8
custom field
|
private java.lang.String |
custom9
custom field
|
private AdminProdAttrDesc[] |
customAttrArray |
private java.lang.String |
customAttrs
Custom attributes
|
private java.lang.String |
customd1
custom description field
|
private java.lang.String |
customd2
custom description field
|
private java.lang.String |
customd3
custom description field
|
private java.lang.String |
customd4
custom description field
|
private java.lang.String |
customd5
custom description field
|
private java.lang.String |
customd6
custom description field
|
private java.util.Date |
dateAdded
dateAdded
|
private java.util.Date |
dateAvailable
dateAvailable
|
private java.util.Date |
dateLastModified
dateLastModifies
|
private int |
defaultQuantityInOrder
Default number of Articles in an Order
|
private int |
depth
depth
|
private java.lang.String |
description
description - This is a read-only attribute populated for a product for a specific language.
|
private AdminProductDescription[] |
descriptions
Array of product descriptions
|
private java.lang.String |
encodedOptionValues
encodedOptionValues 3{5}4{1} which means product_options of id==3 and product_options_values
of id==5 followed by product_options of id==4 and product_options_values of id==1.
|
private java.util.Date |
expiryDate
expiryDate
|
private java.util.Date |
extDateAvailable
Used to store any external Date Available - it overrides the dataAvailable value if present
|
private java.math.BigDecimal |
extPrice0
External attributes
|
private java.math.BigDecimal |
extPrice1 |
private java.math.BigDecimal |
extPrice2 |
private java.math.BigDecimal |
extPrice3 |
private java.lang.Integer |
extQuantity
extQuantity
|
private java.lang.String |
filePath
filePath: Valid for digital products
|
private java.lang.String |
formattedPriceExTax
Formatted price for use in UI
|
private java.lang.String |
formattedPriceIncTax
Formatted price for use in UI
|
private java.lang.String |
formattedSpecialPriceExTax
Formatted price for use in UI
|
private java.lang.String |
formattedSpecialPriceIncTax
Formatted price for use in UI
|
private int |
id
id
|
private boolean |
ignoreProductQuantityStock
When set to true, even if the product has many different SKUs, KonaKart maintains the stock
level using the quantity attribute of the product and not the quantity attributes of the
array of ProductQuantity objects.
|
private java.lang.String |
image
image
|
private java.lang.String |
image2
image2
|
private java.lang.String |
image3
image3
|
private java.lang.String |
image4
image4
|
private java.lang.String |
imageCrc
imageCrc
|
private java.lang.String |
imageDir
imageDir
|
private boolean |
indexAttachment
If the product is a digital download and the SOLR search engine is enabled, then the
attachment is indexed within the search engine when this boolean is set.
|
private byte |
invisible
invisible
|
private int |
length
length
|
private AdminManufacturer |
manufacturer
manufacturer
|
private int |
manufacturerId
manufacturerId
|
private java.lang.String |
manufacturerName
manufacturerName
|
private java.util.Date |
masterProdDate
When copies of the same product exist in different stores, this is the last modified date of
the master product.
|
private int |
maxDownloadDays
Maximum number of days a product can be downloaded in the case of digital downloads.
|
private int |
maxNumDownloads
Maximum number of downloads in the case of digital download products.
|
private int |
maxQuantityInOrder
Maximum number of Articles in an Order
|
private int |
minQuantityInOrder
Minimum number of Articles in an Order
|
private AdminMiscItem[] |
miscItems
Miscellaneous Items
|
private AdminMiscPrice[] |
miscPrices
Miscellaneous Prices
|
private java.lang.String |
model
model
|
private java.lang.String |
name
name - This is a read-only attribute populated for a product for a specific language.
|
private java.math.BigDecimal |
netWeightOrVolume
The weight or volume of the raw product
|
private java.lang.String |
netWeightOrVolumeUOM
The unit of measure for the net weight or volume (e.g.
|
private int |
numberReviews
numberReviews
|
private AdminOption[] |
opts
Array of options - opts
|
private int |
ordered
Number of times it has been ordered
|
private AdminPaymentSchedule |
paymentSchedule
Payment Schedule
|
private int |
paymentScheduleId
Determines whether the product requires recurring billing and if so, connects it to a Payment
Schedule object.
|
private java.math.BigDecimal |
price0 |
private java.math.BigDecimal |
price1 |
private java.math.BigDecimal |
price2 |
private java.math.BigDecimal |
price3 |
private java.math.BigDecimal |
priceExTax
price excluding tax
|
private int |
priceId
Determines which price to be used in certain engine modes
|
private java.math.BigDecimal |
priceIncTax
price including tax
|
private AdminProductQuantity[] |
productQuantities
An array of productQuantity objects that define different quantities for different options
|
private int |
quantity
quantity
|
private java.math.BigDecimal |
rating
Rating
|
private java.lang.String |
sizeUOM
size unit of measure
|
private java.lang.String |
sku
SKU
|
private java.util.Date |
specialExpiryDate |
private int |
specialId |
private java.math.BigDecimal |
specialPriceExTax
specialPrice excluding tax
|
private java.math.BigDecimal |
specialPriceIncTax
specialPrice including tax
|
private java.util.Date |
specialStartDate |
private byte |
specialStatus |
private byte |
status
status
|
private int |
stockReorderLevel
Product needs to be reordered when the stock hits this level.
|
private java.lang.String |
storeCustom1
Custom field with unique value for a store when in multi-store shared products mode
|
private java.lang.String |
storeCustom2
Custom field with unique value for a store when in multi-store shared products mode
|
private java.lang.String |
storeCustom3
Custom field with unique value for a store when in multi-store shared products mode
|
private int |
taxClassId
taxClassId
|
private int |
templateId
Deprecated.
Use attrTemplates instead which allows a product to be associated with an array
of templates.
|
private java.lang.String |
templateName
Deprecated.
Use attrTemplates instead which allows a product to be associated with an array
of templates.
|
private AdminTierPrice[] |
tierPrices
Array of tier prices
|
private int |
type
product type.
|
private java.lang.String |
url
URL - This is a read-only attribute populated for a product for a specific language.
|
private java.lang.String |
uuid
A unique identifier to identify products that exist in different stores in different
versions.
|
private AdminVariantPrice[] |
variantPrices
Array of variant prices
|
private int |
viewedCount
viewedCount
|
private java.math.BigDecimal |
weight
weight
|
private java.lang.String |
weightUOM
weight unit of measure
|
private int |
width
width
|
Constructor and Description |
---|
AdminProduct()
Constructor
|
AdminProduct(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Product object from a Record object
|
Modifier and Type | Method and Description |
---|---|
int |
calculateProductQuantity()
Returns the quantity of a product.
|
AdminProductAttribute[] |
getAttributes() |
AdminProdAttrTemplate[] |
getAttrTemplates()
Array of custom attribute templates
|
AdminBookableProduct |
getBookableProd() |
int |
getBundledProdQuantity()
The number of times that this product appears in the bundle
|
java.lang.Boolean |
getCanOrderWhenNotInStock() |
AdminCategory[] |
getCategories() |
int |
getCategoryId() |
java.lang.String |
getComparison() |
java.lang.String |
getContentType() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom10() |
java.lang.String |
getCustom11() |
java.math.BigDecimal |
getCustom1Dec() |
int |
getCustom1Int() |
java.lang.String |
getCustom2() |
java.math.BigDecimal |
getCustom2Dec() |
int |
getCustom2Int() |
java.lang.String |
getCustom3() |
java.lang.String |
getCustom4() |
java.lang.String |
getCustom5() |
java.lang.String |
getCustom6() |
java.lang.String |
getCustom7() |
java.lang.String |
getCustom8() |
java.lang.String |
getCustom9() |
AdminProdAttrDesc[] |
getCustomAttrArray()
An array of AdminProdAttrDesc objects
|
java.lang.String |
getCustomAttrs()
Contains the custom attributes in XML format
|
java.lang.String |
getCustomd1() |
java.lang.String |
getCustomd2() |
java.lang.String |
getCustomd3() |
java.lang.String |
getCustomd4() |
java.lang.String |
getCustomd5() |
java.lang.String |
getCustomd6() |
java.util.Date |
getDateAdded() |
java.util.Date |
getDateAvailable() |
java.util.Date |
getDateLastModified() |
int |
getDefaultQuantityInOrder() |
int |
getDepth() |
java.lang.String |
getDescription() |
AdminProductDescription[] |
getDescriptions() |
java.lang.String |
getEncodedOptionValues() |
java.util.Date |
getExpiryDate() |
java.util.Date |
getExtDateAvailable() |
java.math.BigDecimal |
getExtPrice0() |
java.math.BigDecimal |
getExtPrice1() |
java.math.BigDecimal |
getExtPrice2() |
java.math.BigDecimal |
getExtPrice3() |
java.lang.Integer |
getExtQuantity() |
java.lang.String |
getFilePath() |
java.lang.String |
getFormattedPriceExTax() |
java.lang.String |
getFormattedPriceIncTax() |
java.lang.String |
getFormattedSpecialPriceExTax() |
java.lang.String |
getFormattedSpecialPriceIncTax() |
int |
getId() |
java.lang.String |
getImage() |
java.lang.String |
getImage2() |
java.lang.String |
getImage3() |
java.lang.String |
getImage4() |
java.lang.String |
getImageCrc() |
java.lang.String |
getImageDir() |
byte |
getInvisible() |
int |
getLength() |
AdminManufacturer |
getManufacturer() |
int |
getManufacturerId() |
java.lang.String |
getManufacturerName() |
java.util.Date |
getMasterProdDate()
When copies of the same product exist in different stores, this is the last modified date of
the master product.
|
int |
getMaxDownloadDays()
Maximum number of days a product can be downloaded in the case of digital downloads.
|
int |
getMaxNumDownloads()
Maximum number of downloads in the case of digital download products.
|
int |
getMaxQuantityInOrder() |
int |
getMinQuantityInOrder() |
AdminMiscItem[] |
getMiscItems()
Returns the array of Miscellaneous Items associated with this product.
|
AdminMiscPrice[] |
getMiscPrices() |
java.lang.String |
getModel() |
java.lang.String |
getName() |
java.math.BigDecimal |
getNetWeightOrVolume() |
java.lang.String |
getNetWeightOrVolumeUOM() |
int |
getNumberReviews() |
AdminOption[] |
getOpts() |
int |
getOrdered() |
AdminPaymentSchedule |
getPaymentSchedule()
A product may be associated to a PaymentSchedule object when it is paid for using recurring
billing.
|
int |
getPaymentScheduleId()
Determines whether the product requires recurring billing and if so, connects it to a Payment
Schedule object.
|
java.math.BigDecimal |
getPrice0() |
java.math.BigDecimal |
getPrice1() |
java.math.BigDecimal |
getPrice2() |
java.math.BigDecimal |
getPrice3() |
java.math.BigDecimal |
getPriceExTax() |
int |
getPriceId() |
java.math.BigDecimal |
getPriceIncTax() |
AdminProductQuantity[] |
getProductQuantities() |
int |
getQuantity() |
java.math.BigDecimal |
getRating() |
java.lang.String |
getSizeUOM()
Size Unit of Measure
|
java.lang.String |
getSku() |
java.util.Date |
getSpecialExpiryDate() |
int |
getSpecialId() |
java.math.BigDecimal |
getSpecialPriceExTax() |
java.math.BigDecimal |
getSpecialPriceIncTax() |
java.util.Date |
getSpecialStartDate() |
byte |
getSpecialStatus() |
byte |
getStatus() |
int |
getStockReorderLevel()
Product needs to be reordered when the stock hits this level.
|
java.lang.String |
getStoreCustom1()
Custom field with unique value for a store when in multi-store shared products mode
|
java.lang.String |
getStoreCustom2()
Custom field with unique value for a store when in multi-store shared products mode
|
java.lang.String |
getStoreCustom3()
Custom field with unique value for a store when in multi-store shared products mode
|
int |
getTaxClassId() |
int |
getTemplateId()
Deprecated.
Use attrTemplates instead which allows a product to be associated with an array
of templates.
|
java.lang.String |
getTemplateName()
Deprecated.
Use attrTemplates instead which allows a product to be associated with an array
of templates.
|
AdminTierPrice[] |
getTierPrices() |
int |
getType() |
java.lang.String |
getUrl() |
java.lang.String |
getUuid()
A unique identifier to identify products that exist in different stores in different
versions.
|
AdminVariantPrice[] |
getVariantPrices() |
int |
getViewedCount() |
java.math.BigDecimal |
getWeight() |
java.lang.String |
getWeightUOM()
Weight Unit of Measure
|
int |
getWidth() |
boolean |
isIgnoreProductQuantityStock()
When set to true, even if the product has many different SKUs, KonaKart maintains the stock
level using the quantity attribute of the product and not the quantity attributes of the
array of ProductQuantity objects.
|
boolean |
isIndexAttachment() |
void |
setAttributes(AdminProductAttribute[] attributes) |
void |
setAttrTemplates(AdminProdAttrTemplate[] attrTemplates)
Array of custom attribute templates
|
void |
setBookableProd(AdminBookableProduct bookableProd) |
void |
setBundledProdQuantity(int bundledProdQuantity)
The number of times that this product appears in the bundle
|
void |
setCanOrderWhenNotInStock(java.lang.Boolean canOrderWhenNotInStock) |
void |
setCategories(AdminCategory[] categories) |
void |
setCategoryId(int categoryId) |
void |
setComparison(java.lang.String comparison) |
void |
setContentType(java.lang.String contentType) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom10(java.lang.String custom10) |
void |
setCustom11(java.lang.String custom11) |
void |
setCustom1Dec(java.math.BigDecimal custom1Dec) |
void |
setCustom1Int(int custom1Int) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom2Dec(java.math.BigDecimal custom2Dec) |
void |
setCustom2Int(int custom2Int) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustom4(java.lang.String custom4) |
void |
setCustom5(java.lang.String custom5) |
void |
setCustom6(java.lang.String custom6) |
void |
setCustom7(java.lang.String custom7) |
void |
setCustom8(java.lang.String custom8) |
void |
setCustom9(java.lang.String custom9) |
void |
setCustomAttrArray(AdminProdAttrDesc[] customAttrArray)
An array of AdminProdAttrDesc objects
|
void |
setCustomAttrs(java.lang.String customAttrs)
Contains the custom attributes in XML format
|
void |
setCustomd1(java.lang.String customd1) |
void |
setCustomd2(java.lang.String customd2) |
void |
setCustomd3(java.lang.String customd3) |
void |
setCustomd4(java.lang.String customd4) |
void |
setCustomd5(java.lang.String customd5) |
void |
setCustomd6(java.lang.String customd6) |
void |
setDateAdded(java.util.Date dateAdded) |
void |
setDateAvailable(java.util.Date dateAvailable) |
void |
setDateLastModified(java.util.Date dateLastModified) |
void |
setDefaultQuantityInOrder(int defaultQuantityInOrder) |
void |
setDepth(int depth) |
void |
setDescription(java.lang.String description) |
void |
setDescriptions(AdminProductDescription[] descriptions) |
void |
setEncodedOptionValues(java.lang.String encodedOptionValues) |
void |
setExpiryDate(java.util.Date expiryDate) |
void |
setExtDateAvailable(java.util.Date extDateAvailable) |
void |
setExtPrice0(java.math.BigDecimal extPrice0) |
void |
setExtPrice1(java.math.BigDecimal extPrice1) |
void |
setExtPrice2(java.math.BigDecimal extPrice2) |
void |
setExtPrice3(java.math.BigDecimal extPrice3) |
void |
setExtQuantity(java.lang.Integer extQuantity) |
void |
setFilePath(java.lang.String filePath) |
void |
setFormattedPriceExTax(java.lang.String formattedPriceExTax) |
void |
setFormattedPriceIncTax(java.lang.String formattedPriceIncTax) |
void |
setFormattedSpecialPriceExTax(java.lang.String formattedSpecialPriceExTax) |
void |
setFormattedSpecialPriceIncTax(java.lang.String formattedSpecialPriceIncTax) |
void |
setId(int id) |
void |
setIgnoreProductQuantityStock(boolean ignoreProductQuantityStock)
When set to true, even if the product has many different SKUs, KonaKart maintains the stock
level using the quantity attribute of the product and not the quantity attributes of the
array of ProductQuantity objects.
|
void |
setImage(java.lang.String image) |
void |
setImage2(java.lang.String image2) |
void |
setImage3(java.lang.String image3) |
void |
setImage4(java.lang.String image4) |
void |
setImageCrc(java.lang.String imageCrc) |
void |
setImageDir(java.lang.String imageDir) |
void |
setIndexAttachment(boolean indexAttachment) |
void |
setInvisible(byte invisible) |
void |
setLength(int length) |
void |
setManufacturer(AdminManufacturer manufacturer) |
void |
setManufacturerId(int manufacturerId) |
void |
setManufacturerName(java.lang.String manufacturerName) |
void |
setMasterProdDate(java.util.Date masterProdDate)
When copies of the same product exist in different stores, this is the last modified date of
the master product.
|
void |
setMaxDownloadDays(int maxDownloadDays)
Maximum number of days a product can be downloaded in the case of digital downloads.
|
void |
setMaxNumDownloads(int maxNumDownloads)
Maximum number of downloads in the case of digital download products.
|
void |
setMaxQuantityInOrder(int maxQuantityInOrder) |
void |
setMinQuantityInOrder(int minQuantityInOrder) |
void |
setMiscItems(AdminMiscItem[] miscItems) |
void |
setMiscPrices(AdminMiscPrice[] miscPrices) |
void |
setModel(java.lang.String model) |
void |
setName(java.lang.String name) |
void |
setNetWeightOrVolume(java.math.BigDecimal netWeightOrVolume) |
void |
setNetWeightOrVolumeUOM(java.lang.String netWeightOrVolumeUOM) |
void |
setNumberReviews(int numberReviews) |
void |
setOpts(AdminOption[] opts) |
void |
setOrdered(int ordered) |
void |
setPaymentSchedule(AdminPaymentSchedule paymentSchedule)
A product may be associated to a PaymentSchedule object when it is paid for using recurring
billing.
|
void |
setPaymentScheduleId(int paymentScheduleId)
Determines whether the product requires recurring billing and if so, connects it to a Payment
Schedule object.
|
void |
setPrice0(java.math.BigDecimal price0) |
void |
setPrice1(java.math.BigDecimal price1) |
void |
setPrice2(java.math.BigDecimal price2) |
void |
setPrice3(java.math.BigDecimal price3) |
void |
setPriceExTax(java.math.BigDecimal priceExTax) |
void |
setPriceId(int priceId) |
void |
setPriceIncTax(java.math.BigDecimal priceIncTax) |
void |
setProductQuantities(AdminProductQuantity[] productQuantities) |
void |
setQuantity(int quantity) |
void |
setRating(java.math.BigDecimal rating) |
void |
setSizeUOM(java.lang.String sizeUOM)
Size Unit of Measure
|
void |
setSku(java.lang.String sku) |
void |
setSpecialExpiryDate(java.util.Date specialExpiryDate) |
void |
setSpecialId(int specialId) |
void |
setSpecialPriceExTax(java.math.BigDecimal specialPriceExTax) |
void |
setSpecialPriceIncTax(java.math.BigDecimal specialPriceIncTax) |
void |
setSpecialStartDate(java.util.Date specialStartDate) |
void |
setSpecialStatus(byte specialStatus) |
void |
setStatus(byte status) |
void |
setStockReorderLevel(int stockReorderLevel)
Product needs to be reordered when the stock hits this level.
|
void |
setStoreCustom1(java.lang.String storeCustom1)
Custom field with unique value for a store when in multi-store shared products mode
|
void |
setStoreCustom2(java.lang.String storeCustom2)
Custom field with unique value for a store when in multi-store shared products mode
|
void |
setStoreCustom3(java.lang.String storeCustom3)
Custom field with unique value for a store when in multi-store shared products mode
|
void |
setTaxClassId(int taxClassId) |
void |
setTemplateId(int templateId)
Deprecated.
Use attrTemplates instead which allows a product to be associated with an array
of templates.
|
void |
setTemplateName(java.lang.String templateName)
Deprecated.
Use attrTemplates instead which allows a product to be associated with an array
of templates.
|
void |
setTierPrices(AdminTierPrice[] tierPrices) |
void |
setType(int type) |
void |
setUrl(java.lang.String url) |
void |
setUuid(java.lang.String uuid)
A unique identifier to identify products that exist in different stores in different
versions.
|
void |
setVariantPrices(AdminVariantPrice[] variantPrices) |
void |
setViewedCount(int viewedCount) |
void |
setWeight(java.math.BigDecimal weight) |
void |
setWeightUOM(java.lang.String weightUOM)
Weight Unit of Measure
|
void |
setWidth(int width) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private int id
private int quantity
private java.lang.Integer extQuantity
private int bundledProdQuantity
private java.lang.String model
private java.lang.String image
private java.lang.String image2
private java.lang.String image3
private java.lang.String image4
private java.lang.String imageDir
private java.lang.String imageCrc
private java.math.BigDecimal priceExTax
private java.lang.String formattedPriceExTax
private java.math.BigDecimal specialPriceExTax
private java.lang.String formattedSpecialPriceExTax
private java.math.BigDecimal priceIncTax
private java.lang.String formattedPriceIncTax
private java.math.BigDecimal specialPriceIncTax
private java.lang.String formattedSpecialPriceIncTax
private java.util.Date dateAvailable
private java.util.Date dateAdded
private java.util.Date expiryDate
private java.util.Date dateLastModified
private java.math.BigDecimal weight
private int minQuantityInOrder
private int maxQuantityInOrder
private int defaultQuantityInOrder
private java.lang.String weightUOM
private java.math.BigDecimal netWeightOrVolume
private java.lang.String netWeightOrVolumeUOM
private int length
private int width
private int depth
private java.lang.String sizeUOM
private byte status
private byte invisible
private java.lang.String name
private java.lang.String manufacturerName
private int manufacturerId
private AdminManufacturer manufacturer
private int categoryId
private java.lang.String sku
private AdminCategory[] categories
private java.lang.String description
private java.lang.String comparison
private java.lang.String url
private int viewedCount
private int numberReviews
private int taxClassId
private AdminOption[] opts
private int ordered
private AdminProductDescription[] descriptions
private AdminProductAttribute[] attributes
private java.util.Date specialExpiryDate
private java.util.Date specialStartDate
private byte specialStatus
private int specialId
private AdminProductQuantity[] productQuantities
private boolean ignoreProductQuantityStock
private java.lang.String filePath
private AdminBookableProduct bookableProd
private java.lang.String contentType
private int type
@Deprecated private int templateId
@Deprecated private java.lang.String templateName
private AdminProdAttrTemplate[] attrTemplates
private java.lang.String customAttrs
private AdminProdAttrDesc[] customAttrArray
private java.lang.String customd1
private java.lang.String customd2
private java.lang.String customd3
private java.lang.String customd4
private java.lang.String customd5
private java.lang.String customd6
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
private java.lang.String custom6
private java.lang.String custom7
private java.lang.String custom8
private java.lang.String custom9
private java.lang.String custom10
private java.lang.String custom11
private int custom1Int
private int custom2Int
private java.math.BigDecimal custom1Dec
private java.math.BigDecimal custom2Dec
private java.lang.String storeCustom1
private java.lang.String storeCustom2
private java.lang.String storeCustom3
private java.math.BigDecimal price0
private java.math.BigDecimal price1
private java.math.BigDecimal price2
private java.math.BigDecimal price3
private java.lang.String encodedOptionValues
private int maxNumDownloads
private int maxDownloadDays
private int stockReorderLevel
private java.lang.Boolean canOrderWhenNotInStock
private int priceId
private boolean indexAttachment
private int paymentScheduleId
private java.math.BigDecimal rating
private AdminPaymentSchedule paymentSchedule
private AdminTierPrice[] tierPrices
private java.math.BigDecimal extPrice0
private java.math.BigDecimal extPrice1
private java.math.BigDecimal extPrice2
private java.math.BigDecimal extPrice3
private AdminMiscItem[] miscItems
private AdminMiscPrice[] miscPrices
private java.util.Date masterProdDate
private java.lang.String uuid
private java.util.Date extDateAvailable
private AdminVariantPrice[] variantPrices
public AdminProduct()
public AdminProduct(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public int calculateProductQuantity()
public int getTaxClassId()
public void setTaxClassId(int taxClassId)
taxClassId
- The taxClassId to set.public 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 getImage()
public void setImage(java.lang.String image)
image
- The image 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 AdminOption[] getOpts()
public void setOpts(AdminOption[] opts)
opts
- The opts to set.public int getQuantity()
public void setQuantity(int quantity)
quantity
- The quantity to set.public byte getStatus()
public void setStatus(byte status)
status
- The status to set.public java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- The url to set.public int getViewedCount()
public void setViewedCount(int viewedCount)
viewedCount
- The viewedCount to set.public java.math.BigDecimal getWeight()
public void setWeight(java.math.BigDecimal weight)
weight
- The weight to set.public int getNumberReviews()
public void setNumberReviews(int numberReviews)
numberReviews
- The numberReviews to set.public java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded
- The dateAdded to set.public java.util.Date getDateAvailable()
public void setDateAvailable(java.util.Date dateAvailable)
dateAvailable
- The dateAvailable to set.public AdminManufacturer getManufacturer()
public void setManufacturer(AdminManufacturer manufacturer)
manufacturer
- The manufacturer to set.public int getManufacturerId()
public void setManufacturerId(int manufacturerId)
manufacturerId
- The manufacturerId to set.public int getCategoryId()
public void setCategoryId(int categoryId)
categoryId
- The categoryId to set.public int getOrdered()
public void setOrdered(int ordered)
ordered
- The ordered to set.public java.math.BigDecimal getPriceExTax()
public void setPriceExTax(java.math.BigDecimal priceExTax)
priceExTax
- The priceExTax to set.public java.math.BigDecimal getSpecialPriceExTax()
public void setSpecialPriceExTax(java.math.BigDecimal specialPriceExTax)
specialPriceExTax
- The specialPriceExTax to set.public java.math.BigDecimal getSpecialPriceIncTax()
public void setSpecialPriceIncTax(java.math.BigDecimal specialPriceIncTax)
specialPriceIncTax
- The specialPriceIncTax to set.public java.math.BigDecimal getPriceIncTax()
public void setPriceIncTax(java.math.BigDecimal priceIncTax)
priceIncTax
- The priceIncTax to set.public AdminProductDescription[] getDescriptions()
public void setDescriptions(AdminProductDescription[] descriptions)
descriptions
- The descriptions to set.public java.lang.String getFormattedPriceExTax()
public void setFormattedPriceExTax(java.lang.String formattedPriceExTax)
formattedPriceExTax
- The formattedPriceExTax to set.public java.lang.String getFormattedPriceIncTax()
public void setFormattedPriceIncTax(java.lang.String formattedPriceIncTax)
formattedPriceIncTax
- The formattedPriceIncTax to set.public java.lang.String getFormattedSpecialPriceExTax()
public void setFormattedSpecialPriceExTax(java.lang.String formattedSpecialPriceExTax)
formattedSpecialPriceExTax
- The formattedSpecialPriceExTax to set.public java.lang.String getFormattedSpecialPriceIncTax()
public void setFormattedSpecialPriceIncTax(java.lang.String formattedSpecialPriceIncTax)
formattedSpecialPriceIncTax
- The formattedSpecialPriceIncTax to set.public java.util.Date getSpecialExpiryDate()
public void setSpecialExpiryDate(java.util.Date specialExpiryDate)
specialExpiryDate
- The specialExpiryDate to set.public byte getSpecialStatus()
public void setSpecialStatus(byte specialStatus)
specialStatus
- The specialStatus to set.public AdminCategory[] getCategories()
public void setCategories(AdminCategory[] categories)
categories
- The categories to set.public AdminProductAttribute[] getAttributes()
public void setAttributes(AdminProductAttribute[] attributes)
attributes
- The attributes to set.public int getSpecialId()
public void setSpecialId(int specialId)
specialId
- The specialId to set.public java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- The custom1 to set.public java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- The custom2 to set.public java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- The custom3 to set.public java.lang.String getCustom4()
public void setCustom4(java.lang.String custom4)
custom4
- The custom4 to set.public java.lang.String getCustom5()
public void setCustom5(java.lang.String custom5)
custom5
- The custom5 to set.public AdminProductQuantity[] getProductQuantities()
public void setProductQuantities(AdminProductQuantity[] productQuantities)
productQuantities
- The productQuantities to set.public byte getInvisible()
public void setInvisible(byte invisible)
invisible
- The invisible to set.public java.lang.String getSku()
public void setSku(java.lang.String sku)
sku
- The sku to set.public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
contentType
- The contentType to set.public java.lang.String getFilePath()
public void setFilePath(java.lang.String filePath)
filePath
- The filePath to set.public int getType()
public void setType(int type)
type
- The type to set.public java.lang.String getImage2()
public void setImage2(java.lang.String image2)
image2
- The image2 to set.public java.lang.String getImage3()
public void setImage3(java.lang.String image3)
image3
- The image3 to set.public java.lang.String getImage4()
public void setImage4(java.lang.String image4)
image4
- The image4 to set.public java.lang.String getImageDir()
public void setImageDir(java.lang.String imageDir)
imageDir
- The imageDir to set.public java.lang.String getComparison()
public void setComparison(java.lang.String comparison)
comparison
- The comparison to set.public java.math.BigDecimal getPrice0()
public void setPrice0(java.math.BigDecimal price0)
price0
- The price0 to set.public java.math.BigDecimal getPrice1()
public void setPrice1(java.math.BigDecimal price1)
price1
- The price1 to set.public java.math.BigDecimal getPrice2()
public void setPrice2(java.math.BigDecimal price2)
price2
- The price2 to set.public java.math.BigDecimal getPrice3()
public void setPrice3(java.math.BigDecimal price3)
price3
- The price3 to set.public java.lang.String getEncodedOptionValues()
public void setEncodedOptionValues(java.lang.String encodedOptionValues)
encodedOptionValues
- The encodedOptionValues to set.public int getBundledProdQuantity()
public void setBundledProdQuantity(int bundledProdQuantity)
bundledProdQuantity
- The bundledProdQuantity to set.public java.util.Date getDateLastModified()
public void setDateLastModified(java.util.Date dateLastModified)
dateLastModified
- the dateLastModified to setpublic int getMaxNumDownloads()
public void setMaxNumDownloads(int maxNumDownloads)
maxNumDownloads
- the maxNumDownloads to setpublic int getMaxDownloadDays()
public void setMaxDownloadDays(int maxDownloadDays)
maxDownloadDays
- the maxDownloadDays to setpublic int getStockReorderLevel()
public void setStockReorderLevel(int stockReorderLevel)
stockReorderLevel
- the stockReorderLevel to setpublic java.lang.Boolean getCanOrderWhenNotInStock()
public void setCanOrderWhenNotInStock(java.lang.Boolean canOrderWhenNotInStock)
canOrderWhenNotInStock
- the canOrderWhenNotInStock to setpublic int getPriceId()
public void setPriceId(int priceId)
priceId
- the priceId to setpublic boolean isIndexAttachment()
public void setIndexAttachment(boolean indexAttachment)
indexAttachment
- the indexAttachment to setpublic java.math.BigDecimal getRating()
public void setRating(java.math.BigDecimal rating)
rating
- the rating to setpublic java.util.Date getExpiryDate()
public void setExpiryDate(java.util.Date expiryDate)
expiryDate
- the expiryDate to setpublic java.lang.String getCustom6()
public void setCustom6(java.lang.String custom6)
custom6
- the custom6 to setpublic java.lang.String getCustom7()
public void setCustom7(java.lang.String custom7)
custom7
- the custom7 to setpublic java.lang.String getCustom8()
public void setCustom8(java.lang.String custom8)
custom8
- the custom8 to setpublic java.lang.String getCustom9()
public void setCustom9(java.lang.String custom9)
custom9
- the custom9 to setpublic java.lang.String getCustom10()
public void setCustom10(java.lang.String custom10)
custom10
- the custom10 to setpublic java.lang.String getCustom11()
public void setCustom11(java.lang.String custom11)
custom11
- the custom11 to setpublic int getCustom1Int()
public void setCustom1Int(int custom1Int)
custom1Int
- the custom1Int to setpublic int getCustom2Int()
public void setCustom2Int(int custom2Int)
custom2Int
- the custom2Int to setpublic java.math.BigDecimal getCustom1Dec()
public void setCustom1Dec(java.math.BigDecimal custom1Dec)
custom1Dec
- the custom1Dec to setpublic java.math.BigDecimal getCustom2Dec()
public void setCustom2Dec(java.math.BigDecimal custom2Dec)
custom2Dec
- the custom2Dec to setpublic int getPaymentScheduleId()
public void setPaymentScheduleId(int paymentScheduleId)
paymentScheduleId
- the paymentScheduleId to setpublic AdminPaymentSchedule getPaymentSchedule()
public void setPaymentSchedule(AdminPaymentSchedule paymentSchedule)
paymentSchedule
- the paymentSchedule to setpublic java.util.Date getSpecialStartDate()
public void setSpecialStartDate(java.util.Date specialStartDate)
specialStartDate
- the specialStartDate to setpublic AdminTierPrice[] getTierPrices()
public void setTierPrices(AdminTierPrice[] tierPrices)
tierPrices
- the tierPrices to set@Deprecated public int getTemplateId()
@Deprecated public void setTemplateId(int templateId)
templateId
- the templateId to set@Deprecated public java.lang.String getTemplateName()
@Deprecated public void setTemplateName(java.lang.String templateName)
templateName
- the templateName to setpublic java.lang.String getCustomAttrs()
public void setCustomAttrs(java.lang.String customAttrs)
customAttrs
- the customAttrs to setpublic AdminProdAttrDesc[] getCustomAttrArray()
public void setCustomAttrArray(AdminProdAttrDesc[] customAttrArray)
customAttrArray
- the customAttrArray to setpublic java.lang.String getStoreCustom1()
public void setStoreCustom1(java.lang.String storeCustom1)
storeCustom1
- the storeCustom1 to setpublic java.lang.String getStoreCustom2()
public void setStoreCustom2(java.lang.String storeCustom2)
storeCustom2
- the storeCustom2 to setpublic java.lang.String getStoreCustom3()
public void setStoreCustom3(java.lang.String storeCustom3)
storeCustom3
- the storeCustom3 to setpublic AdminBookableProduct getBookableProd()
public void setBookableProd(AdminBookableProduct bookableProd)
bookableProd
- the bookableProd to setpublic java.lang.Integer getExtQuantity()
public void setExtQuantity(java.lang.Integer extQuantity)
extQuantity
- the extQuantity to setpublic java.math.BigDecimal getExtPrice0()
public void setExtPrice0(java.math.BigDecimal extPrice0)
extPrice0
- the extPrice0 to setpublic java.math.BigDecimal getExtPrice1()
public void setExtPrice1(java.math.BigDecimal extPrice1)
extPrice1
- the extPrice1 to setpublic java.math.BigDecimal getExtPrice2()
public void setExtPrice2(java.math.BigDecimal extPrice2)
extPrice2
- the extPrice2 to setpublic java.math.BigDecimal getExtPrice3()
public void setExtPrice3(java.math.BigDecimal extPrice3)
extPrice3
- the extPrice3 to setpublic AdminMiscItem[] getMiscItems()
public void setMiscItems(AdminMiscItem[] miscItems)
miscItems
- the miscItems to setpublic java.util.Date getMasterProdDate()
public void setMasterProdDate(java.util.Date masterProdDate)
masterProdDate
- the masterProdDate to setpublic java.lang.String getUuid()
public void setUuid(java.lang.String uuid)
uuid
- the uuid to setpublic int getLength()
public void setLength(int length)
length
- the length to setpublic int getWidth()
public void setWidth(int width)
width
- the width to setpublic int getDepth()
public void setDepth(int depth)
depth
- the depth to setpublic java.lang.String getCustomd1()
public void setCustomd1(java.lang.String customd1)
customd1
- the customd1 to setpublic java.lang.String getCustomd2()
public void setCustomd2(java.lang.String customd2)
customd2
- the customd2 to setpublic java.lang.String getCustomd3()
public void setCustomd3(java.lang.String customd3)
customd3
- the customd3 to setpublic java.lang.String getCustomd4()
public void setCustomd4(java.lang.String customd4)
customd4
- the customd4 to setpublic java.lang.String getCustomd5()
public void setCustomd5(java.lang.String customd5)
customd5
- the customd5 to setpublic java.lang.String getCustomd6()
public void setCustomd6(java.lang.String customd6)
customd6
- the customd6 to setpublic AdminProdAttrTemplate[] getAttrTemplates()
public void setAttrTemplates(AdminProdAttrTemplate[] attrTemplates)
attrTemplates
- the attrTemplates to setpublic AdminMiscPrice[] getMiscPrices()
public void setMiscPrices(AdminMiscPrice[] miscPrices)
miscPrices
- the miscPrices to setpublic java.util.Date getExtDateAvailable()
public void setExtDateAvailable(java.util.Date extDateAvailable)
extDateAvailable
- the extDateAvailable to setpublic boolean isIgnoreProductQuantityStock()
public void setIgnoreProductQuantityStock(boolean ignoreProductQuantityStock)
ignoreProductQuantityStock
- the ignoreProductQuantityStock to setpublic java.lang.String getImageCrc()
public void setImageCrc(java.lang.String imageCrc)
imageCrc
- the imageCrc to setpublic java.lang.String getWeightUOM()
public void setWeightUOM(java.lang.String weightUOM)
weightUOM
- the weightUOM to setpublic java.lang.String getSizeUOM()
public void setSizeUOM(java.lang.String sizeUOM)
sizeUOM
- the sizeUOM to setpublic java.math.BigDecimal getNetWeightOrVolume()
public void setNetWeightOrVolume(java.math.BigDecimal netWeightOrVolume)
netWeightOrVolume
- the netWeightOrVolume to setpublic java.lang.String getNetWeightOrVolumeUOM()
public void setNetWeightOrVolumeUOM(java.lang.String netWeightOrVolumeUOM)
netWeightOrVolumeUOM
- the netWeightOrVolumeUOM to setpublic AdminVariantPrice[] getVariantPrices()
public void setVariantPrices(AdminVariantPrice[] variantPrices)
variantPrices
- the variantPrices to setpublic int getMinQuantityInOrder()
public void setMinQuantityInOrder(int minQuantityInOrder)
minQuantityInOrder
- the minQuantityInOrder to setpublic int getMaxQuantityInOrder()
public void setMaxQuantityInOrder(int maxQuantityInOrder)
maxQuantityInOrder
- the maxQuantityInOrder to setpublic int getDefaultQuantityInOrder()
public void setDefaultQuantityInOrder(int defaultQuantityInOrder)
defaultQuantityInOrder
- the defaultQuantityInOrder to setCopyright © 2018 DS Data Systems UK Ltd.