Package com.skava.price.service.impl
Class CreatePriceServiceImpl
java.lang.Object
com.skava.price.service.impl.CreatePriceServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<PriceRequestInternal,
,Price> CreatePriceService
Handles creation of Price records
- Since:
- 8.0
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
process
(PriceRequestInternal request) This method is used to create Price based on given values.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommService
getValidateException, getValidator
-
Constructor Details
-
CreatePriceServiceImpl
public CreatePriceServiceImpl()
-
-
Method Details
-
getValidator
@ValidatorEvent(serviceName="pricing", webhookName="priceservice/validator/price", actionType="create") public List<com.skava.core.validation.ValidatorComponent> getValidator()- Specified by:
getValidator
in interfacecom.skava.core.EcommService<PriceRequestInternal,
Price>
-
process
@SendEvent(eventType="priceservice/price/create", identifier="response_id") public Price process(PriceRequestInternal request) This method is used to create Price based on given values.- Specified by:
process
in interfacecom.skava.core.EcommService<PriceRequestInternal,
Price> - Parameters:
request
- It contains the attributes required for the creation of Price.- Returns:
- It returns the
PriceResponse
.
-