Package com.skava.accounts.service.impl
Class DeleteAccountBuyerServiceImpl
java.lang.Object
com.skava.accounts.service.impl.DeleteAccountBuyerServiceImpl
- All Implemented Interfaces:
DeleteAccountBuyerService
,com.skava.core.EcommService<AccountBuyerRequestInternal,
AccountBuyerAPIResponse>
@Service
public class DeleteAccountBuyerServiceImpl
extends Object
implements DeleteAccountBuyerService
The Class DeleteAccountBuyerServiceImpl is used for delete account buyer based on the provided information.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
process
(AccountBuyerRequestInternal request) This method is used to delete the buyer users.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
-
DeleteAccountBuyerServiceImpl
public DeleteAccountBuyerServiceImpl()
-
-
Method Details
-
process
@SendEvent(eventType="accountservice/accountbuyer/delete", identifier="request_accountBuyer.id") public AccountBuyerAPIResponse process(AccountBuyerRequestInternal request) This method is used to delete the buyer users.- Specified by:
process
in interfacecom.skava.core.EcommService<AccountBuyerRequestInternal,
AccountBuyerAPIResponse> - Parameters:
request
- object of typeAccountBuyerRequestInternal
. It contains the attributes required for deleting buyer users.- Returns:
- It returns the object of type
AccountBuyerAPIResponse
.
-
getValidator
@ValidatorEvent(serviceName="account", webhookName="accountservice/validator/accountbuyer", actionType="delete") public List<com.skava.core.validation.ValidatorComponent> getValidator()- Specified by:
getValidator
in interfacecom.skava.core.EcommService<AccountBuyerRequestInternal,
AccountBuyerAPIResponse>
-