Class CashFlowRestController

java.lang.Object
es.kukenan.smartfi.microservice.contracts.controller.CashFlowRestController

@RestController public class CashFlowRestController extends Object
Cashflow service Rest API controller.
  • Field Details

    • API_BASE_PATH

      public static final String API_BASE_PATH
      Base path for cashflow Rest API.
      See Also:
    • API_AUTHORITIES

      public static final String API_AUTHORITIES
      Authority (role) required in order to be able to invoke greeting API.
      See Also:
    • cashFlowService

      @Autowired private CashFlowService cashFlowService
      cashflow service.
    • requestContextManager

      @Autowired private es.kukenan.smartfi.common.context.RequestContextManager requestContextManager
      Request context manager.
    • connectedContractCacheOperation

      @Autowired private ConnectedContractCacheOperation connectedContractCacheOperation
      Connected Contract Cache Operation.
    • contractService

      @Autowired private ContractService contractService
      Contract Service.
    • jwtService

      @Autowired private es.kukenan.smartfi.common.service.jwt.JwtService jwtService
      JWT service.
  • Constructor Details

    • CashFlowRestController

      public CashFlowRestController()
  • Method Details

    • findProductCashFlow

      @PreAuthorize("(hasRole(\'ROLE_ACCESS_USER\') or hasRole(\'ROLE_ACCESS_AGENT\') or hasRole(\'ROLE_ACCESS_SUPERVISOR\')) and (hasRole(\'ROLE_LEVEL_USER_PWD\') or hasRole(\'ROLE_LEVEL_USER_SCA\'))") @GetMapping(produces="application/json", path="/api/v1/cashflow") public org.springframework.http.ResponseEntity<es.kukenan.smartfi.microservice.contracts.api.cashflow.CashFlowResponseDto> findProductCashFlow(es.kukenan.smartfi.common.security.WalletAuthentication walletAuthentication)
      cash flow endpoint.
      Parameters:
      walletAuthentication - user credentials.
      Returns:
      cashflow result.