Class CommisionResponseMappers

java.lang.Object
com.plannaplan.responses.mappers.CommisionResponseMappers

public class CommisionResponseMappers
extends java.lang.Object
Mappers for Commisions to api responses
  • Constructor Details

    • CommisionResponseMappers

      public CommisionResponseMappers()
  • Method Details

    • mapToResponse

      public static final java.util.List<CommisionResponse> mapToResponse​(java.util.List<com.plannaplan.entities.Commision> commisions)
      Parameters:
      commisions - list of commisions to be mapped
      Returns:
      list of api responses
    • mapToResponseWithGroups

      public static final java.util.List<CommisionWithGroupsResponse> mapToResponseWithGroups​(java.util.List<com.plannaplan.entities.Commision> commisions)
      Parameters:
      commisions - list of commisions to be mapped
      Returns:
      list of api responses
    • mapToResponseWithExtraInforGroups

      public static final java.util.List<CommisionWithAcceptedGroupsResponse> mapToResponseWithExtraInforGroups​(java.util.List<com.plannaplan.entities.Commision> commisions)
      Parameters:
      commisions - list of commisions to be mapped
      Returns:
      list of api responses