Class DefaultPPSCouponService
java.lang.Object
de.hybris.platform.couponservices.services.impl.DefaultCouponService
com.sap.retail.sapppspricing.impl.DefaultPPSCouponService
- All Implemented Interfaces:
de.hybris.platform.couponservices.services.CouponService
public class DefaultPPSCouponService
extends de.hybris.platform.couponservices.services.impl.DefaultCouponService
Coupon Service implementation for OPPS Integration
-
Field Summary
Fields inherited from class de.hybris.platform.couponservices.services.impl.DefaultCouponService
COUPON_CODE, ORDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CouponResponsecheckOPPSCouponCode(String couponCode, AbstractOrderModel order) protected booleancontainsOPPSCouponCode(String couponCode, AbstractOrderModel order) de.hybris.platform.store.services.BaseStoreServicede.hybris.platform.servicelayer.config.ConfigurationServicegetCouponForCode(String couponCode) redeemCoupon(String couponCode, CartModel cart) redeemCoupon(String couponCode, OrderModel order) protected voidredeemCouponFromOPPS(CartModel cart, String clearedCouponCode, CouponResponse response) voidreleaseCouponCode(String couponCode, AbstractOrderModel order) voidsetBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) voidsetPpsConfigService(PPSConfigService ppsConfigService) verifyCouponCode(String couponCode, AbstractOrderModel order) Methods inherited from class de.hybris.platform.couponservices.services.impl.DefaultCouponService
assertCouponCodeInOrder, checkMatch, clearCouponCode, containsCouponCode, getBaseSiteService, getCalculationService, getCouponCodeGenerationService, getCouponManagementService, getModelService, getPromotionGroups, getPromotionsService, getValidatedCouponForCode, recalculateOrder, redeemCouponCode, removeCouponAndTriggerCalculation, setBaseSiteService, setCalculationService, setCouponCodeGenerationService, setCouponManagementService, setModelService, setPromotionsService, validateCouponCode
-
Constructor Details
-
DefaultPPSCouponService
public DefaultPPSCouponService()
-
-
Method Details
-
redeemCoupon
- Specified by:
redeemCouponin interfacede.hybris.platform.couponservices.services.CouponService- Overrides:
redeemCouponin classde.hybris.platform.couponservices.services.impl.DefaultCouponService
-
verifyCouponCode
- Specified by:
verifyCouponCodein interfacede.hybris.platform.couponservices.services.CouponService- Overrides:
verifyCouponCodein classde.hybris.platform.couponservices.services.impl.DefaultCouponService
-
redeemCoupon
- Specified by:
redeemCouponin interfacede.hybris.platform.couponservices.services.CouponService- Overrides:
redeemCouponin classde.hybris.platform.couponservices.services.impl.DefaultCouponService
-
getCouponForCode
- Specified by:
getCouponForCodein interfacede.hybris.platform.couponservices.services.CouponService- Overrides:
getCouponForCodein classde.hybris.platform.couponservices.services.impl.DefaultCouponService
-
releaseCouponCode
- Specified by:
releaseCouponCodein interfacede.hybris.platform.couponservices.services.CouponService- Overrides:
releaseCouponCodein classde.hybris.platform.couponservices.services.impl.DefaultCouponService
-
redeemCouponFromOPPS
protected void redeemCouponFromOPPS(CartModel cart, String clearedCouponCode, CouponResponse response) -
checkOPPSCouponCode
-
containsOPPSCouponCode
-
getPpsConfigService
-
setPpsConfigService
-
getConfigurationService
public de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService() -
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) -
getBaseStoreService
public de.hybris.platform.store.services.BaseStoreService getBaseStoreService() -
setBaseStoreService
public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService)
-