Examples of LotteryTicketPrizeAwardedEvent


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
Copyright © 2018 www.massapi.com. 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.