Package software.xdev.brevo.model
Class MainLimit
java.lang.Object
software.xdev.brevo.model.MainLimit
MainLimit
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) durationUnit(String durationUnit) durationValue(Integer durationValue) booleanTimestamp when the reward limit was createdUnit of time for the reward limit's availability (e.g., day/week/month/year).Number of days/weeks/month/year for reward limitValue of the limitUnique identifier for the reward limitSelect true to calculate all redeems/attributions from the previous value of selected durationUnit to the current timegetType()Type of rewardTimestamp when the reward limit was createdinthashCode()limitValue(Integer limitValue) rewardLimitId(String rewardLimitId) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDurationUnit(String durationUnit) voidsetDurationValue(Integer durationValue) voidsetLimitValue(Integer limitValue) voidsetRewardLimitId(String rewardLimitId) voidsetSlidingSchedule(Boolean slidingSchedule) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) slidingSchedule(Boolean slidingSchedule) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DURATION_UNIT
- See Also:
-
JSON_PROPERTY_DURATION_VALUE
- See Also:
-
JSON_PROPERTY_LIMIT_VALUE
- See Also:
-
JSON_PROPERTY_REWARD_LIMIT_ID
- See Also:
-
JSON_PROPERTY_SLIDING_SCHEDULE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
-
Constructor Details
-
MainLimit
public MainLimit()
-
-
Method Details
-
createdAt
-
getCreatedAt
Timestamp when the reward limit was created- Returns:
- createdAt
-
setCreatedAt
-
durationUnit
-
getDurationUnit
Unit of time for the reward limit's availability (e.g., day/week/month/year).- Returns:
- durationUnit
-
setDurationUnit
-
durationValue
-
getDurationValue
Number of days/weeks/month/year for reward limit- Returns:
- durationValue
-
setDurationValue
-
limitValue
-
getLimitValue
Value of the limit- Returns:
- limitValue
-
setLimitValue
-
rewardLimitId
-
getRewardLimitId
Unique identifier for the reward limit- Returns:
- rewardLimitId
-
setRewardLimitId
-
slidingSchedule
-
getSlidingSchedule
Select true to calculate all redeems/attributions from the previous value of selected durationUnit to the current time- Returns:
- slidingSchedule
-
setSlidingSchedule
-
type
-
getType
Type of reward- Returns:
- type
-
setType
-
updatedAt
-
getUpdatedAt
Timestamp when the reward limit was created- 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
-