Examples of AcademicEventExemption


Examples of org.fenixedu.academic.domain.accounting.events.AcademicEventExemption

    protected Money subtractFromExemptions(Event event, DateTime when, boolean applyDiscount, Money amountToPay) {
        if (!event.getExemptionsSet().isEmpty()) {
            Collection<Exemption> exemptions = event.getExemptionsSet();

            for (Exemption exemption : exemptions) {
                AcademicEventExemption academicEventExemption = (AcademicEventExemption) exemption;

                amountToPay = amountToPay.subtract(academicEventExemption.getValue());
            }
        }

        if (amountToPay.isNegative()) {
            return Money.ZERO;
View Full Code Here

Examples of org.fenixedu.academic.domain.accounting.events.AcademicEventExemption

    protected Money subtractFromExemptions(Event event, DateTime when, boolean applyDiscount, Money amountToPay) {
        if (!event.getExemptionsSet().isEmpty()) {
            Collection<Exemption> exemptions = event.getExemptionsSet();

            for (Exemption exemption : exemptions) {
                AcademicEventExemption academicEventExemption = (AcademicEventExemption) exemption;

                amountToPay = amountToPay.subtract(academicEventExemption.getValue());
            }
        }

        if (amountToPay.isNegative()) {
            return Money.ZERO;
View Full Code Here

Examples of org.fenixedu.academic.domain.accounting.events.AcademicEventExemption

            return amountToPay;
        }

        for (Exemption exemption : event.getExemptionsSet()) {
            if (exemption.isAcademicEventExemption()) {
                AcademicEventExemption academicEventExemption = (AcademicEventExemption) exemption;
                amountToPay = amountToPay.subtract(academicEventExemption.getValue());
            }
        }

        if (amountToPay.isNegative()) {
            return Money.ZERO;
View Full Code Here

Examples of org.fenixedu.academic.domain.accounting.events.AcademicEventExemption

            return amountToPay;
        }

        for (Exemption exemption : event.getExemptionsSet()) {
            if (exemption.isAcademicEventExemption()) {
                AcademicEventExemption academicEventExemption = (AcademicEventExemption) exemption;
                amountToPay = amountToPay.subtract(academicEventExemption.getValue());
            }
        }

        if (amountToPay.isNegative()) {
            return Money.ZERO;
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.