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

Method Summary
 java.lang.String getCartItemsType()
           
 java.lang.String getCartItemsValue()
           
 java.lang.String getCode()
           
 java.lang.String getCouponCode()
           
 java.lang.String getDescription()
           
 int getDiscountID()
           
 java.util.Map getDiscountInformation()
           
 int getDiscountOrder()
           
 java.util.Collection getDiscountRanges()
           
 java.lang.String getExpirationDate()
           
 java.lang.String getExtra1()
           
 java.lang.String getExtra2()
           
 java.lang.String getExtra3()
           
 boolean getIsActive()
           
 boolean getIsTimesPerCustomer()
           
 java.lang.String getItemsAppliesType()
           
 java.lang.String getItemsAppliesValue()
           
 java.lang.Integer getMaxTimesUsed()
           
 java.lang.String getName()
           
 java.util.Collection getOrderItems()
           
 java.lang.Double getReward()
           
 java.lang.String getRewardType()
           
 java.util.Collection getSkuDiscounts()
           
 java.lang.String getStartDate()
           
 java.lang.Integer getTimesUsed()
           
 java.lang.Double getTotalAmount()
           
 java.lang.Integer getTotalQuantity()
           
 java.lang.Double getTotalWeight()
           
 java.lang.String getUsersAppliesType()
           
 java.lang.String getUsersAppliesValue()
           
 void setActive(boolean isActive)
           
 void setCartItemsType(java.lang.String cartItemsType)
           
 void setCartItemsValue(java.lang.String cartItemsValue)
           
 void setCode(java.lang.String code)
           
 void setCouponCode(java.lang.String couponCode)
           
 void setDescription(java.lang.String description)
           
 void setDiscountID(int discountID)
           
 void setDiscountInformation(java.util.Map discountInformation)
           
 void setDiscountOrder(int discountOrder)
           
 void setDiscountRanges(java.util.Collection discountRanges)
           
 void setExpirationDate(java.lang.String expirationDate)
           
 void setExtra1(java.lang.String extra1)
           
 void setExtra2(java.lang.String extra2)
           
 void setExtra3(java.lang.String extra3)
           
 void setIsActive(boolean isActive)
           
 void setIsTimesPerCustomer(boolean isTimesPerCustomer)
           
 void setItemsAppliesType(java.lang.String itemsAppliesType)
           
 void setItemsAppliesValue(java.lang.String itemsAppliesValue)
           
 void setMaxTimesUsed(java.lang.Integer maxTimesUsed)
           
 void setName(java.lang.String name)
           
 void setOrderItems(java.util.Collection orderItems)
           
 void setReward(java.lang.Double reward)
           
 void setRewardType(java.lang.String rewardType)
           
 void setSkuDiscounts(java.util.Collection skuDiscounts)
           
 void setStartDate(java.lang.String startDate)
           
 void setTimesUsed(java.lang.Integer timesUsed)
           
 void setTotalAmount(java.lang.Double totalAmount)
           
 void setTotalQuantity(java.lang.Integer totalQuantity)
           
 void setTotalWeight(java.lang.Double totalWeight)
           
 void setUsersAppliesType(java.lang.String usersAppliesType)
           
 void setUsersAppliesValue(java.lang.String usersAppliesValue)
           
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Method Detail

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 2003–2005