Class ScaMovementsService

java.lang.Object
es.kukenan.smartfi.microservice.contracts.service.ScaMovementsService

@Service public class ScaMovementsService extends Object
Movements related services with SCA considerations applied.
  • Field Details

    • emptyMovementsResponse

      private final es.kukenan.smartfi.microservice.contracts.api.movement.MovementsResponseDto emptyMovementsResponse
      Empty movements response.
    • filterOtpMovements

      @Autowired private FilterOtpMovements filterOtpMovements
      Authorize show data in response.
    • movementsService

      @Autowired private MovementsService movementsService
      Movements service.
    • assetsService

      @Autowired private AssetsService assetsService
      Movements service.
  • Constructor Details

    • ScaMovementsService

      public ScaMovementsService()
  • Method Details

    • findMovements

      public es.kukenan.smartfi.microservice.contracts.api.movement.MovementsResponseDto findMovements(es.kukenan.smartfi.common.service.jwt.enums.EntityBankEnum companyId, String userId, String sessionId, String productId, String dateFrom, String dateTo, String type, String paginationKey, String number, String state, String reason, javax.servlet.http.HttpServletRequest request)
      Products movement service method.
      Parameters:
      companyId - company identifier.
      userId - user identifier.
      sessionId - session identifier.
      productId - product identifier which movements are to be retrieved.
      dateFrom - full from date in RFC3339 format with no separators (yyyymmdd).
      dateTo - full to date in RFC3339 format with no separators (yyyymmdd).
      type - movement type code.
      paginationKey - pagination key used to request next result page.
      number - imposition number.
      state - imposition state.
      reason - reason.
      request - HTTP servlet request.
      Returns:
      products movements.
    • findMovement

      public es.kukenan.smartfi.microservice.contracts.api.movement.MovementDto findMovement(String sessionId, String userId, String productId, String movementId, javax.servlet.http.HttpServletRequest request, String userJwtToken)
      Specific movement service method.
      Parameters:
      sessionId - session identifier.
      userId - user identifier.
      productId - product identifier which movements are to be retrieved.
      movementId - movement identifier.
      request - HTTP servlet request.
      userJwtToken - bearer.
      Returns:
      products movements.
    • findProductAssetMovements

      public es.kukenan.smartfi.microservice.contracts.api.movement.MovementsResponseDto findProductAssetMovements(String sessionId, String userId, String productId, String assetId, String dateFrom, String dateTo, String paginationKey, es.kukenan.smartfi.common.security.WalletAuthentication auth, javax.servlet.http.HttpServletRequest request)
      Product asset movements service method.
      Parameters:
      sessionId - session identifier.
      userId - user identifier.
      productId - product identifier.
      assetId - the identifier of the product asset which movements are to be retrieved.
      dateFrom - movement date lower limit.
      dateTo - movement date upper limit.
      paginationKey - pagination key used to request next result page.
      auth - smartfi authorization.
      request - HTTP servlet request.
      Returns:
      products asset movements.