Class CreatePriceServiceImpl

java.lang.Object
com.skava.price.service.impl.CreatePriceServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<PriceRequestInternal,Price>, CreatePriceService

@Service public class CreatePriceServiceImpl extends Object implements CreatePriceService
Handles creation of Price records
Since:
8.0
Author:
Infosys Equinox
  • 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 interface com.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 interface com.skava.core.EcommService<PriceRequestInternal,Price>
      Parameters:
      request - It contains the attributes required for the creation of Price.
      Returns:
      It returns the PriceResponse.