Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. public interface SlotInfo {
  2.  
  3. /**
  4. * Get the drink name.
  5. *
  6. * @return the drink name
  7. */
  8. String getDrinkName();
  9.  
  10. /**
  11. * Get the prices.
  12. *
  13. * @return the price
  14. */
  15. int getPrice();
  16.  
  17. /**
  18. * Get whether the slot is sold out or not.
  19. *
  20. * @return {@code true} if the slot is sold out
  21. */
  22. boolean isSoldOut();
  23.  
  24. /**
  25. * Get whether the user can select the drink in
  26. * this slot or not.
  27. *
  28. * @return {@code true} if the user can select this slot
  29. */
  30. boolean canSelect();
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement