Package software.xdev.brevo.model
Class SubscriptionAttributedReward
java.lang.Object
software.xdev.brevo.model.SubscriptionAttributedReward
SubscriptionAttributedReward
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpirationDate(String expirationDate) getCode()Reward code assigned to the contact.Unique identifier of the contact.Timestamp when the reward was created.Expiration date of the reward.getId()Unique identifier of the reward.Unique identifier of the loyalty program.getMeta()Additional metadata related to the reward.Unique identifier of the reward definition.Timestamp when the reward was last updated.inthashCode()loyaltyProgramId(String loyaltyProgramId) putMetaItem(String key, Object metaItem) voidvoidsetContactId(Integer contactId) voidsetCreatedAt(String createdAt) voidsetExpirationDate(String expirationDate) voidvoidsetLoyaltyProgramId(String loyaltyProgramId) voidvoidsetRewardId(String rewardId) voidsetUpdatedAt(String updatedAt) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_CONTACT_ID
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_EXPIRATION_DATE
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LOYALTY_PROGRAM_ID
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
JSON_PROPERTY_REWARD_ID
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
-
Constructor Details
-
SubscriptionAttributedReward
public SubscriptionAttributedReward()
-
-
Method Details
-
code
-
getCode
Reward code assigned to the contact.- Returns:
- code
-
setCode
-
contactId
-
getContactId
Unique identifier of the contact.- Returns:
- contactId
-
setContactId
-
createdAt
-
getCreatedAt
Timestamp when the reward was created.- Returns:
- createdAt
-
setCreatedAt
-
expirationDate
-
getExpirationDate
Expiration date of the reward.- Returns:
- expirationDate
-
setExpirationDate
-
id
-
getId
Unique identifier of the reward.- Returns:
- id
-
setId
-
loyaltyProgramId
-
getLoyaltyProgramId
Unique identifier of the loyalty program.- Returns:
- loyaltyProgramId
-
setLoyaltyProgramId
-
meta
-
putMetaItem
-
getMeta
Additional metadata related to the reward.- Returns:
- meta
-
setMeta
-
rewardId
-
getRewardId
Unique identifier of the reward definition.- Returns:
- rewardId
-
setRewardId
-
updatedAt
-
getUpdatedAt
Timestamp when the reward 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
-