Class LoyaltyCardCriteria

    • Constructor Detail

      • LoyaltyCardCriteria

        public LoyaltyCardCriteria()
        Default ctor.
      • LoyaltyCardCriteria

        public LoyaltyCardCriteria​(String cardNumber)
        Ctor.
    • Method Detail

      • getCardNumber

        public String getCardNumber()
      • setCardNumber

        public void setCardNumber​(String cardNumber)
      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object