|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProductIf
Describes a product object for use within KonaKart.
| Method Summary | |
|---|---|
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 |
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 |
getCustom2()
|
java.lang.String |
getCustom3()
|
java.lang.String |
getCustom4()
|
java.lang.String |
getCustom5()
|
java.util.Calendar |
getDateAdded()
|
java.util.Calendar |
getDateAvailable()
|
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. 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. |
java.lang.String |
getFilePath()
Valid for digital products. |
int |
getId()
|
java.lang.String |
getImage()
|
java.lang.String |
getImage2()
|
java.lang.String |
getImage3()
|
java.lang.String |
getImage4()
|
byte |
getInvisible()
When set to '1' the product is invisible and will not be returned from normal API calls. |
ManufacturerIf |
getManufacturer()
|
int |
getManufacturerId()
|
java.lang.String |
getManufacturerName()
|
java.lang.String |
getModel()
|
java.lang.String |
getName()
|
int |
getNumberReviews()
|
OptionIf[] |
getOpts()
An array of Option objects. |
int |
getOrdered()
The number of times that the product has been ordered. |
java.math.BigDecimal |
getPrice0()
|
java.math.BigDecimal |
getPrice1()
|
java.math.BigDecimal |
getPrice2()
|
java.math.BigDecimal |
getPrice3()
|
java.math.BigDecimal |
getPriceExTax()
|
java.math.BigDecimal |
getPriceIncTax()
|
int[] |
getProdRelationTypeArray()
When products are returned from the API call getRelatedProducts() they will have this array initialised. |
int |
getQuantity()
|
java.lang.String |
getSku()
The SKU is the stock keeping unit. |
java.math.BigDecimal |
getSpecialPriceExTax()
|
java.math.BigDecimal |
getSpecialPriceIncTax()
|
byte |
getStatus()
Set to '1' if the product is in stock. |
TagIf[] |
getTags()
|
int |
getTaxClassId()
|
int |
getType()
product type. |
java.lang.String |
getUrl()
The url of the product, for example from the manufacturer's web site. |
int |
getViewedCount()
The number of times the product has been viewed. |
java.math.BigDecimal |
getWeight()
|
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 |
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 |
setCustom2(java.lang.String custom2)
|
void |
setCustom3(java.lang.String custom3)
|
void |
setCustom4(java.lang.String custom4)
|
void |
setCustom5(java.lang.String custom5)
|
void |
setDateAdded(java.util.Calendar dateAdded)
|
void |
setDateAvailable(java.util.Calendar dateAvailable)
|
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. 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. |
void |
setFilePath(java.lang.String filePath)
Valid for digital products. |
void |
setId(int id)
|
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 |
setInvisible(byte invisible)
When set to '1' the product is invisible and will not be returned from normal API calls. |
void |
setManufacturer(ManufacturerIf manufacturer)
|
void |
setManufacturerId(int manufacturerId)
|
void |
setManufacturerName(java.lang.String manufacturerName)
|
void |
setModel(java.lang.String model)
|
void |
setName(java.lang.String name)
|
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 |
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 |
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 |
setQuantity(int quantity)
|
void |
setSku(java.lang.String sku)
The SKU is the stock keeping unit. |
void |
setSpecialPriceExTax(java.math.BigDecimal specialPriceExTax)
|
void |
setSpecialPriceIncTax(java.math.BigDecimal specialPriceIncTax)
|
void |
setStatus(byte status)
Set to '1' if the product is in stock. |
void |
setTags(TagIf[] tags)
|
void |
setTaxClassId(int taxClassId)
|
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 |
setViewedCount(int viewedCount)
The number of times the product has been viewed. |
void |
setWeight(java.math.BigDecimal weight)
|
| Method Detail |
|---|
int getTaxClassId()
void setTaxClassId(int taxClassId)
taxClassId - The taxClassId to set.java.lang.String getManufacturerName()
void setManufacturerName(java.lang.String manufacturerName)
manufacturerName - The manufacturerName to set.java.lang.String getDescription()
void setDescription(java.lang.String description)
description - The description to set.int getId()
void setId(int id)
id - The id to set.java.lang.String getImage()
void setImage(java.lang.String image)
image - The image to set.java.lang.String getModel()
void setModel(java.lang.String model)
model - The model to set.java.lang.String getName()
void setName(java.lang.String name)
name - The name to set.OptionIf[] getOpts()
void setOpts(OptionIf[] opts)
opts - The opts to set.int getQuantity()
void setQuantity(int quantity)
quantity - The quantity to set.byte getStatus()
void setStatus(byte status)
status - The status to set.java.lang.String getUrl()
void setUrl(java.lang.String url)
url - The url to set.int getViewedCount()
void setViewedCount(int viewedCount)
viewedCount - The viewedCount to set.java.math.BigDecimal getWeight()
void setWeight(java.math.BigDecimal weight)
weight - The weight to set.int getNumberReviews()
void setNumberReviews(int numberReviews)
numberReviews - The numberReviews to set.java.util.Calendar getDateAdded()
void setDateAdded(java.util.Calendar dateAdded)
dateAdded - The dateAdded to set.java.util.Calendar getDateAvailable()
void setDateAvailable(java.util.Calendar dateAvailable)
dateAvailable - The dateAvailable to set.ManufacturerIf getManufacturer()
void setManufacturer(ManufacturerIf manufacturer)
manufacturer - The manufacturer to set.int getManufacturerId()
void setManufacturerId(int manufacturerId)
manufacturerId - The manufacturerId to set.int getCategoryId()
void setCategoryId(int categoryId)
categoryId - The categoryId to set.int getOrdered()
void setOrdered(int ordered)
ordered - The ordered to set.java.math.BigDecimal getPriceExTax()
void setPriceExTax(java.math.BigDecimal priceExTax)
priceExTax - The priceExTax to set.java.math.BigDecimal getSpecialPriceExTax()
void setSpecialPriceExTax(java.math.BigDecimal specialPriceExTax)
specialPriceExTax - The specialPriceExTax to set.java.math.BigDecimal getSpecialPriceIncTax()
void setSpecialPriceIncTax(java.math.BigDecimal specialPriceIncTax)
specialPriceIncTax - The specialPriceIncTax to set.java.math.BigDecimal getPriceIncTax()
void setPriceIncTax(java.math.BigDecimal priceIncTax)
priceIncTax - The priceIncTax to set.java.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1 - The custom1 to set.java.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2 - The custom2 to set.java.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3 - The custom3 to set.java.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4 - The custom4 to set.java.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5 - The custom5 to set.int[] getProdRelationTypeArray()
void setProdRelationTypeArray(int[] prodRelationTypeArray)
prodRelationTypeArray - The prodRelationTypeArray to set.byte getInvisible()
void setInvisible(byte invisible)
invisible - The invisible to set.java.lang.String getSku()
void setSku(java.lang.String sku)
sku - The sku to set.java.lang.String getContentType()
void setContentType(java.lang.String contentType)
contentType - The contentType to set.java.lang.String getFilePath()
void setFilePath(java.lang.String filePath)
filePath - The filePath to set.int getType()
void setType(int type)
type - The type to set.java.lang.String getImage2()
void setImage2(java.lang.String image2)
image2 - The image2 to set.java.lang.String getImage3()
void setImage3(java.lang.String image3)
image3 - The image3 to set.java.lang.String getImage4()
void setImage4(java.lang.String image4)
image4 - The image4 to set.java.lang.String getComparison()
void setComparison(java.lang.String comparison)
comparison - The comparison to set.java.math.BigDecimal getPrice0()
void setPrice0(java.math.BigDecimal price0)
price0 - The price0 to set.java.math.BigDecimal getPrice1()
void setPrice1(java.math.BigDecimal price1)
price1 - The price1 to set.java.math.BigDecimal getPrice2()
void setPrice2(java.math.BigDecimal price2)
price2 - The price2 to set.java.math.BigDecimal getPrice3()
void setPrice3(java.math.BigDecimal price3)
price3 - The price3 to set.int getBundledProdQuantity()
void setBundledProdQuantity(int bundledProdQuantity)
bundledProdQuantity - The bundledProdQuantity to set.java.lang.String getEncodedOptionValues()
void setEncodedOptionValues(java.lang.String encodedOptionValues)
encodedOptionValues - The encodedOptionValues to set.TagIf[] getTags()
void setTags(TagIf[] tags)
tags - The tags to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||