Class TierPayloadBase


  • public class TierPayloadBase
    extends Object
    Represents the base payload for a loyalty tier. This class contains common properties that can be used across different tier payloads, specifically the tier's code.
    Author:
    nikritikos
    • Constructor Detail

      • TierPayloadBase

        public TierPayloadBase()
    • Method Detail

      • getCode

        public String getCode()
        Gets the code of the loyalty tier.
        Returns:
        the code of the tier
      • setCode

        public void setCode​(String code)
        Sets the code for the loyalty tier.
        Parameters:
        code - the new code for the tier