Examples of PmtPeriod


Examples of co.da.jmtg.pmt.PmtPeriod

     */
    private void checkPreconditions(PmtCalculator pmtCalculator, PmtKey pmtKey) {
        Preconditions.checkNotNull(pmtCalculator, "pmtCalculator must not be null.");
        Preconditions.checkNotNull(pmtKey, "pmtKey must not be null.");

        PmtPeriod pmtPeriod = pmtCalculator.getPmtPeriod();
        boolean validPeriod;
        switch (pmtPeriod) {
        case BIWEEKLY:
        case RAPID_BIWEEKLY:
        case MONTHLY:
View Full Code Here

Examples of co.da.jmtg.pmt.PmtPeriod

        // The PmtPeriod for the ExtraPmt must be equal to the payment period for the mortgage,
        // or YEARLY if the mortage payment is monthly, YEARLY_FOR_WEEKLY if the mortgage payment is WEEKLY or
        // RAPID_WEEKLY, YEARLY_FOR_BIWEEKLY if the mortgage payment is BIWEEKLY or RAPID_BIWEEKLY, or ONETIME. Anything
        // else is invalid.
        PmtPeriod mortgagePeriod = pmtKey.getPmtPeriod();
        PmtPeriod extraPeriod = extraPmts.getPmtKey().getPmtPeriod();
        boolean validPeriod = isValidPmtPeriod(mortgagePeriod, extraPeriod);
        Preconditions.checkArgument(validPeriod, "Extra Payment Period " + extraPeriod
                + " is invalid for a mortgage payment period of " + mortgagePeriod + ".");

        for (LocalDate key : extraPmts.getPmtKey().getKeys()) {
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.