Class DiscountRangeAddEditForm
java.lang.Object
org.apache.struts.action.ActionForm
com.softslate.commerce.customer.core.BaseForm
com.softslate.commerce.administrator.core.BaseAdministratorForm
com.softslate.commerce.administrator.product.DiscountRangeAddEditForm
- All Implemented Interfaces:
Serializable
Struts form class corresponding to requests to
"/administrator/DiscountRangeAddForm.do",
"/administrator/DiscountRangeEditForm.do",
"/administrator/DiscountRangeAdd.do", and
"/administrator/DiscountRangeEdit.do". Provides properties corresponding to
the fields for a single discount range record.
- Author:
- David Tobey
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private String
private String
private String
(package private) static org.apache.commons.logging.Log
private String
private String
private String
private String
private String
private String
private String
private static final long
private String
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFloor()
getSkuID()
void
setCeiling
(String ceiling) void
setDiscountID
(String discountID) void
setDiscountRangeID
(String discountRangeID) void
void
setIsActive
(String isActive) void
setParentName
(String parentName) void
setProductID
(String productID) void
void
setRewardAmount
(String rewardAmount) void
setRewardItemsForFree
(String rewardItemsForFree) void
setRewardPercentage
(String rewardPercentage) void
setRewardType
(String rewardType) void
void
org.apache.struts.action.ActionErrors
validate
(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) Methods inherited from class com.softslate.commerce.administrator.core.BaseAdministratorForm
addingAndFieldIsBlank, addingAndFieldIsBlank, addingNewRecord, containsUnsafeCharacter, editingAndFieldIsBeingEmptiedOut, editingAndFieldIsBeingEmptiedOut, getAdministrator, getFormUtils, initializeProperties, mapOfIncomingParams, setAdministrator
Methods inherited from class com.softslate.commerce.customer.core.BaseForm
formUtils, getBusinessObjectFactory, getErrors, getMapping, getMessage, getMessages, getRequest, getSettings, getUser, html5OrXhtml, setBusinessObjectFactory, setErrors, setMapping, setMessages, setRequest, setSettings, setUser
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
discountRangeID
-
productID
-
skuID
-
discountID
-
parentName
-
rewardType
-
rewardAmount
-
rewardPercentage
-
rewardItemsForFree
-
reward
-
floor
-
ceiling
-
isActive
-
-
Constructor Details
-
DiscountRangeAddEditForm
public DiscountRangeAddEditForm()
-
-
Method Details
-
getParentName
-
setParentName
-
getCeiling
-
setCeiling
-
getProductID
-
setProductID
-
getSkuID
-
setSkuID
-
getDiscountID
-
setDiscountID
-
getDiscountRangeID
-
setDiscountRangeID
-
getFloor
-
setFloor
-
getIsActive
-
setIsActive
-
getReward
-
setReward
-
getRewardType
-
setRewardType
-
getRewardAmount
-
setRewardAmount
-
getRewardPercentage
-
setRewardPercentage
-
getRewardItemsForFree
-
setRewardItemsForFree
-
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) - Overrides:
validate
in classorg.apache.struts.action.ActionForm
-
splitValues
public void splitValues()
-