01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
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.module.pdp.service;
17:
18: import java.util.Iterator;
19: import java.util.List;
20:
21: import org.kuali.module.pdp.bo.PaymentDetail;
22:
23: public interface PaymentDetailService {
24: /**
25: * Get ACH Payments that need an email
26: *
27: * @return
28: */
29: public Iterator getAchPaymentsWithUnsentEmail();
30:
31: public PaymentDetail get(Integer id);
32:
33: public PaymentDetail getDetailForEpic(String custPaymentDocNbr,
34: String fdocTypeCode);
35:
36: /**
37: * Return an iterator of all the payment details for a specific disbursement number
38: *
39: * @param disbursementNumber
40: * @return
41: */
42: public Iterator getByDisbursementNumber(Integer disbursementNumber);
43:
44: /**
45: * This will return an iterator of all the cancelled payment details that haven't already been processed
46: *
47: * @param organization
48: * @param subUnit
49: * @return
50: */
51: public Iterator getUnprocessedCancelledDetails(String organization,
52: List<String> subUnits);
53:
54: /**
55: * This will return an iterator of all the paid payment details that haven't already been processed
56: *
57: * @param organization
58: * @param subUnit
59: * @return
60: */
61: public Iterator getUnprocessedPaidDetails(String organization,
62: List<String> subUnits);
63: }
|