1 /* 2 * Copyright 2009 The Kuali Foundation 3 * 4 * Licensed under the Educational Community License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.opensource.org/licenses/ecl2.php 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package org.kuali.ole.fp.document.validation.event; 17 18 import org.kuali.ole.fp.businessobject.CashDrawer; 19 import org.kuali.ole.fp.businessobject.CashieringTransaction; 20 import org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent; 21 22 /** 23 * An event generated when a cash management document is about to apply a cashiering transaction 24 */ 25 public interface CashieringTransactionApplicationEvent extends KualiDocumentEvent { 26 27 /** 28 * Returns the cashiering transaction to be validated 29 * @return the cashiering transaction to be validated 30 */ 31 public abstract CashieringTransaction getCashieringTransaction(); 32 33 /** 34 * Returns the cash drawer that the cashiering transaction to validate will be applied to 35 * @return the cash drawer's current state on the cash management document initiating the cashiering transaction 36 */ 37 public abstract CashDrawer getCashDrawer(); 38 }