public interface GenericPromotionCodeResolver extends XMLizable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright
|
Modifier and Type | Method and Description |
---|---|
PromotionKey[] |
resolveCode(java.lang.String code,
java.util.Hashtable NVP)
Resolves a promotion code to a promotion.
|
PromotionKey[] |
resolveCode(java.lang.String code,
PromotionContext context)
Resolves a promotion code to a promotion.
|
static final java.lang.String COPYRIGHT
PromotionKey[] resolveCode(java.lang.String code, PromotionContext context) throws PromotionApplicationException
code
- The promotion codecontext
- the context within which the resolution is performed.PromotionApplicationException
- when an error is encountered during code resolution.PromotionKey[] resolveCode(java.lang.String code, java.util.Hashtable NVP) throws PromotionApplicationException
code
- the promotion codeNVP
- custom properties passed to the resolver for promotion code
resolution.PromotionApplicationException
- when an error is encountered during code resolution.