Class PromotionCodeServiceImpl
java.lang.Object
ch.tocco.nice2.optional.order.impl.promotioncode.PromotionCodeServiceImpl
- All Implemented Interfaces:
PromotionCodeService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.order.api.promotioncode.PromotionCodeService
PromotionCodeService.PromotionCodeStatus
-
Constructor Summary
ConstructorDescriptionPromotionCodeServiceImpl
(QueryBuilderFactory queryBuilderFactory, Context context) -
Method Summary
Modifier and TypeMethodDescriptioncheckPromotionCode
(String promotionCodeString, List<Entity> articles) @Nullable Entity
getPromotionCodeEntity
(String promotionCodeString) getPromotionCodeLogicForEntity
(Entity entity) void
setPromotionCodeLogics
(List<PromotionCodeLogic> promotionCodeLogics)
-
Constructor Details
-
PromotionCodeServiceImpl
-
-
Method Details
-
checkPromotionCode
public PromotionCodeService.PromotionCodeStatus checkPromotionCode(String promotionCodeString, List<Entity> articles) - Specified by:
checkPromotionCode
in interfacePromotionCodeService
-
getPromotionCodeEntity
- Specified by:
getPromotionCodeEntity
in interfacePromotionCodeService
-
getPromotionCodeLogicForEntity
- Specified by:
getPromotionCodeLogicForEntity
in interfacePromotionCodeService
-
setPromotionCodeLogics
-