Interface SKU
- All Superinterfaces:
BusinessObject
- All Known Implementing Classes:
SKUBean
Interface representing a sku within the system. A sku corresponds to a
Product, a
Product and any combination of
Attributes and
Options, or an
Attribute and its Options, independent of any
products. It is used for tracking inventory and can it also be associated
with discounts. (SKU stands for "stock keeping unit".)
When the application needs to create an instance that implements
sscSKU,
BusinessObjectFactory
finds the name of the Java class to instantiate from the "skuImplementer"
setting in the appComponents.properties file.
The default "skuImplementer" is
SKUBean.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionintgetNotes()intgetSkuID()intgetSKUID()booleanvoidsetAttributeID1(Integer attributeID1) voidsetAttributeID2(Integer attributeID2) voidsetAttributeID3(Integer attributeID3) voidsetAttributeID4(Integer attributeID4) voidsetAttributeID5(Integer attributeID5) voidvoidvoidvoidsetInventoryLevel(int inventoryLevel) voidvoidsetOptionID1(Integer optionID1) voidsetOptionID2(Integer optionID2) voidsetOptionID3(Integer optionID3) voidsetOptionID4(Integer optionID4) voidsetOptionID5(Integer optionID5) voidsetProduct(Product product) voidsetProductID(Integer productID) voidsetSkuDiscounts(Collection skuDiscounts) voidsetSkuID(int skuID) voidsetSKUID(int skuID) voidsetSkuMessage(String skuMessage) voidsetSkuName(String skuName) voidsetSkuNumber(String skuNumber) voidsetSkuShippingRules(Collection skuShippingRules) voidsetTrackInventory(boolean trackInventory) Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Method Details
-
getSKUID
int getSKUID() -
setSKUID
void setSKUID(int skuID) -
getAttributeID1
Integer getAttributeID1() -
setAttributeID1
-
getAttributeID2
Integer getAttributeID2() -
setAttributeID2
-
getAttributeID3
Integer getAttributeID3() -
setAttributeID3
-
getAttributeID4
Integer getAttributeID4() -
setAttributeID4
-
getAttributeID5
Integer getAttributeID5() -
setAttributeID5
-
getInventoryLevel
int getInventoryLevel() -
setInventoryLevel
void setInventoryLevel(int inventoryLevel) -
getNotes
String getNotes() -
setNotes
-
getOptionID1
Integer getOptionID1() -
setOptionID1
-
getOptionID2
Integer getOptionID2() -
setOptionID2
-
getOptionID3
Integer getOptionID3() -
setOptionID3
-
getOptionID4
Integer getOptionID4() -
setOptionID4
-
getOptionID5
Integer getOptionID5() -
setOptionID5
-
getProductID
Integer getProductID() -
setProductID
-
getSkuID
int getSkuID() -
setSkuID
void setSkuID(int skuID) -
getSkuNumber
String getSkuNumber() -
setSkuNumber
-
getTrackInventory
boolean getTrackInventory() -
setTrackInventory
void setTrackInventory(boolean trackInventory) -
getProduct
Product getProduct() -
setProduct
-
getExtra1
String getExtra1() -
setExtra1
-
getExtra2
String getExtra2() -
setExtra2
-
getExtra3
String getExtra3() -
setExtra3
-
getSkuName
String getSkuName() -
setSkuName
-
getSkuMessage
String getSkuMessage() -
setSkuMessage
-
getSkuDiscounts
Collection getSkuDiscounts() -
setSkuDiscounts
-
getSkuShippingRules
Collection getSkuShippingRules() -
setSkuShippingRules
-