Package bank.bankieren

Examples of bank.bankieren.Money


        int vanRekeningNr = sessie.getLoginAccount().getRekeningNr();
        if (vanRekeningNr == naarRekeningNr) {
            throw new RuntimeException("source and destination must be different");
        }

        Money bedrag = new Money(centen, muntSymbool);
        if (!bedrag.isPositive()) {
            throw new RuntimeException("amount must be positive");
        }

        return bank.maakOver(vanRekeningNr, naarRekeningNr, bedrag);
    }
View Full Code Here

TOP

Related Classes of bank.bankieren.Money

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.