Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface SlotInfo {
- /**
- * Get the drink name.
- *
- * @return the drink name
- */
- String getDrinkName();
- /**
- * Get the prices.
- *
- * @return the price
- */
- int getPrice();
- /**
- * Get whether the slot is sold out or not.
- *
- * @return {@code true} if the slot is sold out
- */
- boolean isSoldOut();
- /**
- * Get whether the user can select the drink in
- * this slot or not.
- *
- * @return {@code true} if the user can select this slot
- */
- boolean canSelect();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement