Class UpdateAccountServiceImpl

java.lang.Object
com.skava.accounts.service.impl.UpdateAccountServiceImpl
All Implemented Interfaces:
UpdateAccountService, com.skava.core.EcommService<AccountRequestInternal,AccountAPIResponse>

@Service @Transactional(propagation=REQUIRED, readOnly=false, noRollbackFor=java.lang.Exception.class) public class UpdateAccountServiceImpl extends Object implements UpdateAccountService
The Class UpdateAccountServiceImpl is used to update an account based on the provided information.
Author:
Infosys Equinox
  • Constructor Details

    • UpdateAccountServiceImpl

      public UpdateAccountServiceImpl()
  • Method Details

    • process

      @SendEvent(eventType="accountservice/account/update", identifier="response_account.id") public AccountAPIResponse process(AccountRequestInternal request)
      This method is used to update all field in Account based on given Account.
      Specified by:
      process in interface com.skava.core.EcommService<AccountRequestInternal,AccountAPIResponse>
      Parameters:
      request - It contains the attributes required for the update all field in Account.
      Returns:
      It returns the AccountAPIResponse.
    • getValidator

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