Class DigitalCardPropertiesPayload


  • public class DigitalCardPropertiesPayload
    extends Object
    Represents the properties associated with a digital loyalty card. This class currently contains a prefix field, which can be used to define the initial digits of a loyalty card number.

    The prefix is optional and may not always be provided.

    Author:
    ckonstantakis
    • Constructor Detail

      • DigitalCardPropertiesPayload

        public DigitalCardPropertiesPayload()
    • Method Detail

      • getPrefix

        public String getPrefix()
        Gets the prefix of the loyalty card number.
        Returns:
        the card number prefix.
      • setPrefix

        public void setPrefix​(String prefix)
        Sets the prefix of the loyalty card number.
        Parameters:
        prefix - the prefix to set.
      • toString

        public String toString()
        Returns a string representation of the digital card properties.
        Overrides:
        toString in class Object
        Returns:
        a formatted string representing the properties.