Package software.xdev.brevo.model
Class MainRedeem
java.lang.Object
software.xdev.brevo.model.MainRedeem
MainRedeem
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancelledAt(OffsetDateTime cancelledAt) completedAt(OffsetDateTime completedAt) createdAt(OffsetDateTime createdAt) debitTransactionId(UUID debitTransactionId) booleanexpiresAt(OffsetDateTime expiresAt) Timestamp when the redemption was cancelledTimestamp when the redemption was completedUnique identifier for the contactTimestamp when the redemption was createdUnique identifier for the debit transactionTimestamp when the redemption expiresgetId()Unique identifier for the redemptionUnique identifier for the loyalty programgetMeta()Additional metadata associated with the redemptionTimestamp when the redemption was rejectedReason for rejection if the redemption was rejectedUnique identifier for the reward attributionCurrent status of the redemptionTimestamp when the redemption was last updatedinthashCode()loyaltyProgramId(UUID loyaltyProgramId) putMetaItem(String key, Object metaItem) rejectedAt(OffsetDateTime rejectedAt) rejectReason(String rejectReason) rewardAttributionId(UUID rewardAttributionId) voidsetCancelledAt(OffsetDateTime cancelledAt) voidsetCompletedAt(OffsetDateTime completedAt) voidsetContactId(Long contactId) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDebitTransactionId(UUID debitTransactionId) voidsetExpiresAt(OffsetDateTime expiresAt) voidvoidsetLoyaltyProgramId(UUID loyaltyProgramId) voidvoidsetRejectedAt(OffsetDateTime rejectedAt) voidsetRejectReason(String rejectReason) voidsetRewardAttributionId(UUID rewardAttributionId) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
JSON_PROPERTY_CANCELLED_AT
- See Also:
-
JSON_PROPERTY_COMPLETED_AT
- See Also:
-
JSON_PROPERTY_CONTACT_ID
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DEBIT_TRANSACTION_ID
- See Also:
-
JSON_PROPERTY_EXPIRES_AT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LOYALTY_PROGRAM_ID
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
JSON_PROPERTY_REJECT_REASON
- See Also:
-
JSON_PROPERTY_REJECTED_AT
- See Also:
-
JSON_PROPERTY_REWARD_ATTRIBUTION_ID
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
-
Constructor Details
-
MainRedeem
public MainRedeem()
-
-
Method Details
-
cancelledAt
-
getCancelledAt
Timestamp when the redemption was cancelled- Returns:
- cancelledAt
-
setCancelledAt
-
completedAt
-
getCompletedAt
Timestamp when the redemption was completed- Returns:
- completedAt
-
setCompletedAt
-
contactId
-
getContactId
Unique identifier for the contact- Returns:
- contactId
-
setContactId
-
createdAt
-
getCreatedAt
Timestamp when the redemption was created- Returns:
- createdAt
-
setCreatedAt
-
debitTransactionId
-
getDebitTransactionId
Unique identifier for the debit transaction- Returns:
- debitTransactionId
-
setDebitTransactionId
-
expiresAt
-
getExpiresAt
Timestamp when the redemption expires- Returns:
- expiresAt
-
setExpiresAt
-
id
-
getId
Unique identifier for the redemption- Returns:
- id
-
setId
-
loyaltyProgramId
-
getLoyaltyProgramId
Unique identifier for the loyalty program- Returns:
- loyaltyProgramId
-
setLoyaltyProgramId
-
meta
-
putMetaItem
-
getMeta
Additional metadata associated with the redemption- Returns:
- meta
-
setMeta
-
rejectReason
-
getRejectReason
Reason for rejection if the redemption was rejected- Returns:
- rejectReason
-
setRejectReason
-
rejectedAt
-
getRejectedAt
Timestamp when the redemption was rejected- Returns:
- rejectedAt
-
setRejectedAt
-
rewardAttributionId
-
getRewardAttributionId
Unique identifier for the reward attribution- Returns:
- rewardAttributionId
-
setRewardAttributionId
-
status
-
getStatus
Current status of the redemption- Returns:
- status
-
setStatus
-
updatedAt
-
getUpdatedAt
Timestamp when the redemption was last updated- Returns:
- updatedAt
-
setUpdatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-