Package customer

Class Customer

java.lang.Object
customer.Customer
All Implemented Interfaces:
IGiveBetList
Direct Known Subclasses:
GoldCustomer, PlatinumCustomer

public sealed class Customer extends Object implements IGiveBetList permits GoldCustomer, PlatinumCustomer
Represents a customer with betting capabilities, including a list of bets, total gains, and spending information.

This class can be extended to support various customer tiers (e.g., Basic, Gold, Platinum), each with a different betting limit defined by CustomerType.