java.lang.Object
es.kukenan.smartfi.microservice.smartficore.util.WalletUtils

public class WalletUtils extends Object
Wallet utilities.
  • Constructor Details

    • WalletUtils

      public WalletUtils()
  • Method Details

    • map

      public static List<es.kukenan.smartfi.microservice.backoffice.dtos.core.products.Wallet> map(List<WalletProduct> walletsEntities)
      Map the given WalletProduct list to a Wallet list.
      Parameters:
      walletsEntities - a wallet product entity list.
      Returns:
      the mapped wallet dto list.
    • map

      public static es.kukenan.smartfi.microservice.backoffice.dtos.core.products.Wallet map(WalletProduct walletProduct)
      Map the given WalletProduct to a Wallet.
      Parameters:
      walletProduct - a wallet product entity.
      Returns:
      the mapped wallet dto.
    • mapMovementsWallet

      public static List<es.kukenan.smartfi.microservice.backoffice.dtos.core.movement.WalletMovement> mapMovementsWallet(List<WalletMovement> movementsEntities)
      Map the given WalletMovement list to a WalletMovement list.
      Parameters:
      movementsEntities - a product movements entity list.
      Returns:
      the mapped wallet dto list.
    • mapWalletDetail

      public static es.kukenan.smartfi.microservice.backoffice.dtos.core.productdetail.WalletDetail mapWalletDetail(WalletProduct walletProductDetail)
      Map the given WalletProduct list to a Wallet list.
      Parameters:
      walletProductDetail - a wallet product entity list.
      Returns:
      the mapped wallet dto list.