Class PersonConsentDataResponse
- java.lang.Object
-
- com.inteliqua.rest.customer.payload.consent.PersonConsentDataBasicPayload
-
- com.inteliqua.rest.customer.payload.consent.response.PersonConsentDataResponse
-
- All Implemented Interfaces:
com.qivos.util.rest.mappers.APIResponseDTO
public class PersonConsentDataResponse extends PersonConsentDataBasicPayload implements com.qivos.util.rest.mappers.APIResponseDTO
Response model for a person's communicational consent. This class represents the extended details of a person's consent data in the system. It inherits fromPersonConsentDataBasicPayloadand includes metadata and modification date.- Author:
- nikritikos
-
-
Constructor Summary
Constructors Constructor Description PersonConsentDataResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetLastModificationDate()Returns the last modification date of the consent data.List<ConsentMetadata>getMetadata()Get metadata for the consent.voidsetLastModificationDate(Date lastModificationDate)Sets the last modification date of the consent data.-
Methods inherited from class com.inteliqua.rest.customer.payload.consent.PersonConsentDataBasicPayload
addMetadata, getFlag, getName, getUpdateDate, setFlag, setName, setUpdateDate, toString
-
-
-
-
Method Detail
-
getLastModificationDate
public Date getLastModificationDate()
Returns the last modification date of the consent data.- Specified by:
getLastModificationDatein interfacecom.qivos.util.rest.mappers.APIResponseDTO- Returns:
- The last modification date.
-
setLastModificationDate
public void setLastModificationDate(Date lastModificationDate)
Sets the last modification date of the consent data.- Specified by:
setLastModificationDatein interfacecom.qivos.util.rest.mappers.APIResponseDTO- Parameters:
lastModificationDate- The date of the last modification.
-
getMetadata
public List<ConsentMetadata> getMetadata()
Get metadata for the consent. This method is overridden to prevent metadata serialization and hiding it from Swagger.- Overrides:
getMetadatain classPersonConsentDataBasicPayload- Returns:
- The metadata list.
-
-