InvoiceCostLineSummary.java

package com.tradecloud.domain.costing.clean;

import com.tradecloud.domain.costing.CostLine;

import java.math.BigDecimal;

/**
 * This class does not get persisted, it just a work around for invoices as they
 * do not have summary. Created by ds on 4/8/14.
 */
public class InvoiceCostLineSummary extends CostLineSummary {

    public InvoiceCostLineSummary(CostLine costLine, BigDecimal spotRate, BigDecimal forwardRate) {
        setCostLine(costLine);
        setForwardRate(forwardRate);
        setSpotRate(spotRate);
    }

}