Class LoyaltyMembershipBasicPayload

  • Direct Known Subclasses:
    LoyaltyMembershipCreationRequest, LoyaltyMembershipResponseSimple

    public class LoyaltyMembershipBasicPayload
    extends Object
    This class represents the basic payload for loyalty membership details. It includes fields for loyalty schema, registration country, member category, and status along with a list of general attributes related to the loyalty membership.

    This class is used as a foundation for other payloads related to loyalty member data.

    Author:
    nikritikos
    • Constructor Detail

      • LoyaltyMembershipBasicPayload

        public LoyaltyMembershipBasicPayload()
    • Method Detail

      • getSchemaCode

        public String getSchemaCode()
        Gets the loyalty schema code for the member.
        Returns:
        the schema code
      • setSchemaCode

        public void setSchemaCode​(String schemaCode)
        Sets the loyalty schema code for the member.
        Parameters:
        schemaCode - the loyalty schema code
      • getRegistrationCountryCode

        public String getRegistrationCountryCode()
        Gets the registration country code.
        Returns:
        the registration country code
      • setRegistrationCountryCode

        public void setRegistrationCountryCode​(String registrationCountryCode)
        Sets the registration country code.
        Parameters:
        registrationCountryCode - the country code
      • getCategory

        public String getCategory()
        Gets the member category.
        Returns:
        the category
      • setCategory

        public void setCategory​(String category)
        Sets the member category.
        Parameters:
        category - the category
      • getRegistrationStoreCode

        public String getRegistrationStoreCode()
        Gets the registration store code.
        Returns:
        the store code
      • setRegistrationStoreCode

        public void setRegistrationStoreCode​(String registrationStoreCode)
        Sets the registration store code.
        Parameters:
        registrationStoreCode - the store code
      • getAttributes

        public List<EntityAttribute> getAttributes()
        Gets the list of general attributes of the loyalty membership.
        Returns:
        the list of attributes
      • addAttribute

        public void addAttribute​(EntityAttribute entityAttribute)
        Adds an attribute to the list of general attributes for the loyalty membership.
        Parameters:
        entityAttribute - the attribute to add
      • getRegistrationSource

        public String getRegistrationSource()
        Gets the registration source.
        Returns:
        the registration source
      • setRegistrationSource

        public void setRegistrationSource​(String registrationSource)
        Sets the registration source.
        Parameters:
        registrationSource - the source code
      • getMemberStatus

        public String getMemberStatus()
        Gets the member status.
        Returns:
        the member status code
      • setMemberStatus

        public void setMemberStatus​(String memberStatus)
        Sets the member status.
        Parameters:
        memberStatus - the status code