Class DiscountAddEditForm
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.DiscountAddEditForm
- All Implemented Interfaces:
Serializable
Struts form class corresponding to requests to
"/administrator/DiscountAddForm.do", "/administrator/DiscountEditForm.do",
"/administrator/DiscountAdd.do", and "/administrator/DiscountEdit.do".
Provides properties corresponding to the fields for a single discount record.
- Author:
- David Tobey
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private 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 String
private String
private String
private static final long
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
getName()
getSkuID()
void
setCartItemsAll
(String cartItemsAll) void
setCartItemsAny
(String cartItemsAny) void
setCartItemsType
(String cartItemsType) void
setCartItemsValue
(String cartItemsValue) void
void
setCouponCode
(String couponCode) void
setDescription
(String description) void
setDiscountID
(String discountID) void
setDiscountOrder
(String discountOrder) void
setExpirationDate
(String expirationDate) void
setExpirationDateDay
(String expirationDateDay) void
setExpirationDateHour
(String expirationDateHour) void
setExpirationDateMinute
(String expirationDateMinute) void
setExpirationDateMonth
(String expirationDateMonth) void
setExpirationDateYear
(String expirationDateYear) void
void
void
void
setIsActive
(String isActive) void
setIsTimesPerCustomer
(String isTimesPerCustomer) void
setItemsAppliesType
(String itemsAppliesType) void
setItemsAppliesValue
(String itemsAppliesValue) void
setMaxTimesUsed
(String maxTimesUsed) void
void
setOrderItemID
(String orderItemID) 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
setStartDate
(String startDate) void
setStartDateDay
(String startDateDay) void
setStartDateHour
(String startDateHour) void
setStartDateMinute
(String startDateMinute) void
setStartDateMonth
(String startDateMonth) void
setStartDateYear
(String startDateYear) void
setTimesOption
(String timesOption) void
setTimesUsed
(String timesUsed) void
setUsersAppliesType
(String usersAppliesType) void
setUsersAppliesValue
(String usersAppliesValue) void
setUsersOrderTotal
(String usersOrderTotal) void
setUsersStatuses
(String usersStatuses) void
setUsersUserNames
(String usersUserNames) 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 -
parentName
-
discountID
-
productID
-
skuID
-
code
-
name
-
description
-
isActive
-
usersAppliesType
-
usersAppliesValue
-
usersUserNames
-
usersStatuses
-
usersOrderTotal
-
itemsAppliesType
-
itemsAppliesValue
-
cartItemsType
-
cartItemsValue
-
cartItemsAny
-
cartItemsAll
-
rewardType
-
reward
-
rewardAmount
-
rewardPercentage
-
rewardItemsForFree
-
couponCode
-
startDate
-
startDateYear
-
startDateMonth
-
startDateDay
-
startDateHour
-
startDateMinute
-
expirationDate
-
expirationDateYear
-
expirationDateMonth
-
expirationDateDay
-
expirationDateHour
-
expirationDateMinute
-
timesOption
-
timesUsed
-
maxTimesUsed
-
isTimesPerCustomer
-
orderItemID
-
discountOrder
-
extra1
-
extra2
-
extra3
-
-
Constructor Details
-
DiscountAddEditForm
public DiscountAddEditForm()
-
-
Method Details
-
getCouponCode
-
setCouponCode
-
getDescription
-
setDescription
-
getDiscountOrder
-
setDiscountOrder
-
getExpirationDate
-
setExpirationDate
-
getIsActive
-
setIsActive
-
getIsTimesPerCustomer
-
setIsTimesPerCustomer
-
getMaxTimesUsed
-
setMaxTimesUsed
-
getCartItemsType
-
setCartItemsType
-
getCartItemsValue
-
setCartItemsValue
-
getCartItemsAny
-
setCartItemsAny
-
getCartItemsAll
-
setCartItemsAll
-
getReward
-
setReward
-
getRewardType
-
setRewardType
-
getStartDate
-
setStartDate
-
getTimesUsed
-
setTimesUsed
-
getProductID
-
setProductID
-
getSkuID
-
setSkuID
-
getParentName
-
setParentName
-
getCode
-
setCode
-
getDiscountID
-
setDiscountID
-
getName
-
setName
-
getExtra1
-
setExtra1
-
getExtra2
-
setExtra2
-
getExtra3
-
setExtra3
-
getTimesOption
-
setTimesOption
-
getItemsAppliesType
-
setItemsAppliesType
-
getItemsAppliesValue
-
setItemsAppliesValue
-
getUsersAppliesType
-
setUsersAppliesType
-
getUsersAppliesValue
-
setUsersAppliesValue
-
getRewardAmount
-
setRewardAmount
-
getRewardPercentage
-
setRewardPercentage
-
getRewardItemsForFree
-
setRewardItemsForFree
-
getUsersOrderTotal
-
setUsersOrderTotal
-
getUsersStatuses
-
setUsersStatuses
-
getUsersUserNames
-
setUsersUserNames
-
getExpirationDateHour
-
setExpirationDateHour
-
getExpirationDateMinute
-
setExpirationDateMinute
-
getExpirationDateMonth
-
setExpirationDateMonth
-
getExpirationDateYear
-
setExpirationDateYear
-
getStartDateHour
-
setStartDateHour
-
getStartDateMinute
-
setStartDateMinute
-
getStartDateMonth
-
setStartDateMonth
-
getStartDateYear
-
setStartDateYear
-
getExpirationDateDay
-
setExpirationDateDay
-
getStartDateDay
-
setStartDateDay
-
getOrderItemID
-
setOrderItemID
-
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()
-