Class FindCartAddressServiceImpl

java.lang.Object
com.skava.cart.service.impl.CartAddressServiceImpl
com.skava.cart.service.impl.FindCartAddressServiceImpl
All Implemented Interfaces:
FindCartAddressService, com.skava.core.EcommService<CartDataRequest,AddressResponse>

@Service public class FindCartAddressServiceImpl extends CartAddressServiceImpl implements FindCartAddressService

The Class FindCartAddressServiceImpl.

This class defines the operations for the retrieve address entity service. This class checks for the access level to determine if the address needs to be retrieved for the cart or item.

Since:
2018.12.05
Version:
8.0.0
Author:
Infosys Equinox
  • Constructor Details

    • FindCartAddressServiceImpl

      public FindCartAddressServiceImpl()
  • Method Details

    • process

      @HystrixCommand(commandKey="item-key", fallbackMethod="methodFallback", commandProperties=@HystrixProperty(name="execution.isolation.strategy",value="SEMAPHORE"), ignoreExceptions=com.skava.core.validation.ValidateException.class) public AddressResponse process(CartDataRequest request)
      The method FindCartAddressServiceImpl.process This method is used to retrieve Address entity based on input request. This also invokes the validation process to validate if the input is a valid.
      Specified by:
      process in interface com.skava.core.EcommService<CartDataRequest,AddressResponse>
      Parameters:
      request - Contains the details required for retrieving the address entity.
      Returns:
      It returns the instance of AddressResponse that contains the result for the create address request.
      See Also:
    • methodFallback

      public AddressResponse methodFallback(CartDataRequest request)
      Fall back process if there is any exception in the execution of the process.
      Parameters:
      request - The request for the process
      Returns:
      The response from the fall back process.