Class EntityMapper

java.lang.Object
io.meeds.tenant.hub.utils.EntityMapper

public class EntityMapper extends Object
  • Method Details

    • toHubReport

      public static io.meeds.wom.api.model.HubReportPayload toHubReport(io.meeds.wallet.model.RewardReport rewardReport, String hubAddress, long deedId, long usersCount, long participantsCount, long achievementsCount, long actionsCount, Instant sentDate)
    • toHubLocalReport

      public static HubReportLocalStatus toHubLocalReport(io.meeds.wom.api.model.HubReportPayload reportData, long periodId, long reportId, boolean canRefresh, boolean canSend, HubReportStatusType statusType, String errorMessageKey)
    • toHubLocalReport

      public static HubReportLocalStatus toHubLocalReport(io.meeds.wom.api.model.HubReport report, long id, boolean canRefresh, boolean canSend, HubReportStatusType status, String error)
    • lowerCase

      public static SortedSet<String> lowerCase(SortedSet<String> hashes)