Interface ExtendedBackofficeClient

All Superinterfaces:
BackofficeClient
All Known Implementing Classes:
CoreBackofficeClientAdapter

public interface ExtendedBackofficeClient extends BackofficeClient
Contract that some backoffice client must implement with extends functions.
  • Method Details

    • findCashFlow

      List<es.kukenan.smartfi.microservice.contracts.api.cashflow.CashFlowDto> findCashFlow(UserBackoffice userBackoffice, String contractId, String userToken)
      Extract the user cashflow list from the given back office.
      Parameters:
      userBackoffice - the user back office.
      contractId - contract identifier.
      userToken - user bearer.
      Returns:
      the cashflow information for userbackoffice.
    • findProductPosition

      ProductDetailDomain<? extends es.kukenan.smartfi.microservice.contracts.api.products.ProductDto> findProductPosition(ProductSearchRequest searchRequest, String userToken)
      Extract the given user product details from the given (registered) product (must be supported, see wants method).
      Parameters:
      searchRequest - the required data to find a product and build a full ProductDetailDomain.
      userToken - userToken.
      Returns:
      the user product details extracted from the backoffice.
    • findRepayments

      es.kukenan.smartfi.microservice.contracts.api.repayment.LoanRepaymentsResponseDto findRepayments(ProductSearchRequest searchRequest, String userToken, String dateFrom, String dateTo)
      Get the repayments of the given product.
      Parameters:
      searchRequest - product search data.
      userToken - userToken.
      dateFrom - dateFrom.
      dateTo - dateTo.
      Returns:
      product repayments.
    • findReceipts

      ReceiptsDomain findReceipts(ProductSearchRequest searchRequest, String paginationKey, String token)
      Get the receipts for a given product.
      Parameters:
      searchRequest - product search data.
      paginationKey - pagination Key.
      token - token
      Returns:
      product receipts.
    • findProductAssets

      List<es.kukenan.smartfi.microservice.contracts.api.assets.AssetDto> findProductAssets(ProductSearchRequest searchRequest)
      Find the assets of the given product.
      Parameters:
      searchRequest - the (registered) product.
      Returns:
      the user product assets extracted from the backoffice.
    • findProductAssetDetail

      es.kukenan.smartfi.microservice.contracts.api.assets.AssetDto findProductAssetDetail(ProductSearchRequest searchRequest, String assetId)
      Find a single of the given product by the given asset identifier.
      Parameters:
      searchRequest - the (registered) product.
      assetId - the asset identifier..
      Returns:
      the user product assets detail extracted from the backoffice.
    • findProductAssetMovements

      MovementDomain findProductAssetMovements(ProductSearchRequest searchRequest, String assetId, String dateFrom, String dateTo, String paginationKey)
      Find the movements of the given asset in the given product.
      Parameters:
      searchRequest - the (registered) product.
      assetId - the asset identifier.
      dateFrom - params searching.
      dateTo - params searching.
      paginationKey - pagination key used to request next result page.
      Returns:
      the user product assets movements extracted from the backoffice.
    • findProductComposition

      List<es.kukenan.smartfi.microservice.contracts.api.products.ProductDto> findProductComposition(ProductSearchRequest searchRequest, String userToken)
      Extract the given user product composition from the given (registered) product (must be supported, see wants method).
      Parameters:
      searchRequest - the required data to find a product.
      userToken - user bearer token.
      Returns:
      the user product composition extracted from the backoffice.
    • generatePinOperationId

      int generatePinOperationId(String userId, String codigoEntidad, String panToken, es.kukenan.smartfi.common.security.WalletAuthentication auth)
      Generate PIN Operation Id.
      Parameters:
      userId - userId.
      codigoEntidad - codigoEntidad.
      panToken - panToken.
      auth - auth.
      Returns:
      operation ID.
    • generateCvvOperationId

      int generateCvvOperationId(String userId, String bankCode, String panToken, es.kukenan.smartfi.common.security.WalletAuthentication auth)
      Generate CVV Operation Id.
      Parameters:
      userId - userId.
      bankCode - bank code.
      panToken - panToken.
      auth - auth.
      Returns:
      operation ID.