Class BalanceLimit

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

public class BalanceLimit extends Object
BalanceLimit
  • Field Details

  • Constructor Details

    • BalanceLimit

      public BalanceLimit()
  • Method Details

    • balanceDefinitionId

      public BalanceLimit balanceDefinitionId(@Nullable String balanceDefinitionId)
    • getBalanceDefinitionId

      @Nullable public String getBalanceDefinitionId()
      balance definition ID
      Returns:
      balanceDefinitionId
    • setBalanceDefinitionId

      public void setBalanceDefinitionId(@Nullable String balanceDefinitionId)
    • constraintType

      public BalanceLimit constraintType(@Nullable String constraintType)
    • getConstraintType

      @Nullable public String getConstraintType()
      Defines the type of constraint (e.g., transaction-based or amount-based).
      Returns:
      constraintType
    • setConstraintType

      public void setConstraintType(@Nullable String constraintType)
    • createdAt

      public BalanceLimit createdAt(@Nonnull String createdAt)
    • getCreatedAt

      @Nonnull public String getCreatedAt()
      Timestamp of when the balance limit was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nonnull String createdAt)
    • durationUnit

      public BalanceLimit durationUnit(@Nullable String durationUnit)
    • getDurationUnit

      @Nullable public String getDurationUnit()
      Time unit for the balance limit (day, week, month, year).
      Returns:
      durationUnit
    • setDurationUnit

      public void setDurationUnit(@Nullable String durationUnit)
    • durationValue

      public BalanceLimit durationValue(@Nullable Integer durationValue)
    • getDurationValue

      @Nullable public Integer getDurationValue()
      Number of time units the balance limit applies to.
      Returns:
      durationValue
    • setDurationValue

      public void setDurationValue(@Nullable Integer durationValue)
    • id

      public BalanceLimit id(@Nullable String id)
    • getId

      @Nullable public String getId()
      Unique identifier for the balance limit.
      Returns:
      id
    • setId

      public void setId(@Nullable String id)
    • slidingSchedule

      public BalanceLimit slidingSchedule(@Nullable Boolean slidingSchedule)
    • getSlidingSchedule

      @Nullable public Boolean getSlidingSchedule()
      Indicates if the limit resets periodically based on a sliding schedule.
      Returns:
      slidingSchedule
    • setSlidingSchedule

      public void setSlidingSchedule(@Nullable Boolean slidingSchedule)
    • transactionType

      public BalanceLimit transactionType(@Nullable String transactionType)
    • getTransactionType

      @Nullable public String getTransactionType()
      Specifies whether the limit applies to credit or debit transactions.
      Returns:
      transactionType
    • setTransactionType

      public void setTransactionType(@Nullable String transactionType)
    • updatedAt

      public BalanceLimit updatedAt(@Nonnull String updatedAt)
    • getUpdatedAt

      @Nonnull public String getUpdatedAt()
      Timestamp of the last update to the balance limit.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nonnull String updatedAt)
    • value

      public BalanceLimit value(@Nullable Integer value)
    • getValue

      @Nullable public Integer getValue()
      The maximum allowed value for the defined constraint.
      Returns:
      value
    • setValue

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