com.retek.component.customerorder
Class CustomerOrderPromotionDiscountType
java.lang.Object
org.apache.commons.lang.enums.Enum
com.retek.commons.util.type.Enum
com.retek.component.customerorder.CustomerOrderPromotionDiscountType
- All Implemented Interfaces:
- java.lang.Comparable, com.retek.swing11.commons.type.Displayable, java.io.Serializable
- public class CustomerOrderPromotionDiscountType
- extends Enum
Class which encapsulates type-safe enum for identifying types of
customer order discount records. This type represents a flattened
representation of promotion benefit types (and service types).
- See Also:
- Serialized Form
Fields inherited from class org.apache.commons.lang.enums.Enum |
iToString |
Methods inherited from class org.apache.commons.lang.enums.Enum |
compareTo, equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
STANDARD_SHIPPING_CODE
public static final java.lang.String STANDARD_SHIPPING_CODE
- See Also:
- Constant Field Values
ADDITIONAL_SHIPPING_CODE
public static final java.lang.String ADDITIONAL_SHIPPING_CODE
- See Also:
- Constant Field Values
PERSONALIZATION_CODE
public static final java.lang.String PERSONALIZATION_CODE
- See Also:
- Constant Field Values
MONOGRAM_CODE
public static final java.lang.String MONOGRAM_CODE
- See Also:
- Constant Field Values
GIFT_WRAP_CODE
public static final java.lang.String GIFT_WRAP_CODE
- See Also:
- Constant Field Values
GIFT_CARD_CODE
public static final java.lang.String GIFT_CARD_CODE
- See Also:
- Constant Field Values
GIFT_CERTIFICATE_CODE
public static final java.lang.String GIFT_CERTIFICATE_CODE
- See Also:
- Constant Field Values
ITEM_CODE
public static final java.lang.String ITEM_CODE
- See Also:
- Constant Field Values
LINE_MERCH_AMOUNT_CODE
public static final java.lang.String LINE_MERCH_AMOUNT_CODE
- See Also:
- Constant Field Values
ORDER_MERCH_AMOUNT_CODE
public static final java.lang.String ORDER_MERCH_AMOUNT_CODE
- See Also:
- Constant Field Values
PLAN_CODE_CODE
public static final java.lang.String PLAN_CODE_CODE
- See Also:
- Constant Field Values
SELLING_LIST_CODE
public static final java.lang.String SELLING_LIST_CODE
- See Also:
- Constant Field Values
STANDARD_SHIPPING
public static final CustomerOrderPromotionDiscountType STANDARD_SHIPPING
ADDITIONAL_SHIPPING
public static final CustomerOrderPromotionDiscountType ADDITIONAL_SHIPPING
PERSONALIZATION
public static final CustomerOrderPromotionDiscountType PERSONALIZATION
MONOGRAMMING
public static final CustomerOrderPromotionDiscountType MONOGRAMMING
GIFT_WRAP
public static final CustomerOrderPromotionDiscountType GIFT_WRAP
GIFT_CARD
public static final CustomerOrderPromotionDiscountType GIFT_CARD
GIFT_CERTIFICATE
public static final CustomerOrderPromotionDiscountType GIFT_CERTIFICATE
ITEM
public static final CustomerOrderPromotionDiscountType ITEM
LINE_MERCH_AMOUNT
public static final CustomerOrderPromotionDiscountType LINE_MERCH_AMOUNT
ORDER_MERCH_AMOUNT
public static final CustomerOrderPromotionDiscountType ORDER_MERCH_AMOUNT
PLAN_CODE
public static final CustomerOrderPromotionDiscountType PLAN_CODE
SELLING_LIST
public static final CustomerOrderPromotionDiscountType SELLING_LIST
ORDER_DISCOUNT_TYPES
public static final java.util.Set ORDER_DISCOUNT_TYPES
ORDER_LINE_DISCOUNT_TYPES
public static final java.util.Set ORDER_LINE_DISCOUNT_TYPES
SERVICE_LINE_DISCOUNT_TYPES
public static final java.util.Set SERVICE_LINE_DISCOUNT_TYPES
fromCode
public static CustomerOrderPromotionDiscountType fromCode(java.lang.String code)
fromPromotionBenefit
public static CustomerOrderPromotionDiscountType fromPromotionBenefit(PromotionBenefit promotionBenefit)
throws SystemException
- Throws:
SystemException
getValues
public static java.util.List getValues()
isOrderLineDiscountType
public boolean isOrderLineDiscountType()
- Return a boolean indicating if the promotion discount type is for
an order line level discount.
- Returns:
- true if order line level discount
isServiceLineDiscountType
public boolean isServiceLineDiscountType()
- Return a boolean indicating if the promotion discount type is for
a service line level discount.
- Returns:
- true if service line level discount
isOrderDiscountType
public boolean isOrderDiscountType()
- Return a boolean indicating if the promotion discount type is for
an order level discount.
- Returns:
- true if order level discount
Copyright © 2005 Retek Inc. All Rights Reserved.
- Generated at Fri, 01/21/2005 14:25