|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Deprecated public interface QualificationDiscountDef
This interface defines the public interface of an immutable discount
definition object. Discount definition objects are the run time
representation of a discount. Discount are defined in XML discount set
definitions. The QualDiscountDefFactory is used to create
instance of discount definition objects from the discount set definition
| Field Summary | |
|---|---|
static String |
ITEM_DISCOUNT_TYPE
Deprecated See BEA Commerce product offering |
static String |
ORDER_DISCOUNT_TYPE
Deprecated See BEA Commerce product offering |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Deprecated See BEA Commerce product offering |
int |
getAllowedUses()
Deprecated See BEA Commerce product offering |
String |
getDescription()
Deprecated See BEA Commerce product offering |
Date |
getEndDate()
Deprecated See BEA Commerce product offering |
String |
getGlobalDescription()
Deprecated See BEA Commerce product offering |
QualificationDiscountId |
getId()
Deprecated See BEA Commerce product offering |
DiscountModifier |
getModifier()
Deprecated See BEA Commerce product offering |
String |
getName()
Deprecated See BEA Commerce product offering |
int |
getPriority()
Deprecated See BEA Commerce product offering |
DiscountRule |
getRule()
Deprecated See BEA Commerce product offering |
String |
getSetName()
Deprecated As of version 4.0, this method now throws an UnsupportedOperationException. |
Date |
getStartDate()
Deprecated See BEA Commerce product offering |
String |
getType()
Deprecated See BEA Commerce product offering |
int |
hashCode()
Deprecated See BEA Commerce product offering |
boolean |
isActive()
Deprecated See BEA Commerce product offering |
boolean |
isGlobal()
Deprecated See BEA Commerce product offering |
void |
setId(QualificationDiscountId newId)
Deprecated See BEA Commerce product offering |
String |
toString()
Deprecated See BEA Commerce product offering |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
static final String ITEM_DISCOUNT_TYPE
static final String ORDER_DISCOUNT_TYPE
| Method Detail |
|---|
QualificationDiscountId getId()
QualificationDiscountId (unique identifier)
associated with this definition
QualificationDiscountId)void setId(QualificationDiscountId newId)
int getPriority()
boolean isGlobal()
String getName()
getSetName()String getType()
int getAllowedUses()
DiscountModifier getModifier()
DiscountModifier associated with this discount
DiscountModifier associated with this discountDiscountModifierDiscountRule getRule()
DiscountRule associated with this discount
DiscountRule associated with this discountDiscountRuleDate getEndDate()
Date getStartDate()
boolean isActive()
String getDescription()
String getGlobalDescription()
String getSetName()
UnsupportedOperationException.
UnsupportedOperationExceptionboolean equals(Object obj)
equals in class Objectobj - the QualificationDiscountDef to compare this one
against
QualificationDiscountDef is the
same as this oneint hashCode()
hashCode in class ObjectString toString()
String representation of this discount
- Overrides:
toString in class Object
- Returns
- a
String representation of this discount
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||