Class Subscription

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

public class Subscription extends Object
Subscription
  • Field Details

  • Constructor Details

    • Subscription

      public Subscription()
  • Method Details

    • contactId

      public Subscription 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 Subscription createdAt(@Nullable String createdAt)
    • getCreatedAt

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

      public void setCreatedAt(@Nullable String createdAt)
    • loyaltyProgramId

      public Subscription loyaltyProgramId(@Nullable String loyaltyProgramId)
    • getLoyaltyProgramId

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

      public void setLoyaltyProgramId(@Nullable String loyaltyProgramId)
    • loyaltySubscriptionId

      public Subscription loyaltySubscriptionId(@Nullable String loyaltySubscriptionId)
    • getLoyaltySubscriptionId

      @Nullable public String getLoyaltySubscriptionId()
      Unique identifier of the subscription.
      Returns:
      loyaltySubscriptionId
    • setLoyaltySubscriptionId

      public void setLoyaltySubscriptionId(@Nullable String loyaltySubscriptionId)
    • organizationId

      public Subscription organizationId(@Nullable Integer organizationId)
    • getOrganizationId

      @Nullable public Integer getOrganizationId()
      Unique identifier of the organization.
      Returns:
      organizationId
    • setOrganizationId

      public void setOrganizationId(@Nullable Integer organizationId)
    • updatedAt

      public Subscription updatedAt(@Nullable String updatedAt)
    • getUpdatedAt

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

      public void setUpdatedAt(@Nullable String updatedAt)
    • versionId

      public Subscription versionId(@Nullable Integer versionId)
    • getVersionId

      @Nullable public Integer getVersionId()
      Version number of the subscription.
      Returns:
      versionId
    • setVersionId

      public void setVersionId(@Nullable Integer versionId)
    • 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