public interface PromotionCodeManager extends PromotionCodeResolver
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Deprecated.
IBM Copyright
|
static int | PROMO_CODE_IN_USE
Deprecated.
A promotion code is being used in a order
|
static int | PROMO_CODE_USED
Deprecated.
A promotion code has been used in a order that's completed
|
Modifier and Type | Method and Description |
---|---|
void | addCodeForOrder(java.lang.String code, OrderKey okey)
Deprecated.
Use addCodeForOrder(String code, OrderKey okey, Date date)
|
void | addCodeForOrder(java.lang.String code, OrderKey okey, java.util.Date date)
Deprecated.
Add a promotion code to an order
|
java.lang.String[] | listCodeForOrder(OrderKey okey)
Deprecated.
List all the codes that are used in an order
|
void | removeAllCodesForOrder(OrderKey okey)
Deprecated.
Removes all promotion codes entered for an order
|
void | removeCodeForOrder(java.lang.String code, OrderKey okey)
Deprecated.
Removes a promotion code entered for an order
|
PromotionErrorReport | validatePromotionCode(java.lang.String code, CustomerKey ukey, StoreKey storeKey)
Deprecated.
Use validatePromotionCode(String code,CustomerKey ukey,StoreKey storeKey, Date date)
|
PromotionErrorReport | validatePromotionCode(java.lang.String code, CustomerKey ukey, StoreKey storeKey, java.util.Date date)
Deprecated.
Validates a promotion code.
|
static final java.lang.String COPYRIGHT
static final int PROMO_CODE_IN_USE
static final int PROMO_CODE_USED
void addCodeForOrder(java.lang.String code, OrderKey okey) throws PromotionApplicationException
void addCodeForOrder(java.lang.String code, OrderKey okey, java.util.Date date) throws PromotionApplicationException
java.lang.String[] listCodeForOrder(OrderKey okey)
void removeCodeForOrder(java.lang.String code, OrderKey okey) throws PromotionApplicationException
void removeAllCodesForOrder(OrderKey okey) throws PromotionApplicationException
PromotionErrorReport validatePromotionCode(java.lang.String code, CustomerKey ukey, StoreKey storeKey) throws PromotionApplicationException
PromotionErrorReport validatePromotionCode(java.lang.String code, CustomerKey ukey, StoreKey storeKey, java.util.Date date) throws PromotionApplicationException