Interface DiscountRange
- All Superinterfaces:
BusinessObject
- All Known Implementing Classes:
DiscountRangeBean
Interface representing a discount range within the system.
When the application needs to create an instance that implements
DiscountRange
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"discountRangeImplementer" setting in the
appComponents.properties
file.
The default "discountRangeImplementer" is
DiscountRangeBean
.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getFloor()
boolean
void
setCeiling
(Double ceiling) void
setDiscount
(Discount discount) void
setDiscountID
(int discountID) void
setDiscountRangeID
(int discountRangeID) void
void
setIsActive
(boolean isActive) void
void
setRewardType
(String rewardType) Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Method Details
-
getReward
Double getReward() -
setReward
-
getRewardType
String getRewardType() -
setRewardType
-
getCeiling
Double getCeiling() -
setCeiling
-
getDiscount
Discount getDiscount() -
setDiscount
-
getDiscountID
int getDiscountID() -
setDiscountID
void setDiscountID(int discountID) -
getDiscountRangeID
int getDiscountRangeID() -
setDiscountRangeID
void setDiscountRangeID(int discountRangeID) -
getFloor
Double getFloor() -
setFloor
-
getIsActive
boolean getIsActive() -
setIsActive
void setIsActive(boolean isActive)
-