Package software.xdev.brevo.model
Class TierForContact
java.lang.Object
software.xdev.brevo.model.TierForContact
TierForContact
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanContact to which the tier is assignedGet createdAtGroup Id to which the tier is associatedgetId()Unique identifier for the assigned tierAssociated loyalty program IdgetMeta()objectGet updatedAtinthashCode()loyaltyProgramId(UUID loyaltyProgramId) putMetaItem(String key, Object metaItem) voidsetContactId(Integer contactId) voidsetCreatedAt(OffsetDateTime createdAt) voidsetGroupId(UUID groupId) voidvoidsetLoyaltyProgramId(UUID loyaltyProgramId) 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_ID
- See Also:
-
JSON_PROPERTY_LOYALTY_PROGRAM_ID
- See Also:
-
JSON_PROPERTY_GROUP_ID
- See Also:
-
JSON_PROPERTY_CONTACT_ID
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
-
Constructor Details
-
TierForContact
public TierForContact()
-
-
Method Details
-
id
-
getId
Unique identifier for the assigned tier- Returns:
- id
-
setId
-
loyaltyProgramId
-
getLoyaltyProgramId
Associated loyalty program Id- Returns:
- loyaltyProgramId
-
setLoyaltyProgramId
-
groupId
-
getGroupId
Group Id to which the tier is associated- Returns:
- groupId
-
setGroupId
-
contactId
-
getContactId
Contact to which the tier is assigned- Returns:
- contactId
-
setContactId
-
meta
-
putMetaItem
-
getMeta
object- Returns:
- meta
-
setMeta
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Get updatedAt- 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
-