Class FindCouponRequest

java.lang.Object
com.dzidzi.dto.merge.AbstractFindRequest
com.dzidzi.dto.coupon.FindCouponRequest

public class FindCouponRequest extends AbstractFindRequest
FindCouponRequest represents the DTO request containing the objects used to filter coupons.
  • Constructor Details

    • FindCouponRequest

      public FindCouponRequest()
  • Method Details

    • getCouponName

      public String getCouponName()
      The coupon name to filter on
    • getCouponNumber

      public String getCouponNumber()
      The coupon number to filter on
    • getCreator

      public UUID getCreator()
      The id of the user who created the coupon
    • getActive

      public Boolean getActive()
      The status of coupon to filter on
    • getPercentage

      public Double getPercentage()
      The percentage to filter on
    • getCouponAmount

      public BigDecimal getCouponAmount()
      The coupon amount to filter on
    • getCouponType

      public CouponType getCouponType()
      The type of coupon to filter on
    • getCreatedOnFrom

      public Long getCreatedOnFrom()
      The date in millis the coupon was created with a range from
    • getCreatedOnTo

      public Long getCreatedOnTo()
      The date in millis the coupon was created with a range to
    • getStartDateFrom

      public Long getStartDateFrom()
      The date in millis the coupon will be active with a range from
    • getStartDateTo

      public Long getStartDateTo()
      The date in millis the coupon will be active with a range to
    • getEndDateFrom

      public Long getEndDateFrom()
      The date in millis the coupon will expire with a range from
    • getEndDateTo

      public Long getEndDateTo()
      The date in millis the coupon will expire with a range to
    • setCouponName

      public void setCouponName(String couponName)
      The coupon name to filter on
    • setCouponNumber

      public void setCouponNumber(String couponNumber)
      The coupon number to filter on
    • setCreator

      public void setCreator(UUID creator)
      The id of the user who created the coupon
    • setActive

      public void setActive(Boolean active)
      The status of coupon to filter on
    • setPercentage

      public void setPercentage(Double percentage)
      The percentage to filter on
    • setCouponAmount

      public void setCouponAmount(BigDecimal couponAmount)
      The coupon amount to filter on
    • setCouponType

      public void setCouponType(CouponType couponType)
      The type of coupon to filter on
    • setCreatedOnFrom

      public void setCreatedOnFrom(Long createdOnFrom)
      The date in millis the coupon was created with a range from
    • setCreatedOnTo

      public void setCreatedOnTo(Long createdOnTo)
      The date in millis the coupon was created with a range to
    • setStartDateFrom

      public void setStartDateFrom(Long startDateFrom)
      The date in millis the coupon will be active with a range from
    • setStartDateTo

      public void setStartDateTo(Long startDateTo)
      The date in millis the coupon will be active with a range to
    • setEndDateFrom

      public void setEndDateFrom(Long endDateFrom)
      The date in millis the coupon will expire with a range from
    • setEndDateTo

      public void setEndDateTo(Long endDateTo)
      The date in millis the coupon will expire with a range to
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object