com.softslate.commerce.businessobjects.product
Interface Discount
- All Superinterfaces:
- BusinessObject
- All Known Implementing Classes:
- DiscountBean
public interface Discount
- extends BusinessObject
Interface representing a discount within the system.
When the application needs to create an instance that implements
sscDiscount
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"discountImplementer" setting in the appComponents.properties
file.
The default "discountImplementer" is
DiscountBean
.
- Author:
- David Tobey
getCouponCode
java.lang.String getCouponCode()
setCouponCode
void setCouponCode(java.lang.String couponCode)
getIsTimesPerCustomer
boolean getIsTimesPerCustomer()
setIsTimesPerCustomer
void setIsTimesPerCustomer(boolean isTimesPerCustomer)
getItemsAppliesType
java.lang.String getItemsAppliesType()
setItemsAppliesType
void setItemsAppliesType(java.lang.String itemsAppliesType)
getItemsAppliesValue
java.lang.String getItemsAppliesValue()
setItemsAppliesValue
void setItemsAppliesValue(java.lang.String itemsAppliesValue)
getUsersAppliesType
java.lang.String getUsersAppliesType()
setUsersAppliesType
void setUsersAppliesType(java.lang.String usersAppliesType)
getUsersAppliesValue
java.lang.String getUsersAppliesValue()
setUsersAppliesValue
void setUsersAppliesValue(java.lang.String usersAppliesValue)
getCartItemsType
java.lang.String getCartItemsType()
setCartItemsType
void setCartItemsType(java.lang.String cartItemsType)
getCartItemsValue
java.lang.String getCartItemsValue()
setCartItemsValue
void setCartItemsValue(java.lang.String cartItemsValue)
getReward
java.lang.Double getReward()
setReward
void setReward(java.lang.Double reward)
getRewardType
java.lang.String getRewardType()
setRewardType
void setRewardType(java.lang.String rewardType)
setActive
void setActive(boolean isActive)
getCode
java.lang.String getCode()
setCode
void setCode(java.lang.String code)
getDescription
java.lang.String getDescription()
setDescription
void setDescription(java.lang.String description)
getDiscountID
int getDiscountID()
setDiscountID
void setDiscountID(int discountID)
getDiscountOrder
int getDiscountOrder()
setDiscountOrder
void setDiscountOrder(int discountOrder)
getExpirationDate
java.lang.String getExpirationDate()
setExpirationDate
void setExpirationDate(java.lang.String expirationDate)
getExtra1
java.lang.String getExtra1()
setExtra1
void setExtra1(java.lang.String extra1)
getExtra2
java.lang.String getExtra2()
setExtra2
void setExtra2(java.lang.String extra2)
getExtra3
java.lang.String getExtra3()
setExtra3
void setExtra3(java.lang.String extra3)
getIsActive
boolean getIsActive()
setIsActive
void setIsActive(boolean isActive)
getMaxTimesUsed
java.lang.Integer getMaxTimesUsed()
setMaxTimesUsed
void setMaxTimesUsed(java.lang.Integer maxTimesUsed)
getName
java.lang.String getName()
setName
void setName(java.lang.String name)
getStartDate
java.lang.String getStartDate()
setStartDate
void setStartDate(java.lang.String startDate)
getTimesUsed
java.lang.Integer getTimesUsed()
setTimesUsed
void setTimesUsed(java.lang.Integer timesUsed)
getSkuDiscounts
java.util.Collection getSkuDiscounts()
setSkuDiscounts
void setSkuDiscounts(java.util.Collection skuDiscounts)
getDiscountRanges
java.util.Collection getDiscountRanges()
setDiscountRanges
void setDiscountRanges(java.util.Collection discountRanges)
getOrderItems
java.util.Collection getOrderItems()
setOrderItems
void setOrderItems(java.util.Collection orderItems)
getTotalQuantity
java.lang.Integer getTotalQuantity()
setTotalQuantity
void setTotalQuantity(java.lang.Integer totalQuantity)
getTotalAmount
java.lang.Double getTotalAmount()
setTotalAmount
void setTotalAmount(java.lang.Double totalAmount)
getTotalWeight
java.lang.Double getTotalWeight()
setTotalWeight
void setTotalWeight(java.lang.Double totalWeight)
getDiscountInformation
java.util.Map getDiscountInformation()
setDiscountInformation
void setDiscountInformation(java.util.Map discountInformation)
Copyright © SoftSlate, LLC 20032005