Class UpdateContractServiceImpl

java.lang.Object
com.skava.accounts.service.impl.ContractServiceImpl
com.skava.accounts.service.impl.UpdateContractServiceImpl
All Implemented Interfaces:
UpdateContractService, com.skava.core.EcommService<ContractRequestInternal,ContractAPIResponse>

@Service public class UpdateContractServiceImpl extends ContractServiceImpl implements UpdateContractService
The UpdateContractServiceImpl is used to update a contract based on the provided information.
Author:
Infosys Equinox
  • Constructor Details

    • UpdateContractServiceImpl

      public UpdateContractServiceImpl()
  • Method Details

    • getValidator

      @ValidatorEvent(serviceName="account", webhookName="accountservice/validator/contract", actionType="update") public List<com.skava.core.validation.ValidatorComponent> getValidator()
      Specified by:
      getValidator in interface com.skava.core.EcommService<ContractRequestInternal,ContractAPIResponse>
    • process

      @SendEvent(eventType="accountservice/contract/patch", identifier="response_contract.id") public ContractAPIResponse process(@Valid @Valid ContractRequestInternal request)
      This method is used to create Account based on given Account.
      Specified by:
      process in interface com.skava.core.EcommService<ContractRequestInternal,ContractAPIResponse>
      Parameters:
      request - It contains the attributes required for the creation of Account.
      Returns:
      It returns the ContractAPIResponse.
      Throws:
      com.skava.core.validation.ValidateException - the validate exception