Package software.xdev.brevo.model
Class SubscriptionTier
java.lang.Object
software.xdev.brevo.model.SubscriptionTier
SubscriptionTier
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanUnique identifier of the contact.Timestamp when the tier was assigned.Unique identifier of the group associated with the tier.Unique identifier of the loyalty program.getMeta()Additional metadata related to the tier.Unique identifier of the tier.Timestamp when the tier was last updatedinthashCode()loyaltyProgramId(String loyaltyProgramId) putMetaItem(String key, Object metaItem) voidsetContactId(Integer contactId) voidsetCreatedAt(String createdAt) voidsetGroupId(String groupId) voidsetLoyaltyProgramId(String loyaltyProgramId) voidvoidvoidsetUpdatedAt(String updatedAt) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CONTACT_ID
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_GROUP_ID
- See Also:
-
JSON_PROPERTY_LOYALTY_PROGRAM_ID
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
JSON_PROPERTY_TIER_ID
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
-
Constructor Details
-
SubscriptionTier
public SubscriptionTier()
-
-
Method Details
-
contactId
-
getContactId
Unique identifier of the contact.- Returns:
- contactId
-
setContactId
-
createdAt
-
getCreatedAt
Timestamp when the tier was assigned.- Returns:
- createdAt
-
setCreatedAt
-
groupId
-
getGroupId
Unique identifier of the group associated with the tier.- Returns:
- groupId
-
setGroupId
-
loyaltyProgramId
-
getLoyaltyProgramId
Unique identifier of the loyalty program.- Returns:
- loyaltyProgramId
-
setLoyaltyProgramId
-
meta
-
putMetaItem
-
getMeta
Additional metadata related to the tier.- Returns:
- meta
-
setMeta
-
tierId
-
getTierId
Unique identifier of the tier.- Returns:
- tierId
-
setTierId
-
updatedAt
-
getUpdatedAt
Timestamp when the tier 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
-