Class RedemptionLevelBookCouponGroup


  • public class RedemptionLevelBookCouponGroup
    extends LoyaltyRedemptionLevel
    Represents a redemption level where the reward is a group of book coupons. This class extends LoyaltyRedemptionLevel and includes a property for the coupon template code associated with the group of coupons.

    The book coupon template code defines which coupon template will be used for the redemption, making it possible to create multiple coupon groups with different templates.

    Author:
    mtavlopoulou
    • Constructor Detail

      • RedemptionLevelBookCouponGroup

        public RedemptionLevelBookCouponGroup​(Integer points,
                                              String template,
                                              String memberCategoryCode,
                                              String memberTagCode,
                                              String memberStatusCode)
        Constructs a RedemptionLevelBookCouponGroup object with specified values.
        Parameters:
        points - the number of points required for this redemption level
        template - the coupon template code for 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

      • getBookCouponTemplateCode

        public String getBookCouponTemplateCode()
        Gets the coupon template code for the book coupon group.
        Returns:
        the coupon template code
      • setBookCouponTemplateCode

        public void setBookCouponTemplateCode​(String bookCouponTemplateCode)
        Sets the coupon template code for the book coupon group.
        Parameters:
        bookCouponTemplateCode - the coupon template code to set