|
Copyright © 2006 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 DiscountAssociation
This interface represents the public interface to the
DiscountAssociation
object. A DiscountAssociation
object is an immutable representation of a discount association. A discount
association is the mapping of a Customer
to a
Discount
and it's primary purpose is to tack and limit how many
times discount is used by a particular customer
Method Summary | |
---|---|
boolean |
equals(Object obj)
Deprecated See BEA Commerce product offering |
String |
getDescription()
Deprecated See BEA Commerce product offering |
Integer |
getId()
Deprecated See BEA Commerce product offering |
QualificationDiscountId |
getQualDiscountId()
Deprecated See BEA Commerce product offering |
int |
getUseCount()
Deprecated See BEA Commerce product offering |
CustomerPk |
getUser()
Deprecated See BEA Commerce product offering |
int |
hashCode()
Deprecated See BEA Commerce product offering |
boolean |
isGlobal()
Deprecated See BEA Commerce product offering |
String |
toString()
Deprecated See BEA Commerce product offering |
Method Detail |
---|
Integer getId()
CustomerPk getUser()
Customer
or more
specifically the CustomerPK
CustomerPK
QualificationDiscountId getQualDiscountId()
QualificationDiscountId
for this discount associationboolean isGlobal()
int getUseCount()
allowedUses
values specified by the discount
- Returns
- the number of time the user has used the discount
- See Also
QualificationDiscountDef.getAllowedUses()
String getDescription()
boolean equals(Object obj)
equals
in class Object
obj
- the DiscountAssociation
to compare this one
against
DiscountAssociation
is the
same as this oneint hashCode()
hashCode
in class Object
String toString()
String representation of this discount
- Overrides:
toString
in class Object
- Returns
- a
String representation of this discount
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |