public class FindShopsResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private double |
distance
The distance between the user and a shop
|
private double |
price
The price of a grocery list in a shop
|
private double |
score
The autoChef score of a shop for a grocery list
|
private java.lang.String |
shopName |
Constructor and Description |
---|
FindShopsResult(java.lang.String shopName,
double distance,
double price,
double score) |
Modifier and Type | Method and Description |
---|---|
double |
getDistance() |
double |
getPrice() |
double |
getScore() |
java.lang.String |
getShopName() |
private final java.lang.String shopName
private final double distance
private final double price
private final double score