Package | Description |
---|---|
Cards | |
User |
Modifier and Type | Class and Description |
---|---|
class |
BasicFidelityCard
Basic Card, by default attached to the client, no point, no lottery.
|
class |
LotteryFidelityCard
Allow the user to win a free meal, it have a $percentage chance to win this meal.
|
class |
PointFidelityCard
Each time a customer buy a meal, he win a point, this allow reduction or free meals.
|
Modifier and Type | Method and Description |
---|---|
FidelityCard |
Customer.getCard() |
Modifier and Type | Method and Description |
---|---|
void |
Manager.setProbabilityOnLoteryCard(FidelityCard c,
double percentage) |