Class RedemptionLevelOther


  • public class RedemptionLevelOther
    extends LoyaltyRedemptionLevel
    Represents a redemption level where the reward is an arbitrary message or other non-standard reward. This class extends LoyaltyRedemptionLevel and includes a message field for providing additional information or a non-monetary reward.
    Author:
    nikritikos
    • Constructor Detail

      • RedemptionLevelOther

        public RedemptionLevelOther()
        Default constructor required for JAX-RS (Java API for RESTful Web Services).
      • RedemptionLevelOther

        public RedemptionLevelOther​(Integer points,
                                    String message,
                                    String memberCategoryCode,
                                    String memberTagCode,
                                    String memberStatusCode)
        Constructs a RedemptionLevelOther object with specified values.
        Parameters:
        points - the number of points required for this redemption level
        message - a custom message associated with this redemption level
        memberCategoryCode - the member category code for eligibility
        memberTagCode - the member tag code for eligibility
        memberStatusCode - the member status code for eligibility
    • Method Detail

      • getMessage

        public String getMessage()
        Gets the message associated with this redemption level.
        Returns:
        the message for the redemption level
      • setMessage

        public void setMessage​(String message)
        Sets the message for this redemption level.
        Parameters:
        message - the message to set for the redemption level