Package com.xebia.lottery.events

Examples of com.xebia.lottery.events.LotteryTicketPrizeAwardedEvent


        this.number = number;
        this.customerId = customerId;
    }

    public void win(double prizeAmount) {
        apply(new LotteryTicketPrizeAwardedEvent(aggregate.getVersionedId(), number, customerId, prizeAmount));
    }
View Full Code Here

TOP

Related Classes of com.xebia.lottery.events.LotteryTicketPrizeAwardedEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.