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 Details

    • getCouponCode

      String getCouponCode()
    • setCouponCode

      void setCouponCode(String couponCode)
    • getIsTimesPerCustomer

      boolean getIsTimesPerCustomer()
    • setIsTimesPerCustomer

      void setIsTimesPerCustomer(boolean isTimesPerCustomer)
    • getItemsAppliesType

      String getItemsAppliesType()
    • setItemsAppliesType

      void setItemsAppliesType(String itemsAppliesType)
    • getItemsAppliesValue

      String getItemsAppliesValue()
    • setItemsAppliesValue

      void setItemsAppliesValue(String itemsAppliesValue)
    • getUsersAppliesType

      String getUsersAppliesType()
    • setUsersAppliesType

      void setUsersAppliesType(String usersAppliesType)
    • getUsersAppliesValue

      String getUsersAppliesValue()
    • setUsersAppliesValue

      void setUsersAppliesValue(String usersAppliesValue)
    • getCartItemsType

      String getCartItemsType()
    • setCartItemsType

      void setCartItemsType(String cartItemsType)
    • getCartItemsValue

      String getCartItemsValue()
    • setCartItemsValue

      void setCartItemsValue(String cartItemsValue)
    • getReward

      Double getReward()
    • setReward

      void setReward(Double reward)
    • getRewardType

      String getRewardType()
    • setRewardType

      void setRewardType(String rewardType)
    • setActive

      void setActive(boolean isActive)
    • getCode

      String getCode()
    • setCode

      void setCode(String code)
    • getDescription

      String getDescription()
    • setDescription

      void setDescription(String description)
    • getDiscountID

      int getDiscountID()
    • setDiscountID

      void setDiscountID(int discountID)
    • getDiscountOrder

      int getDiscountOrder()
    • setDiscountOrder

      void setDiscountOrder(int discountOrder)
    • getExpirationDate

      String getExpirationDate()
    • setExpirationDate

      void setExpirationDate(String expirationDate)
    • getExtra1

      String getExtra1()
    • setExtra1

      void setExtra1(String extra1)
    • getExtra2

      String getExtra2()
    • setExtra2

      void setExtra2(String extra2)
    • getExtra3

      String getExtra3()
    • setExtra3

      void setExtra3(String extra3)
    • getIsActive

      boolean getIsActive()
    • setIsActive

      void setIsActive(boolean isActive)
    • getMaxTimesUsed

      Integer getMaxTimesUsed()
    • setMaxTimesUsed

      void setMaxTimesUsed(Integer maxTimesUsed)
    • getName

      String getName()
    • setName

      void setName(String name)
    • getStartDate

      String getStartDate()
    • setStartDate

      void setStartDate(String startDate)
    • getTimesUsed

      Integer getTimesUsed()
    • setTimesUsed

      void setTimesUsed(Integer timesUsed)
    • getOrderItemID

      Integer getOrderItemID()
    • setOrderItemID

      void setOrderItemID(Integer orderItemID)
    • getOrderItem

      OrderItem getOrderItem()
    • setOrderItem

      void setOrderItem(OrderItem orderItem)
    • getSkuDiscounts

      Collection getSkuDiscounts()
    • setSkuDiscounts

      void setSkuDiscounts(Collection skuDiscounts)
    • getDiscountRanges

      Collection getDiscountRanges()
    • setDiscountRanges

      void setDiscountRanges(Collection discountRanges)
    • getOrderItems

      Collection getOrderItems()
    • setOrderItems

      void setOrderItems(Collection orderItems)
    • getTotalQuantity

      Integer getTotalQuantity()
    • setTotalQuantity

      void setTotalQuantity(Integer totalQuantity)
    • getTotalAmount

      Double getTotalAmount()
    • setTotalAmount

      void setTotalAmount(Double totalAmount)
    • getTotalWeight

      Double getTotalWeight()
    • setTotalWeight

      void setTotalWeight(Double totalWeight)
    • getDiscountInformation

      Map getDiscountInformation()
    • setDiscountInformation

      void setDiscountInformation(Map discountInformation)