Index
All Classes and Interfaces|All Packages
A
- addFruit(int) - Method in class SmoothieCard
-
A number of scoops of fruit are added to the smoothie.
- addProtein() - Method in class SmoothieCard
-
A scoop of protein is added to the smoothie.
- addTopping(String) - Method in class SmoothieCard
-
A topping is added to the smoothie.
E
- earnBonusPoints(int) - Method in class SmoothieCard
-
A number of points is added to the total number of points on the account.
G
- getCustomerName() - Method in class SmoothieCard
-
Returns the name of the customer.
- getFruitScoops() - Method in class SmoothieCard
-
Returns the number of fruit scoops ordered.
- getPointsBalance() - Method in class SmoothieCard
-
Returns the number of points remaining.
- getProteinScoops() - Method in class SmoothieCard
-
Returns the number of protein scoops ordered.
- getToppings() - Method in class SmoothieCard
-
Returns a list of toppings ordered.
S
- sendOrder() - Method in class SmoothieCard
-
The smoothie order is sent to the restaurant to be made.
- SmoothieCard - Class in Unnamed Package
- SmoothieCard(String, int) - Constructor for class SmoothieCard
-
Creates a SmoothieCard object with customerName being name, points being pts.
All Classes and Interfaces|All Packages