Index
All Classes and Interfaces|All Packages
C
- calculateGainsPerCustomer() - Method in enum class main.BetOrganization
-
Calculates and updates the gains for each customer by evaluating the outcomes of their bets.
- calculateGainsPerCustomer() - Method in interface main.ICustomerBetService
-
Calculates and updates the gains for each customer based on their bets and the actual game outcomes.
- choice - Variable in class customer.CustomerBet
-
The choice made by the customer for this bet.
- customer - package customer
-
This package contains classes and interfaces related to customers and their betting activities.
- Customer - Class in customer
-
Represents a customer with betting capabilities, including a list of bets, total gains, and spending information.
- Customer(String) - Constructor for class customer.Customer
-
Constructs a customer with a basic betting limit, corresponding to the
CustomerType.BASICtype. - Customer(String, CustomerType) - Constructor for class customer.Customer
-
Constructs a customer with a specified customer type that determines the betting limit.
- CustomerBet - Class in customer
-
Represents a customer's individual bet, including the bet details, stake amount, choice, and potential payout.
- CustomerBet(Bet, int, char) - Constructor for class customer.CustomerBet
-
Constructs a new
CustomerBetwith specified details of the bet, stake, and choice. - customerBets - Variable in class customer.Customer
-
A list of
CustomerBetobjects placed by the customer. - customers - Variable in enum class main.BetOrganization
-
A list of
Customerobjects representing all customers in the organization. - CustomerType - Enum Class in customer
-
Enum representing the types of customers, primarily used to determine betting limits.
- CustomerType(int) - Constructor for enum class customer.CustomerType
-
Initializes a
CustomerTypewith a specific maximum stake limit.
All Classes and Interfaces|All Packages