Class PersonResponseSimple

  • All Implemented Interfaces:
    EliquaAbstractRequestPayload, com.qivos.util.rest.mappers.APIResponseDTO, com.qivos.util.rest.mappers.APIResponseLevelDTO

    public class PersonResponseSimple
    extends PersonBasicPayload
    implements com.qivos.util.rest.mappers.APIResponseLevelDTO
    Response DTO for a customer with all related member details. This response contains basic and extended data for a customer, including their email, telephone, address, consent, loyalty, and other personal data.
    Author:
    nikritikos
    • Constructor Detail

      • PersonResponseSimple

        public PersonResponseSimple()
    • Method Detail

      • getLastModificationDate

        public Date getLastModificationDate()
        Gets the last modification date of the person record.
        Specified by:
        getLastModificationDate in interface com.qivos.util.rest.mappers.APIResponseDTO
        Returns:
        the last modification date
      • setLastModificationDate

        public void setLastModificationDate​(Date date)
        Sets the last modification date for the person record.
        Specified by:
        setLastModificationDate in interface com.qivos.util.rest.mappers.APIResponseDTO
        Parameters:
        date - the new last modification date
      • getDetailLevel

        public com.qivos.util.rest.common.APIResponseLevel getDetailLevel()
        Gets the detail level of the API response.
        Specified by:
        getDetailLevel in interface com.qivos.util.rest.mappers.APIResponseLevelDTO
        Returns:
        the detail level
      • addEmail

        public void addEmail​(EmailDataResponse emailData)
        Adds an email to the list of emails for the person.
        Parameters:
        emailData - the email data to add
      • addAddress

        public void addAddress​(AddressDataResponse addressData)
        Adds an address to the list of addresses for the person.
        Parameters:
        addressData - the address data to add
      • addTelephone

        public void addTelephone​(TelephoneDataResponse telephoneData)
        Adds a telephone number to the list of telephone numbers for the person.
        Parameters:
        telephoneData - the telephone data to add
      • addConsent

        public void addConsent​(PersonConsentDataResponse consentResponse)
        Adds a consent entry to the list of consents for the person.
        Parameters:
        consentResponse - the consent data to add
      • addTag

        public void addTag​(AssignedTagResponse personTagResponse)
        Adds a tag to the list of assigned tags for the person.
        Parameters:
        personTagResponse - the tag data to add
      • addLoyaltyMemberData

        public void addLoyaltyMemberData​(LoyaltyMembershipResponseSimple loyaltyData)
        Adds a loyalty membership entry to the list of loyalty memberships for the person.
        Parameters:
        loyaltyData - the loyalty membership data to add
      • getAnonymized

        public Boolean getAnonymized()
      • setAnonymized

        public void setAnonymized​(Boolean anonymized)
      • getCustomerCode

        public String getCustomerCode()
      • setCustomerCode

        public void setCustomerCode​(String customerCode)
      • getPreferredStoreCode

        public String getPreferredStoreCode()
      • setPreferredStoreCode

        public void setPreferredStoreCode​(String preferredStoreCode)
      • getNationalityCode

        public String getNationalityCode()
      • setNationalityCode

        public void setNationalityCode​(String nationalityCode)