Class SubscriptionTier

java.lang.Object
software.xdev.brevo.model.SubscriptionTier

public class SubscriptionTier extends Object
SubscriptionTier
  • Field Details

  • Constructor Details

    • SubscriptionTier

      public SubscriptionTier()
  • Method Details

    • contactId

      public SubscriptionTier contactId(@Nullable Integer contactId)
    • getContactId

      @Nullable public Integer getContactId()
      Unique identifier of the contact.
      Returns:
      contactId
    • setContactId

      public void setContactId(@Nullable Integer contactId)
    • createdAt

      public SubscriptionTier createdAt(@Nullable String createdAt)
    • getCreatedAt

      @Nullable public String getCreatedAt()
      Timestamp when the tier was assigned.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nullable String createdAt)
    • groupId

      public SubscriptionTier groupId(@Nullable String groupId)
    • getGroupId

      @Nullable public String getGroupId()
      Unique identifier of the group associated with the tier.
      Returns:
      groupId
    • setGroupId

      public void setGroupId(@Nullable String groupId)
    • loyaltyProgramId

      public SubscriptionTier loyaltyProgramId(@Nullable String loyaltyProgramId)
    • getLoyaltyProgramId

      @Nullable public String getLoyaltyProgramId()
      Unique identifier of the loyalty program.
      Returns:
      loyaltyProgramId
    • setLoyaltyProgramId

      public void setLoyaltyProgramId(@Nullable String loyaltyProgramId)
    • meta

      public SubscriptionTier meta(@Nullable Map<String,Object> meta)
    • putMetaItem

      public SubscriptionTier putMetaItem(String key, Object metaItem)
    • getMeta

      @Nullable public Map<String,Object> getMeta()
      Additional metadata related to the tier.
      Returns:
      meta
    • setMeta

      public void setMeta(@Nullable Map<String,Object> meta)
    • tierId

      public SubscriptionTier tierId(@Nullable String tierId)
    • getTierId

      @Nullable public String getTierId()
      Unique identifier of the tier.
      Returns:
      tierId
    • setTierId

      public void setTierId(@Nullable String tierId)
    • updatedAt

      public SubscriptionTier updatedAt(@Nullable String updatedAt)
    • getUpdatedAt

      @Nullable public String getUpdatedAt()
      Timestamp when the tier was last updated
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nullable String updatedAt)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string