Package io.meeds.tenant.hub.utils
Class EntityMapper
java.lang.Object
io.meeds.tenant.hub.utils.EntityMapper
-
Method Summary
Modifier and TypeMethodDescriptionstatic HubReportLocalStatustoHubLocalReport(io.meeds.wom.api.model.HubReportPayload reportData, long periodId, long reportId, boolean canRefresh, boolean canSend, HubReportStatusType statusType, String errorMessageKey) static HubReportLocalStatustoHubLocalReport(io.meeds.wom.api.model.HubReport report, long id, boolean canRefresh, boolean canSend, HubReportStatusType status, String error) static io.meeds.wom.api.model.HubReportPayloadtoHubReport(io.meeds.wallet.model.RewardReport rewardReport, String hubAddress, long deedId, long usersCount, long participantsCount, long achievementsCount, long actionsCount, Instant sentDate)
-
Method Details
-
toHubReport
-
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
-