Package com.skava.promotion.service.impl
Class CreatePromoWalletServiceImpl
java.lang.Object
com.skava.promotion.service.impl.CreatePromoWalletServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<PromoWalletRequestInternal,,PromoWalletAPIResponse> CreatePromoWalletService
@Service
public class CreatePromoWalletServiceImpl
extends Object
implements CreatePromoWalletService
A class that provides functionality to create a promotion
- Since:
- 6.0
- Version:
- 8.0
- Author:
- Infosys Equinox
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.skava.core.auth.AuthTokenHandlerHolds the instance for AuthTokenHandlerHolds the instance for CollectionRepositoryorg.springframework.context.MessageSourceHolds the instance for messageSourceprotected PromotionEventMessageSenderInstance ofPromotionEventMessageSender -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>process(PromoWalletRequestInternal request) Method to handle the POST callMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.skava.core.EcommService
getValidateException, getValidator
-
Field Details
-
collectionRepository
Holds the instance for CollectionRepository -
messageSource
@Autowired public org.springframework.context.MessageSource messageSourceHolds the instance for messageSource -
authTokenHandler
@Autowired public com.skava.core.auth.AuthTokenHandler authTokenHandlerHolds the instance for AuthTokenHandler -
promotionEventSender
Instance ofPromotionEventMessageSender
-
-
Constructor Details
-
CreatePromoWalletServiceImpl
public CreatePromoWalletServiceImpl()
-
-
Method Details
-
getValidator
- Specified by:
getValidatorin interfacecom.skava.core.EcommService<PromoWalletRequestInternal,PromoWalletAPIResponse>
-
process
Method to handle the POST call- Specified by:
processin interfacecom.skava.core.EcommService<PromoWalletRequestInternal,PromoWalletAPIResponse>
-