Class Notification
java.lang.Object
io.trippay.sdk.payment.model.Notification
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:12:05.578754358+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class Notification
extends Object
Notification
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumApplication domainstatic enumImportance of messagestatic enumRecipient typestatic enumMessage type -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(Notification.ApplicationEnum application) createdDate(LocalDateTime createdDate) boolean@NotNull Notification.ApplicationEnumApplication domain@NotNull @Size(min=1) StringgetBody()Subject of messageDatetime this record was first created@NotNull @Size(min=1) StringPath to featuregetId()Document UUIDDatetime this record was last updatedMessage marked as removed@NotNull @Size(min=1) StringMessage templateAlso send email announcement@NotNull @Valid @Size(min=1) UUIDOwner identifier@NotNull Notification.PriorityEnumImportance of messagegetRead()AffiliateAccountLightweight read announcement@NotNull Notification.RecipientTypeEnumRecipient type@NotNull @Size(min=1) StringSubject of message@NotNull Notification.TypeEnumgetType()Message typeVersion property that shows how many times this document has been persisted.inthashCode()lastUpdate(LocalDateTime lastUpdate) markedAsRemoved(Boolean markedAsRemoved) messageTemplateId(String messageTemplateId) notifyViaEmail(Boolean notifyViaEmail) ownerIdentifier(UUID ownerIdentifier) priority(Notification.PriorityEnum priority) recipientType(Notification.RecipientTypeEnum recipientType) voidsetApplication(Notification.ApplicationEnum application) voidvoidsetCreatedDate(LocalDateTime createdDate) voidvoidvoidsetLastUpdate(LocalDateTime lastUpdate) voidsetMarkedAsRemoved(Boolean markedAsRemoved) voidsetMessageTemplateId(String messageTemplateId) voidsetNotifyViaEmail(Boolean notifyViaEmail) voidsetOwnerIdentifier(UUID ownerIdentifier) voidsetPriority(Notification.PriorityEnum priority) voidvoidsetRecipientType(Notification.RecipientTypeEnum recipientType) voidsetSubject(String subject) voidsetType(Notification.TypeEnum type) voidsetVersion(Long version) toString()type(Notification.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_CREATED_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_OWNER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_RECIPIENT_TYPE
- See Also:
-
JSON_PROPERTY_APPLICATION
- See Also:
-
JSON_PROPERTY_MESSAGE_TEMPLATE_ID
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
JSON_PROPERTY_BODY
- See Also:
-
JSON_PROPERTY_CTA_URL
- See Also:
-
JSON_PROPERTY_READ
- See Also:
-
JSON_PROPERTY_MARKED_AS_REMOVED
- See Also:
-
JSON_PROPERTY_NOTIFY_VIA_EMAIL
- See Also:
-
-
Constructor Details
-
Notification
public Notification()
-
-
Method Details
-
id
-
getId
-
setId
-
createdDate
-
getCreatedDate
Datetime this record was first created- Returns:
- createdDate
-
setCreatedDate
-
lastUpdate
-
getLastUpdate
Datetime this record was last updated- Returns:
- lastUpdate
-
setLastUpdate
-
version
-
getVersion
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.- Returns:
- version
-
setVersion
-
ownerIdentifier
-
getOwnerIdentifier
Owner identifier- Returns:
- ownerIdentifier
-
setOwnerIdentifier
-
priority
-
getPriority
Importance of message- Returns:
- priority
-
setPriority
-
type
-
getType
-
setType
-
recipientType
-
getRecipientType
Recipient type- Returns:
- recipientType
-
setRecipientType
-
application
-
getApplication
Application domain- Returns:
- application
-
setApplication
-
messageTemplateId
-
getMessageTemplateId
Message template- Returns:
- messageTemplateId
-
setMessageTemplateId
-
subject
-
getSubject
Subject of message- Returns:
- subject
-
setSubject
-
body
-
getBody
Subject of message- Returns:
- body
-
setBody
-
ctaUrl
-
getCtaUrl
Path to feature- Returns:
- ctaUrl
-
setCtaUrl
-
read
-
getRead
-
setRead
-
markedAsRemoved
-
getMarkedAsRemoved
-
setMarkedAsRemoved
-
notifyViaEmail
-
getNotifyViaEmail
-
setNotifyViaEmail
-
equals
-
hashCode
-
toString
-