Package com.dzidzi.dto.extra
Class FindExtraRequest
java.lang.Object
com.dzidzi.dto.merge.AbstractFindRequest
com.dzidzi.dto.extra.FindExtraRequest
FindExtrasRequest represents the DTO request containing the objects used to filter extras.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe distance to filter extra on.doubleThe latitudedoubleThe longitudeThe maximum price to filter onThe minimum price to filter ongetName()The name of the extra to filter onThe parent restaurant id to filter onThe average rating of restaurants to filter onThe restaurant id to filter onA flag to filter extras on if they are visible to users or notinthashCode()voidsetDistance(Integer distance) The distance to filter extra on.voidsetExtraIds(List<UUID> extraIds) The extra ids to filter onvoidsetLatitude(double latitude) The latitudevoidsetLongitude(double longitude) The longitudevoidsetMaximumPrice(BigDecimal maximumPrice) The maximum price to filter onvoidsetMinimumPrice(BigDecimal minimumPrice) The minimum price to filter onvoidThe name of the extra to filter onvoidsetParentRestaurantId(UUID parentRestaurantId) The parent restaurant id to filter onvoidThe average rating of restaurants to filter onvoidsetRestaurantId(UUID restaurantId) The restaurant id to filter onvoidsetVisible(Boolean visible) A flag to filter extras on if they are visible to users or nottoString()Methods inherited from class com.dzidzi.dto.merge.AbstractFindRequest
getLimit, getOrderBy, getPage, getSortBy, setLimit, setOrderBy, setPage, setSortBy
-
Constructor Details
-
FindExtraRequest
public FindExtraRequest()
-
-
Method Details
-
getExtraIds
-
getMinimumPrice
The minimum price to filter on -
getMaximumPrice
The maximum price to filter on -
getName
The name of the extra to filter on -
getRating
The average rating of restaurants to filter on -
getRestaurantId
The restaurant id to filter on -
getParentRestaurantId
The parent restaurant id to filter on -
getVisible
A flag to filter extras on if they are visible to users or not -
getDistance
The distance to filter extra on. This is only taken into action when a user withUserRole.USERis logged in. -
getLatitude
public double getLatitude()The latitude -
getLongitude
public double getLongitude()The longitude -
setMinimumPrice
The minimum price to filter on -
setMaximumPrice
The maximum price to filter on -
setName
The name of the extra to filter on -
setRating
The average rating of restaurants to filter on -
setRestaurantId
The restaurant id to filter on -
setParentRestaurantId
The parent restaurant id to filter on -
setVisible
A flag to filter extras on if they are visible to users or not -
setDistance
The distance to filter extra on. This is only taken into action when a user withUserRole.USERis logged in. -
setLatitude
public void setLatitude(double latitude) The latitude -
setLongitude
public void setLongitude(double longitude) The longitude -
setExtraIds
The extra ids to filter on -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-