Class CouponGivenDateCriteria

    • Constructor Detail

      • CouponGivenDateCriteria

        public CouponGivenDateCriteria()
    • Method Detail

      • isDateGiven

        @AssertTrue(message="At least one of dateFrom, dateUntil must be provided")
        public boolean isDateGiven()
      • getCriteriaType

        public String getCriteriaType()
        Description copied from interface: SearchCriteria
        Gets the type of criteria for the search.

        This method returns a string identifier for the type of search criteria, which is used during serialization to determine the specific criteria type.

        Specified by:
        getCriteriaType in interface SearchCriteria
        Returns:
        the criteria type as a String.
      • getDateFrom

        public Date getDateFrom()
      • setDateFrom

        public void setDateFrom​(Date dateFrom)
      • getDateUntil

        public Date getDateUntil()
      • setDateUntil

        public void setDateUntil​(Date dateUntil)