Package software.xdev.brevo.model
Class BalanceLimit
java.lang.Object
software.xdev.brevo.model.BalanceLimit
BalanceLimit
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbalanceDefinitionId(String balanceDefinitionId) constraintType(String constraintType) durationUnit(String durationUnit) durationValue(Integer durationValue) booleanbalance definition IDDefines the type of constraint (e.g., transaction-based or amount-based).Timestamp of when the balance limit was created.Time unit for the balance limit (day, week, month, year).Number of time units the balance limit applies to.getId()Unique identifier for the balance limit.Indicates if the limit resets periodically based on a sliding schedule.Specifies whether the limit applies to credit or debit transactions.Timestamp of the last update to the balance limit.getValue()The maximum allowed value for the defined constraint.inthashCode()voidsetBalanceDefinitionId(String balanceDefinitionId) voidsetConstraintType(String constraintType) voidsetCreatedAt(String createdAt) voidsetDurationUnit(String durationUnit) voidsetDurationValue(Integer durationValue) voidvoidsetSlidingSchedule(Boolean slidingSchedule) voidsetTransactionType(String transactionType) voidsetUpdatedAt(String updatedAt) voidslidingSchedule(Boolean slidingSchedule) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.transactionType(String transactionType)
-
Field Details
-
JSON_PROPERTY_BALANCE_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_CONSTRAINT_TYPE
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DURATION_UNIT
- See Also:
-
JSON_PROPERTY_DURATION_VALUE
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_SLIDING_SCHEDULE
- See Also:
-
JSON_PROPERTY_TRANSACTION_TYPE
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
BalanceLimit
public BalanceLimit()
-
-
Method Details
-
balanceDefinitionId
-
getBalanceDefinitionId
balance definition ID- Returns:
- balanceDefinitionId
-
setBalanceDefinitionId
-
constraintType
-
getConstraintType
Defines the type of constraint (e.g., transaction-based or amount-based).- Returns:
- constraintType
-
setConstraintType
-
createdAt
-
getCreatedAt
Timestamp of when the balance limit was created.- Returns:
- createdAt
-
setCreatedAt
-
durationUnit
-
getDurationUnit
Time unit for the balance limit (day, week, month, year).- Returns:
- durationUnit
-
setDurationUnit
-
durationValue
-
getDurationValue
Number of time units the balance limit applies to.- Returns:
- durationValue
-
setDurationValue
-
id
-
getId
Unique identifier for the balance limit.- Returns:
- id
-
setId
-
slidingSchedule
-
getSlidingSchedule
Indicates if the limit resets periodically based on a sliding schedule.- Returns:
- slidingSchedule
-
setSlidingSchedule
-
transactionType
-
getTransactionType
Specifies whether the limit applies to credit or debit transactions.- Returns:
- transactionType
-
setTransactionType
-
updatedAt
-
getUpdatedAt
Timestamp of the last update to the balance limit.- Returns:
- updatedAt
-
setUpdatedAt
-
value
-
getValue
The maximum allowed value for the defined constraint.- Returns:
- value
-
setValue
-
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
-