ShipmentQuantityMismatchException.java

package com.tradecloud.domain.shipment;

import com.tradecloud.dto.base.ReferenceValueDto;

import java.util.List;

public class ShipmentQuantityMismatchException extends ShipmentException {

    private List<ReferenceValueDto> mismatchItems;

    public ShipmentQuantityMismatchException(ShipmentExceptionType shipmentExceptionType,
                                             List<ReferenceValueDto> mismatchItems) {
        super(shipmentExceptionType);
        this.mismatchItems = mismatchItems;
    }

    public List<ReferenceValueDto> getMismatchItems() {
        return mismatchItems;
    }

    public void setMismatchItems(List<ReferenceValueDto> mismatchItems) {
        this.mismatchItems = mismatchItems;
    }
}