Package com.dzidzi.dto.coupon
Class FindCouponRequest
java.lang.Object
com.dzidzi.dto.merge.AbstractFindRequest
com.dzidzi.dto.coupon.FindCouponRequest
FindCouponRequest represents the DTO request containing the objects used to filter coupons.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe status of coupon to filter onThe coupon amount to filter onThe coupon name to filter onThe coupon number to filter onThe type of coupon to filter onThe date in millis the coupon was created with a range fromThe date in millis the coupon was created with a range toThe id of the user who created the couponThe date in millis the coupon will expire with a range fromThe date in millis the coupon will expire with a range toThe percentage to filter onThe date in millis the coupon will be active with a range fromThe date in millis the coupon will be active with a range tointhashCode()voidThe status of coupon to filter onvoidsetCouponAmount(BigDecimal couponAmount) The coupon amount to filter onvoidsetCouponName(String couponName) The coupon name to filter onvoidsetCouponNumber(String couponNumber) The coupon number to filter onvoidsetCouponType(CouponType couponType) The type of coupon to filter onvoidsetCreatedOnFrom(Long createdOnFrom) The date in millis the coupon was created with a range fromvoidsetCreatedOnTo(Long createdOnTo) The date in millis the coupon was created with a range tovoidsetCreator(UUID creator) The id of the user who created the couponvoidsetEndDateFrom(Long endDateFrom) The date in millis the coupon will expire with a range fromvoidsetEndDateTo(Long endDateTo) The date in millis the coupon will expire with a range tovoidsetPercentage(Double percentage) The percentage to filter onvoidsetStartDateFrom(Long startDateFrom) The date in millis the coupon will be active with a range fromvoidsetStartDateTo(Long startDateTo) The date in millis the coupon will be active with a range totoString()Methods inherited from class com.dzidzi.dto.merge.AbstractFindRequest
getLimit, getOrderBy, getPage, getSortBy, setLimit, setOrderBy, setPage, setSortBy
-
Constructor Details
-
FindCouponRequest
public FindCouponRequest()
-
-
Method Details
-
getCouponName
The coupon name to filter on -
getCouponNumber
The coupon number to filter on -
getCreator
The id of the user who created the coupon -
getActive
The status of coupon to filter on -
getPercentage
The percentage to filter on -
getCouponAmount
The coupon amount to filter on -
getCouponType
The type of coupon to filter on -
getCreatedOnFrom
The date in millis the coupon was created with a range from -
getCreatedOnTo
The date in millis the coupon was created with a range to -
getStartDateFrom
The date in millis the coupon will be active with a range from -
getStartDateTo
The date in millis the coupon will be active with a range to -
getEndDateFrom
The date in millis the coupon will expire with a range from -
getEndDateTo
The date in millis the coupon will expire with a range to -
setCouponName
The coupon name to filter on -
setCouponNumber
The coupon number to filter on -
setCreator
The id of the user who created the coupon -
setActive
The status of coupon to filter on -
setPercentage
The percentage to filter on -
setCouponAmount
The coupon amount to filter on -
setCouponType
The type of coupon to filter on -
setCreatedOnFrom
The date in millis the coupon was created with a range from -
setCreatedOnTo
The date in millis the coupon was created with a range to -
setStartDateFrom
The date in millis the coupon will be active with a range from -
setStartDateTo
The date in millis the coupon will be active with a range to -
setEndDateFrom
The date in millis the coupon will expire with a range from -
setEndDateTo
The date in millis the coupon will expire with a range to -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-