Class PersonResponseSimple
- java.lang.Object
-
- com.inteliqua.rest.customer.payload.person.payload.PersonBasicPayload
-
- com.inteliqua.rest.customer.payload.person.response.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 Summary
Constructors Constructor Description PersonResponseSimple()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAddress(AddressDataResponse addressData)Adds an address to the list of addresses for the person.voidaddChild(ChildDataResponse childDataResponse)voidaddConsent(PersonConsentDataResponse consentResponse)Adds a consent entry to the list of consents for the person.voidaddEmail(EmailDataResponse emailData)Adds an email to the list of emails for the person.voidaddLoyaltyMemberData(LoyaltyMembershipResponseSimple loyaltyData)Adds a loyalty membership entry to the list of loyalty memberships for the person.voidaddTag(AssignedTagResponse personTagResponse)Adds a tag to the list of assigned tags for the person.voidaddTelephone(TelephoneDataResponse telephoneData)Adds a telephone number to the list of telephone numbers for the person.List<AddressDataResponse>getAddressList()BooleangetAnonymized()List<AssignedTagResponse>getAssignedTags()List<PersonConsentDataResponse>getConsentList()StringgetCustomerCode()com.qivos.util.rest.common.APIResponseLevelgetDetailLevel()Gets the detail level of the API response.List<EmailDataResponse>getEmailList()DategetLastModificationDate()Gets the last modification date of the person record.List<LoyaltyMembershipResponseSimple>getLoyaltyMembershipData()StringgetNationalityCode()StringgetPreferredStoreCode()List<TelephoneDataResponse>getTelephoneList()voidsetAnonymized(Boolean anonymized)voidsetCustomerCode(String customerCode)voidsetLastModificationDate(Date date)Sets the last modification date for the person record.voidsetNationalityCode(String nationalityCode)voidsetPreferredStoreCode(String preferredStoreCode)-
Methods inherited from class com.inteliqua.rest.customer.payload.person.payload.PersonBasicPayload
addAttribute, getAttributes, getDateOfBirth, getFirstName, getGender, getLanguageCode, getLastName, getNameDayDay, getNameDayMonth, getRegistrationDate, getRegistrationSource, getRegistrationStoreCode, getSalutationCode, getYearOfBirth, setDateOfBirth, setFirstName, setGender, setLanguageCode, setLastName, setNameDayDay, setNameDayMonth, setRegistrationDate, setRegistrationSource, setRegistrationStoreCode, setSalutationCode, setYearOfBirth, toString
-
-
-
-
Method Detail
-
addChild
public void addChild(ChildDataResponse childDataResponse)
-
getLastModificationDate
public Date getLastModificationDate()
Gets the last modification date of the person record.- Specified by:
getLastModificationDatein interfacecom.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:
setLastModificationDatein interfacecom.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:
getDetailLevelin interfacecom.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)
-
getLoyaltyMembershipData
public List<LoyaltyMembershipResponseSimple> getLoyaltyMembershipData()
-
getAddressList
public List<AddressDataResponse> getAddressList()
-
getTelephoneList
public List<TelephoneDataResponse> getTelephoneList()
-
getEmailList
public List<EmailDataResponse> getEmailList()
-
getConsentList
public List<PersonConsentDataResponse> getConsentList()
-
getAssignedTags
public List<AssignedTagResponse> getAssignedTags()
-
getPreferredStoreCode
public String getPreferredStoreCode()
-
setPreferredStoreCode
public void setPreferredStoreCode(String preferredStoreCode)
-
getNationalityCode
public String getNationalityCode()
-
setNationalityCode
public void setNationalityCode(String nationalityCode)
-
-