Constructor and Description |
---|
Product()
Constructor
|
Product(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Product object from a Record object
|
Modifier and Type | Method and Description |
---|---|
AddressIf[] |
getAddresses()
An array containing all of the addresses defined for this product.
|
BookableProductIf |
getBookableProd()
An object containing attributes relevant to a bookable product
|
int |
getBundledProdQuantity()
When products are returned from the API call getRelatedProducts() and the relationship is a
bundle relationship, they will have this attribute instantiated to show the number of times
that this product appears in the bundle
|
ProductIf[] |
getBundledProducts()
Used to store an array of products bundled by this product.
|
java.lang.Boolean |
getCanOrderWhenNotInStock()
If null then we use the global value set by the config variable STOCK_ALLOW_CHECKOUT.
|
int |
getCategoryId() |
java.lang.String |
getComparison()
The content of this attribute should be structured data such as xml so that it can be easily
used to compare product features with other products.
|
java.lang.String |
getContentType()
Valid for digital products.
|
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() |
ProdCustAttrIf[] |
getCustomAttrArray()
An array of ProdCustAttr 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.lang.Object |
getCustomObj()
Returns the transient Custom Object.
|
java.util.Calendar |
getDateAdded() |
java.util.Calendar |
getDateAvailable() |
boolean |
getDecimalQuantity()
Returns true if the quantity can have a decimal value
|
int |
getDefaultQuantityInOrder() |
int |
getDepth() |
java.lang.String |
getDescription() |
java.lang.String |
getEncodedOptionValues()
When products are returned from the API call getRelatedProducts() and the relationship is a
bundle relationship, they will have this attribute instantiated if the product in the bundle
is configured with one or more options.
|
java.util.Calendar |
getExpiryDate()
The date that the product expires
|
java.util.Calendar |
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()
Valid for digital products.
|
java.lang.String |
getFormattedPrice() |
int |
getId() |
java.lang.String |
getImage() |
java.lang.String |
getImage2() |
java.lang.String |
getImage3() |
java.lang.String |
getImage4() |
java.lang.String |
getImageCrc()
The imageCrc is used to store meta data that describes the cached images for a product
|
java.lang.String |
getImageDir()
Get the name of the directory where the product image is located
|
ProductImagesIf |
getImages()
All the product image names for this product.
|
byte |
getInvisible()
When set to '1' the product is invisible and will not be returned from normal API calls.
|
int |
getLength() |
ManufacturerIf |
getManufacturer() |
int |
getManufacturerId() |
java.lang.String |
getManufacturerName() |
int |
getMaxDownloadDays()
Maximum number of days a product can be downloaded in the case of digital downloads.
|
int |
getMaxNumDownloads()
Maximum number of downloads allowed in the case of digital download products.
|
int |
getMaxQuantityInOrder() |
int |
getMeasureUnitId() |
int |
getMinQuantityInOrder() |
MiscItemIf[] |
getMiscItems()
Returns the array of Miscellaneous Items associated with this product.
|
MiscPriceIf[] |
getMiscPrices()
Returns the array of Miscellaneous Prices associated with this product.
|
java.lang.String |
getModel() |
java.lang.String |
getName() |
java.math.BigDecimal |
getNetWeightOrVolume()
The weight or volume of the raw product
|
java.lang.String |
getNetWeightOrVolumeUOM()
The unit of measure for the net weight or volume (e.g.
|
int |
getNumberReviews() |
OptionIf[] |
getOpts()
An array of Option objects.
|
int |
getOrdered()
The number of times that the product has been ordered.
|
PaymentScheduleIf |
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() |
int[] |
getProdRelationTypeArray()
When products are returned from the API call getRelatedProducts() they will have this array
initialised.
|
ProductQuantityIf[] |
getProductQuantities()
An array of productQuantity objects that define quantity in stock and availability date for
different SKUs.
|
PromotionResultIf[] |
getPromotionResults()
Active promotions for this product
|
int |
getQuantity() |
int |
getQuantityAvailable() |
int |
getQuantityReserved()
This attribute defines the total number of products that are currently reserved.
|
java.math.BigDecimal |
getRating()
Average product rating
|
java.math.BigDecimal |
getSearchScore()
The score returned by Solr.
|
java.lang.String |
getSizeUOM()
Size Unit of Measure
|
java.lang.String |
getSku()
The SKU is the stock keeping unit.
|
java.lang.String[] |
getSnippets()
Array of strings containing snippets which are text fragments surrounding the search
keywords.
|
java.util.Calendar |
getSpecialExpiryDate()
The date when the special price expires
|
java.math.BigDecimal |
getSpecialPriceExTax() |
java.math.BigDecimal |
getSpecialPriceIncTax() |
java.util.Calendar |
getSpecialStartDate()
The date when the special price starts
|
byte |
getSpecialStatus()
Set to '1' if the special price is active.
|
byte |
getStatus()
Set to '1' if the product is active.
|
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
|
java.lang.String |
getStoreDescription()
The store description.
|
java.lang.String |
getStoreId()
Attribute is only applicable when KonaKart is configured in multi-store single db mode.
|
java.lang.String |
getStoreName()
The name of the store.
|
SuggestionIf[] |
getSuggestions()
Product Recommendation Suggestions
|
TagIf[] |
getTags() |
int |
getTaxClassId() |
java.lang.String |
getTaxCode()
tax code used when looking up tax from an external service
|
int |
getTemplateId()
Deprecated.
|
TierPriceIf[] |
getTierPrices()
An array of tier price objects for this product
|
int |
getType()
product type.
|
java.lang.String |
getUrl()
The url of the product, for example from the manufacturer's web site.
|
java.lang.String |
getUuid()
Get the UUID of the product
|
VariantPriceIf[] |
getVariantPrices()
The variant prices related to the product.
|
int |
getViewedCount()
The number of times the product has been viewed.
|
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()
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.
|
boolean |
isLocked() |
void |
setAddresses(AddressIf[] addresses)
An array containing all of the addresses defined for this product.
|
void |
setBookableProd(BookableProductIf bookableProd)
An object containing attributes relevant to a bookable product
|
void |
setBundledProdQuantity(int bundledProdQuantity)
When products are returned from the API call getRelatedProducts() and the relationship is a
bundle relationship, they will have this attribute instantiated to show the number of times
that this product appears in the bundle
|
void |
setBundledProducts(ProductIf[] bundledProducts)
Used to store an array of products bundled by this product.
|
void |
setCanOrderWhenNotInStock(java.lang.Boolean canOrderWhenNotInStock)
If null then we use the global value set by the config variable STOCK_ALLOW_CHECKOUT.
|
void |
setCategoryId(int categoryId) |
void |
setComparison(java.lang.String comparison)
The content of this attribute should be structured data such as xml so that it can be easily
used to compare product features with other products.
|
void |
setContentType(java.lang.String contentType)
Valid for digital products.
|
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(ProdCustAttrIf[] customAttrArray)
An array of ProdCustAttr 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 |
setCustomObj(java.lang.Object customObj)
Set the transient Custom Object.
|
void |
setDateAdded(java.util.Calendar dateAdded) |
void |
setDateAvailable(java.util.Calendar dateAvailable) |
void |
setDefaultQuantityInOrder(int defaultQuantityInOrder) |
void |
setDepth(int depth) |
void |
setDescription(java.lang.String description) |
void |
setEncodedOptionValues(java.lang.String encodedOptionValues)
When products are returned from the API call getRelatedProducts() and the relationship is a
bundle relationship, they will have this attribute instantiated if the product in the bundle
is configured with one or more options.
|
void |
setExpiryDate(java.util.Calendar expiryDate)
The date that the product expires
|
void |
setExtDateAvailable(java.util.Calendar 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)
Valid for digital products.
|
void |
setFormattedPrice(java.lang.String formattedPrice) |
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)
The imageCrc is used to store meta data that describes the cached images for a product
|
void |
setImageDir(java.lang.String imageDir)
Set the name of the directory where the product image is located
|
void |
setImages(ProductImagesIf images)
All the product image names for this product.
|
void |
setIndexAttachment(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.
|
void |
setInvisible(byte invisible)
When set to '1' the product is invisible and will not be returned from normal API calls.
|
void |
setLength(int length) |
void |
setLocked(boolean locked) |
void |
setManufacturer(ManufacturerIf manufacturer) |
void |
setManufacturerId(int manufacturerId) |
void |
setManufacturerName(java.lang.String manufacturerName) |
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 allowed in the case of digital download products.
|
void |
setMaxQuantityInOrder(int maxQuantityInOrder) |
void |
setMinQuantityInOrder(int minQuantityInOrder) |
void |
setMiscItems(MiscItemIf[] miscItems)
Miscellaneous Items associated with this product.
|
void |
setMiscPrices(MiscPriceIf[] miscPrices)
Miscellaneous Prices associated with this product
|
void |
setModel(java.lang.String model) |
void |
setName(java.lang.String name) |
void |
setNetWeightOrVolume(java.math.BigDecimal netWeightOrVolume)
The weight or volume of the raw product
|
void |
setNetWeightOrVolumeUOM(java.lang.String netWeightOrVolumeUOM)
The unit of measure for the net weight or volume (e.g.
|
void |
setNumberReviews(int numberReviews) |
void |
setOpts(OptionIf[] opts)
An array of Option objects.
|
void |
setOrdered(int ordered)
The number of times that the product has been ordered.
|
void |
setPaymentSchedule(PaymentScheduleIf 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 |
setProdRelationTypeArray(int[] prodRelationTypeArray)
When products are returned from the API call getRelatedProducts() they will have this array
initialised.
|
void |
setProductQuantities(ProductQuantityIf[] productQuantities)
An array of productQuantity objects that define quantity in stock and availability date for
different SKUs.
|
void |
setPromotionResults(PromotionResultIf[] promotionResults)
Active promotions for this product
|
void |
setQuantity(int quantity) |
void |
setQuantityReserved(int quantityReserved)
This attribute defines the total number of products that are currently reserved.
|
void |
setRating(java.math.BigDecimal rating)
Average product rating
|
void |
setSearchScore(java.math.BigDecimal searchScore)
The score returned by Solr.
|
void |
setSizeUOM(java.lang.String sizeUOM)
Size Unit of Measure
|
void |
setSku(java.lang.String sku)
The SKU is the stock keeping unit.
|
void |
setSnippets(java.lang.String[] snippets)
Array of strings containing snippets which are text fragments surrounding the search
keywords.
|
void |
setSpecialExpiryDate(java.util.Calendar specialExpiryDate)
The date when the special price expires
|
void |
setSpecialPriceExTax(java.math.BigDecimal specialPriceExTax) |
void |
setSpecialPriceIncTax(java.math.BigDecimal specialPriceIncTax) |
void |
setSpecialStartDate(java.util.Calendar specialStartDate)
The date when the special price starts
|
void |
setSpecialStatus(byte specialStatus)
Set to '1' if the special price is active.
|
void |
setStatus(byte status)
Set to '1' if the product is active.
|
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 |
setStoreDescription(java.lang.String storeDescription)
The store description.
|
void |
setStoreId(java.lang.String storeId)
Attribute is only applicable when KonaKart is configured in multi-store single db mode.
|
void |
setStoreName(java.lang.String storeName)
The name of the store.
|
void |
setSuggestions(SuggestionIf[] suggestions) |
void |
setTags(TagIf[] tags) |
void |
setTaxClassId(int taxClassId) |
void |
setTaxCode(java.lang.String taxCode)
tax code used when looking up tax from an external service
|
void |
setTemplateId(int templateId)
Deprecated.
|
void |
setTierPrices(TierPriceIf[] tierPrices)
An array of tier price objects for this product
|
void |
setType(int type)
product type.
|
void |
setUrl(java.lang.String url)
The url of the product, for example from the manufacturer's web site.
|
void |
setUuid(java.lang.String uuid)
set the UUID of the product
|
void |
setVariantPrices(VariantPriceIf[] variantPrices)
The variant prices related to the product.
|
void |
setViewedCount(int viewedCount)
The number of times the product has been viewed.
|
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() |
public Product()
public Product(com.workingdogs.village.Record vr, 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 getTaxClassId()
getTaxClassId
in interface ProductIf
public void setTaxClassId(int taxClassId)
setTaxClassId
in interface ProductIf
taxClassId
- The taxClassId to set.public java.lang.String getManufacturerName()
getManufacturerName
in interface ProductIf
public void setManufacturerName(java.lang.String manufacturerName)
setManufacturerName
in interface ProductIf
manufacturerName
- The manufacturerName to set.public java.lang.String getDescription()
getDescription
in interface ProductIf
public void setDescription(java.lang.String description)
setDescription
in interface ProductIf
description
- The description to set.public void setId(int id)
public java.lang.String getImage()
public void setImage(java.lang.String image)
public java.lang.String getModel()
public void setModel(java.lang.String model)
public java.lang.String getName()
public void setName(java.lang.String name)
public OptionIf[] getOpts()
ProductIf
public void setOpts(OptionIf[] opts)
ProductIf
public int getQuantity()
getQuantity
in interface ProductIf
public void setQuantity(int quantity)
setQuantity
in interface ProductIf
quantity
- The quantity to set.public byte getStatus()
ProductIf
public void setStatus(byte status)
ProductIf
public java.lang.String getUrl()
ProductIf
public void setUrl(java.lang.String url)
ProductIf
public int getViewedCount()
ProductIf
getViewedCount
in interface ProductIf
public void setViewedCount(int viewedCount)
ProductIf
setViewedCount
in interface ProductIf
viewedCount
- The viewedCount to set.public java.math.BigDecimal getWeight()
public void setWeight(java.math.BigDecimal weight)
public int getNumberReviews()
getNumberReviews
in interface ProductIf
public void setNumberReviews(int numberReviews)
setNumberReviews
in interface ProductIf
numberReviews
- The numberReviews to set.public java.util.Calendar getDateAdded()
getDateAdded
in interface ProductIf
public void setDateAdded(java.util.Calendar dateAdded)
setDateAdded
in interface ProductIf
dateAdded
- The dateAdded to set.public java.util.Calendar getDateAvailable()
getDateAvailable
in interface ProductIf
public void setDateAvailable(java.util.Calendar dateAvailable)
setDateAvailable
in interface ProductIf
dateAvailable
- The dateAvailable to set.public ManufacturerIf getManufacturer()
getManufacturer
in interface ProductIf
public void setManufacturer(ManufacturerIf manufacturer)
setManufacturer
in interface ProductIf
manufacturer
- The manufacturer to set.public int getManufacturerId()
getManufacturerId
in interface ProductIf
public void setManufacturerId(int manufacturerId)
setManufacturerId
in interface ProductIf
manufacturerId
- The manufacturerId to set.public int getCategoryId()
getCategoryId
in interface ProductIf
public void setCategoryId(int categoryId)
setCategoryId
in interface ProductIf
categoryId
- The categoryId to set.public int getOrdered()
ProductIf
getOrdered
in interface ProductIf
public void setOrdered(int ordered)
ProductIf
setOrdered
in interface ProductIf
ordered
- The ordered to set.public java.math.BigDecimal getPriceExTax()
getPriceExTax
in interface ProductIf
public void setPriceExTax(java.math.BigDecimal priceExTax)
setPriceExTax
in interface ProductIf
priceExTax
- The priceExTax to set.public java.math.BigDecimal getSpecialPriceExTax()
getSpecialPriceExTax
in interface ProductIf
public void setSpecialPriceExTax(java.math.BigDecimal specialPriceExTax)
setSpecialPriceExTax
in interface ProductIf
specialPriceExTax
- The specialPriceExTax to set.public java.math.BigDecimal getSpecialPriceIncTax()
getSpecialPriceIncTax
in interface ProductIf
public void setSpecialPriceIncTax(java.math.BigDecimal specialPriceIncTax)
setSpecialPriceIncTax
in interface ProductIf
specialPriceIncTax
- The specialPriceIncTax to set.public java.math.BigDecimal getPriceIncTax()
getPriceIncTax
in interface ProductIf
public void setPriceIncTax(java.math.BigDecimal priceIncTax)
setPriceIncTax
in interface ProductIf
priceIncTax
- The priceIncTax to set.public java.lang.String getCustom1()
getCustom1
in interface ProductIf
public void setCustom1(java.lang.String custom1)
setCustom1
in interface ProductIf
custom1
- The custom1 to set.public java.lang.String getCustom2()
getCustom2
in interface ProductIf
public void setCustom2(java.lang.String custom2)
setCustom2
in interface ProductIf
custom2
- The custom2 to set.public java.lang.String getCustom3()
getCustom3
in interface ProductIf
public void setCustom3(java.lang.String custom3)
setCustom3
in interface ProductIf
custom3
- The custom3 to set.public java.lang.String getCustom4()
getCustom4
in interface ProductIf
public void setCustom4(java.lang.String custom4)
setCustom4
in interface ProductIf
custom4
- The custom4 to set.public java.lang.String getCustom5()
getCustom5
in interface ProductIf
public void setCustom5(java.lang.String custom5)
setCustom5
in interface ProductIf
custom5
- The custom5 to set.public int[] getProdRelationTypeArray()
ProductIf
getProdRelationTypeArray
in interface ProductIf
public void setProdRelationTypeArray(int[] prodRelationTypeArray)
ProductIf
setProdRelationTypeArray
in interface ProductIf
prodRelationTypeArray
- The prodRelationTypeArray to set.public byte getInvisible()
ProductIf
getInvisible
in interface ProductIf
public void setInvisible(byte invisible)
ProductIf
setInvisible
in interface ProductIf
invisible
- The invisible to set.public java.lang.String getSku()
ProductIf
public void setSku(java.lang.String sku)
ProductIf
public java.lang.String getContentType()
ProductIf
getContentType
in interface ProductIf
public void setContentType(java.lang.String contentType)
ProductIf
setContentType
in interface ProductIf
contentType
- The contentType to set.public java.lang.String getFilePath()
ProductIf
getFilePath
in interface ProductIf
public void setFilePath(java.lang.String filePath)
ProductIf
setFilePath
in interface ProductIf
filePath
- The filePath to set.public int getType()
ProductIf
public void setType(int type)
ProductIf
public java.lang.String getImage2()
public void setImage2(java.lang.String image2)
public java.lang.String getImage3()
public void setImage3(java.lang.String image3)
public java.lang.String getImage4()
public void setImage4(java.lang.String image4)
public ProductImagesIf getImages()
getImages
is set to true in the FetchProductOptions
object.public void setImages(ProductImagesIf images)
getImages
is set to true in the FetchProductOptions
object.public java.lang.String getImageDir()
getImageDir
in interface ProductIf
public void setImageDir(java.lang.String imageDir)
setImageDir
in interface ProductIf
imageDir
- The imageDir to set.public java.lang.String getComparison()
ProductIf
getComparison
in interface ProductIf
public void setComparison(java.lang.String comparison)
ProductIf
setComparison
in interface ProductIf
comparison
- The comparison to set.public java.math.BigDecimal getPrice0()
public void setPrice0(java.math.BigDecimal price0)
public java.math.BigDecimal getPrice1()
public void setPrice1(java.math.BigDecimal price1)
public java.math.BigDecimal getPrice2()
public void setPrice2(java.math.BigDecimal price2)
public java.math.BigDecimal getPrice3()
public void setPrice3(java.math.BigDecimal price3)
public java.lang.String getFormattedPrice()
getFormattedPrice
in interface ProductIf
public void setFormattedPrice(java.lang.String formattedPrice)
setFormattedPrice
in interface ProductIf
formattedPrice
- the formattedPrice to setpublic int getBundledProdQuantity()
ProductIf
getBundledProdQuantity
in interface ProductIf
public void setBundledProdQuantity(int bundledProdQuantity)
ProductIf
setBundledProdQuantity
in interface ProductIf
bundledProdQuantity
- The bundledProdQuantity to set.public java.lang.String getEncodedOptionValues()
ProductIf
encodedOptionValues 3{5}4{1} 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.
getEncodedOptionValues
in interface ProductIf
public void setEncodedOptionValues(java.lang.String encodedOptionValues)
ProductIf
encodedOptionValues 3{5}4{1} 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.
setEncodedOptionValues
in interface ProductIf
encodedOptionValues
- The encodedOptionValues to set.public TagIf[] getTags()
public void setTags(TagIf[] tags)
public java.lang.String getStoreId()
ProductIf
getStoreId
in interface ProductIf
public void setStoreId(java.lang.String storeId)
ProductIf
setStoreId
in interface ProductIf
storeId
- the storeId to setpublic int getMaxNumDownloads()
ProductIf
getMaxNumDownloads
in interface ProductIf
public void setMaxNumDownloads(int maxNumDownloads)
ProductIf
setMaxNumDownloads
in interface ProductIf
maxNumDownloads
- the maxNumDownloads to setpublic int getMaxDownloadDays()
ProductIf
getMaxDownloadDays
in interface ProductIf
public void setMaxDownloadDays(int maxDownloadDays)
ProductIf
setMaxDownloadDays
in interface ProductIf
maxDownloadDays
- the maxDownloadDays to setpublic int getStockReorderLevel()
ProductIf
getStockReorderLevel
in interface ProductIf
public void setStockReorderLevel(int stockReorderLevel)
ProductIf
setStockReorderLevel
in interface ProductIf
stockReorderLevel
- the stockReorderLevel to setpublic java.lang.Boolean getCanOrderWhenNotInStock()
ProductIf
getCanOrderWhenNotInStock
in interface ProductIf
public void setCanOrderWhenNotInStock(java.lang.Boolean canOrderWhenNotInStock)
ProductIf
setCanOrderWhenNotInStock
in interface ProductIf
canOrderWhenNotInStock
- the canOrderWhenNotInStock to setpublic int getPriceId()
getPriceId
in interface ProductIf
public void setPriceId(int priceId)
setPriceId
in interface ProductIf
priceId
- the priceId to setpublic boolean isIndexAttachment()
ProductIf
isIndexAttachment
in interface ProductIf
public void setIndexAttachment(boolean indexAttachment)
ProductIf
setIndexAttachment
in interface ProductIf
indexAttachment
- the indexAttachment to setpublic java.lang.String[] getSnippets()
getSnippets
in interface ProductIf
public void setSnippets(java.lang.String[] snippets)
setSnippets
in interface ProductIf
snippets
- the snippets to setpublic java.math.BigDecimal getRating()
ProductIf
public void setRating(java.math.BigDecimal rating)
ProductIf
public java.util.Calendar getExpiryDate()
ProductIf
getExpiryDate
in interface ProductIf
public void setExpiryDate(java.util.Calendar expiryDate)
ProductIf
setExpiryDate
in interface ProductIf
expiryDate
- the expiryDate to setpublic java.lang.String getCustom6()
getCustom6
in interface ProductIf
public void setCustom6(java.lang.String custom6)
setCustom6
in interface ProductIf
custom6
- the custom6 to setpublic java.lang.String getCustom7()
getCustom7
in interface ProductIf
public void setCustom7(java.lang.String custom7)
setCustom7
in interface ProductIf
custom7
- the custom7 to setpublic java.lang.String getCustom8()
getCustom8
in interface ProductIf
public void setCustom8(java.lang.String custom8)
setCustom8
in interface ProductIf
custom8
- the custom8 to setpublic java.lang.String getCustom9()
getCustom9
in interface ProductIf
public void setCustom9(java.lang.String custom9)
setCustom9
in interface ProductIf
custom9
- the custom9 to setpublic java.lang.String getCustom10()
getCustom10
in interface ProductIf
public void setCustom10(java.lang.String custom10)
setCustom10
in interface ProductIf
custom10
- the custom10 to setpublic java.lang.String getCustom11()
getCustom11
in interface ProductIf
public void setCustom11(java.lang.String custom11)
setCustom11
in interface ProductIf
custom11
- the custom11 to setpublic int getCustom1Int()
getCustom1Int
in interface ProductIf
public void setCustom1Int(int custom1Int)
setCustom1Int
in interface ProductIf
custom1Int
- the custom1Int to setpublic int getCustom2Int()
getCustom2Int
in interface ProductIf
public void setCustom2Int(int custom2Int)
setCustom2Int
in interface ProductIf
custom2Int
- the custom2Int to setpublic java.math.BigDecimal getCustom1Dec()
getCustom1Dec
in interface ProductIf
public void setCustom1Dec(java.math.BigDecimal custom1Dec)
setCustom1Dec
in interface ProductIf
custom1Dec
- the custom1Dec to setpublic java.math.BigDecimal getCustom2Dec()
getCustom2Dec
in interface ProductIf
public void setCustom2Dec(java.math.BigDecimal custom2Dec)
setCustom2Dec
in interface ProductIf
custom2Dec
- the custom2Dec to setpublic int getPaymentScheduleId()
getPaymentScheduleId
in interface ProductIf
public void setPaymentScheduleId(int paymentScheduleId)
setPaymentScheduleId
in interface ProductIf
paymentScheduleId
- the paymentScheduleId to setpublic PaymentScheduleIf getPaymentSchedule()
getPaymentSchedule
in interface ProductIf
public void setPaymentSchedule(PaymentScheduleIf paymentSchedule)
setPaymentSchedule
in interface ProductIf
paymentSchedule
- the paymentSchedule to setpublic TierPriceIf[] getTierPrices()
ProductIf
getTierPrices
in interface ProductIf
public void setTierPrices(TierPriceIf[] tierPrices)
ProductIf
setTierPrices
in interface ProductIf
tierPrices
- the tierPrices to setpublic java.util.Calendar getSpecialExpiryDate()
ProductIf
getSpecialExpiryDate
in interface ProductIf
public void setSpecialExpiryDate(java.util.Calendar specialExpiryDate)
ProductIf
setSpecialExpiryDate
in interface ProductIf
specialExpiryDate
- the specialExpiryDate to setpublic java.util.Calendar getSpecialStartDate()
ProductIf
getSpecialStartDate
in interface ProductIf
public void setSpecialStartDate(java.util.Calendar specialStartDate)
ProductIf
setSpecialStartDate
in interface ProductIf
specialStartDate
- the specialStartDate to setpublic byte getSpecialStatus()
ProductIf
getSpecialStatus
in interface ProductIf
public void setSpecialStatus(byte specialStatus)
ProductIf
setSpecialStatus
in interface ProductIf
specialStatus
- the specialStatus to setpublic ProductQuantityIf[] getProductQuantities()
getProductQuantities
in interface ProductIf
public void setProductQuantities(ProductQuantityIf[] productQuantities)
setProductQuantities
in interface ProductIf
productQuantities
- the productQuantities to setpublic AddressIf[] getAddresses()
ProductIf
getAddresses
in interface ProductIf
public void setAddresses(AddressIf[] addresses)
ProductIf
setAddresses
in interface ProductIf
addresses
- the addresses to setpublic java.lang.String getCustomAttrs()
getCustomAttrs
in interface ProductIf
public void setCustomAttrs(java.lang.String customAttrs)
setCustomAttrs
in interface ProductIf
customAttrs
- the customAttrs to setpublic ProdCustAttrIf[] getCustomAttrArray()
getCustomAttrArray
in interface ProductIf
public void setCustomAttrArray(ProdCustAttrIf[] customAttrArray)
setCustomAttrArray
in interface ProductIf
customAttrArray
- the customAttrArray to setpublic java.lang.String getTaxCode()
ProductIf
getTaxCode
in interface ProductIf
public void setTaxCode(java.lang.String taxCode)
ProductIf
setTaxCode
in interface ProductIf
taxCode
- the taxCode to setpublic java.lang.String getStoreCustom1()
getStoreCustom1
in interface ProductIf
public void setStoreCustom1(java.lang.String storeCustom1)
setStoreCustom1
in interface ProductIf
storeCustom1
- the storeCustom1 to setpublic java.lang.String getStoreCustom2()
getStoreCustom2
in interface ProductIf
public void setStoreCustom2(java.lang.String storeCustom2)
setStoreCustom2
in interface ProductIf
storeCustom2
- the storeCustom2 to setpublic java.lang.String getStoreCustom3()
getStoreCustom3
in interface ProductIf
public void setStoreCustom3(java.lang.String storeCustom3)
setStoreCustom3
in interface ProductIf
storeCustom3
- the storeCustom3 to setpublic BookableProductIf getBookableProd()
getBookableProd
in interface ProductIf
public void setBookableProd(BookableProductIf bookableProd)
setBookableProd
in interface ProductIf
bookableProd
- the bookableProd to setpublic MiscItemIf[] getMiscItems()
getMiscItems
in interface ProductIf
public void setMiscItems(MiscItemIf[] miscItems)
ProductIf
setMiscItems
in interface ProductIf
miscItems
- the miscItems to setpublic MiscPriceIf[] getMiscPrices()
getMiscPrices
in interface ProductIf
public void setMiscPrices(MiscPriceIf[] miscPrices)
ProductIf
setMiscPrices
in interface ProductIf
miscPrices
- the miscPrices to setpublic PromotionResultIf[] getPromotionResults()
getPromotionResults
in interface ProductIf
public void setPromotionResults(PromotionResultIf[] promotionResults)
setPromotionResults
in interface ProductIf
promotionResults
- the promotionResults to set@Deprecated public int getTemplateId()
ProductIf
getTemplateId
in interface ProductIf
@Deprecated public void setTemplateId(int templateId)
ProductIf
setTemplateId
in interface ProductIf
templateId
- the templateId to setpublic java.lang.String getUuid()
ProductIf
public void setUuid(java.lang.String uuid)
ProductIf
public void setLength(int length)
public void setWidth(int width)
public void setDepth(int depth)
public java.lang.Object getCustomObj()
ProductIf
getCustomObj
in interface ProductIf
public void setCustomObj(java.lang.Object customObj)
ProductIf
setCustomObj
in interface ProductIf
customObj
- the customObj to setpublic java.lang.String getCustomd1()
getCustomd1
in interface ProductIf
public void setCustomd1(java.lang.String customd1)
setCustomd1
in interface ProductIf
customd1
- the customd1 to setpublic java.lang.String getCustomd2()
getCustomd2
in interface ProductIf
public void setCustomd2(java.lang.String customd2)
setCustomd2
in interface ProductIf
customd2
- the customd2 to setpublic java.lang.String getCustomd3()
getCustomd3
in interface ProductIf
public void setCustomd3(java.lang.String customd3)
setCustomd3
in interface ProductIf
customd3
- the customd3 to setpublic java.lang.String getCustomd4()
getCustomd4
in interface ProductIf
public void setCustomd4(java.lang.String customd4)
setCustomd4
in interface ProductIf
customd4
- the customd4 to setpublic java.lang.String getCustomd5()
getCustomd5
in interface ProductIf
public void setCustomd5(java.lang.String customd5)
setCustomd5
in interface ProductIf
customd5
- the customd5 to setpublic java.lang.String getCustomd6()
getCustomd6
in interface ProductIf
public void setCustomd6(java.lang.String customd6)
setCustomd6
in interface ProductIf
customd6
- the customd6 to setpublic ProductIf[] getBundledProducts()
getBundlesThatProductBelongsTo()
API call is the only API call that
automatically populates this attribute.getBundledProducts
in interface ProductIf
public void setBundledProducts(ProductIf[] bundledProducts)
getBundlesThatProductBelongsTo()
API call is the only API call that
automatically populates this attribute.setBundledProducts
in interface ProductIf
bundledProducts
- the bundledProducts to setpublic java.math.BigDecimal getSearchScore()
getSearchScore
in interface ProductIf
public void setSearchScore(java.math.BigDecimal searchScore)
setSearchScore
in interface ProductIf
searchScore
- the searchScore to setpublic boolean isIgnoreProductQuantityStock()
isIgnoreProductQuantityStock
in interface ProductIf
public void setIgnoreProductQuantityStock(boolean ignoreProductQuantityStock)
setIgnoreProductQuantityStock
in interface ProductIf
ignoreProductQuantityStock
- the ignoreProductQuantityStock to setpublic int getQuantityReserved()
ProductIf
getQuantityReserved
in interface ProductIf
public void setQuantityReserved(int quantityReserved)
ProductIf
setQuantityReserved
in interface ProductIf
quantityReserved
- the quantityReserved to setpublic int getQuantityAvailable()
public java.lang.String getStoreName()
getStoreName
in interface ProductIf
public void setStoreName(java.lang.String storeName)
setStoreName
in interface ProductIf
storeName
- the storeName to setpublic java.lang.String getStoreDescription()
getStoreDescription
in interface ProductIf
public void setStoreDescription(java.lang.String storeDescription)
setStoreDescription
in interface ProductIf
storeDescription
- the storeDescription to setpublic SuggestionIf[] getSuggestions()
getSuggestions
in interface ProductIf
public void setSuggestions(SuggestionIf[] suggestions)
setSuggestions
in interface ProductIf
suggestions
- the Product Recommendation Suggestions to setpublic java.lang.String getImageCrc()
ProductIf
getImageCrc
in interface ProductIf
public void setImageCrc(java.lang.String imageCrc)
ProductIf
setImageCrc
in interface ProductIf
imageCrc
- the imageCrc to setpublic java.util.Calendar getExtDateAvailable()
getExtDateAvailable
in interface ProductIf
public void setExtDateAvailable(java.util.Calendar extDateAvailable)
setExtDateAvailable
in interface ProductIf
extDateAvailable
- the extDateAvailable to setpublic java.lang.Integer getExtQuantity()
getExtQuantity
in interface ProductIf
public void setExtQuantity(java.lang.Integer extQuantity)
setExtQuantity
in interface ProductIf
extQuantity
- the extQuantity to setpublic java.math.BigDecimal getExtPrice0()
getExtPrice0
in interface ProductIf
public void setExtPrice0(java.math.BigDecimal extPrice0)
setExtPrice0
in interface ProductIf
extPrice0
- the extPrice0 to setpublic java.math.BigDecimal getExtPrice1()
getExtPrice1
in interface ProductIf
public void setExtPrice1(java.math.BigDecimal extPrice1)
setExtPrice1
in interface ProductIf
extPrice1
- the extPrice1 to setpublic java.math.BigDecimal getExtPrice2()
getExtPrice2
in interface ProductIf
public void setExtPrice2(java.math.BigDecimal extPrice2)
setExtPrice2
in interface ProductIf
extPrice2
- the extPrice2 to setpublic java.math.BigDecimal getExtPrice3()
getExtPrice3
in interface ProductIf
public void setExtPrice3(java.math.BigDecimal extPrice3)
setExtPrice3
in interface ProductIf
extPrice3
- the extPrice3 to setpublic java.lang.String getWeightUOM()
ProductIf
getWeightUOM
in interface ProductIf
public void setWeightUOM(java.lang.String weightUOM)
ProductIf
setWeightUOM
in interface ProductIf
weightUOM
- the weightUOM to setpublic java.lang.String getSizeUOM()
ProductIf
getSizeUOM
in interface ProductIf
public void setSizeUOM(java.lang.String sizeUOM)
ProductIf
setSizeUOM
in interface ProductIf
sizeUOM
- the sizeUOM to setpublic java.math.BigDecimal getNetWeightOrVolume()
ProductIf
getNetWeightOrVolume
in interface ProductIf
public void setNetWeightOrVolume(java.math.BigDecimal netWeightOrVolume)
ProductIf
setNetWeightOrVolume
in interface ProductIf
netWeightOrVolume
- the netWeightOrVolume to setpublic java.lang.String getNetWeightOrVolumeUOM()
ProductIf
getNetWeightOrVolumeUOM
in interface ProductIf
public void setNetWeightOrVolumeUOM(java.lang.String netWeightOrVolumeUOM)
ProductIf
setNetWeightOrVolumeUOM
in interface ProductIf
netWeightOrVolumeUOM
- the netWeightOrVolumeUOM to setpublic VariantPriceIf[] getVariantPrices()
ProductIf
getVariantPrices
in interface ProductIf
public void setVariantPrices(VariantPriceIf[] variantPrices)
ProductIf
setVariantPrices
in interface ProductIf
variantPrices
- the variantPrices to setpublic int getMeasureUnitId()
public boolean getDecimalQuantity()
public int getMinQuantityInOrder()
getMinQuantityInOrder
in interface ProductIf
public void setMinQuantityInOrder(int minQuantityInOrder)
setMinQuantityInOrder
in interface ProductIf
minQuantityInOrder
- the minQuantityInOrder to setpublic int getMaxQuantityInOrder()
getMaxQuantityInOrder
in interface ProductIf
public void setMaxQuantityInOrder(int maxQuantityInOrder)
setMaxQuantityInOrder
in interface ProductIf
maxQuantityInOrder
- the maxQuantityInOrder to setpublic int getDefaultQuantityInOrder()
getDefaultQuantityInOrder
in interface ProductIf
public void setDefaultQuantityInOrder(int defaultQuantityInOrder)
setDefaultQuantityInOrder
in interface ProductIf
defaultQuantityInOrder
- the defaultQuantityInOrder to setpublic boolean isLocked()
Copyright © 2018 DS Data Systems UK Ltd.