Package org.fenixedu.academic.domain.accounting.paymentCodes

Examples of org.fenixedu.academic.domain.accounting.paymentCodes.IndividualCandidacyPaymentCode


        }
    }

    protected void attachAvailablePaymentCode() {
        YearMonthDay candidacyDate = getCandidacyProcess().getCandidacyDate().toDateMidnight().toYearMonthDay();
        IndividualCandidacyPaymentCode paymentCode =
                IndividualCandidacyPaymentCode.getAvailablePaymentCodeAndUse(PaymentCodeType.PHD_PROGRAM_CANDIDACY_PROCESS,
                        candidacyDate, this, getPerson());
        if (paymentCode == null) {
            throw new DomainException("error.IndividualCandidacyEvent.invalid.payment.code");
        }
View Full Code Here


        setIndividualCandidacy(candidacy);
    }

    protected void attachAvailablePaymentCode(final Person person) {
        YearMonthDay candidacyDate = getIndividualCandidacy().getCandidacyDate().toDateTimeAtStartOfDay().toYearMonthDay();
        IndividualCandidacyPaymentCode paymentCode =
                IndividualCandidacyPaymentCode.getAvailablePaymentCodeAndUse(getPaymentCodeType(), candidacyDate, this, person);
        if (paymentCode == null) {
            throw new DomainException("error.IndividualCandidacyEvent.invalid.payment.code");
        }
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.accounting.paymentCodes.IndividualCandidacyPaymentCode

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.