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
Attribute
s and
Option
s, or an
Attribute
and its Option
s, 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 TypeMethodDescriptionint
getNotes()
int
getSkuID()
int
getSKUID()
boolean
void
setAttributeID1
(Integer attributeID1) void
setAttributeID2
(Integer attributeID2) void
setAttributeID3
(Integer attributeID3) void
setAttributeID4
(Integer attributeID4) void
setAttributeID5
(Integer attributeID5) void
void
void
void
setInventoryLevel
(int inventoryLevel) void
void
setOptionID1
(Integer optionID1) void
setOptionID2
(Integer optionID2) void
setOptionID3
(Integer optionID3) void
setOptionID4
(Integer optionID4) void
setOptionID5
(Integer optionID5) void
setProduct
(Product product) void
setProductID
(Integer productID) void
setSkuDiscounts
(Collection skuDiscounts) void
setSkuID
(int skuID) void
setSKUID
(int skuID) void
setSkuMessage
(String skuMessage) void
setSkuName
(String skuName) void
setSkuNumber
(String skuNumber) void
setSkuShippingRules
(Collection skuShippingRules) void
setTrackInventory
(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
-