1 package org.kuali.ole.sip2.service;
2
3 import org.kuali.ole.deliver.bo.FeeType;
4 import org.kuali.ole.deliver.bo.OleItemLevelBillPayment;
5 import org.kuali.ole.deliver.bo.OlePaymentStatus;
6 import org.kuali.ole.ncip.bo.OLEItemFine;
7 import org.kuali.rice.core.api.util.type.KualiDecimal;
8
9 import java.math.BigDecimal;
10 import java.util.List;
11
12
13
14
15 public interface OLESIP2HelperService {
16
17 public OLENettyServer doActionForSocketServer(String action, StringBuffer responseString, OLENettyServer olesip2Server);
18
19 public OLENettyServer startOLESip2Server(StringBuffer responseString, OLENettyServer olesip2Server);
20
21 public void stopOLESip2Server(StringBuffer responseString, OLENettyServer olesip2Server);
22
23 public void startOLESip2Server();
24
25 public void stopOLESip2Server();
26
27 public OlePaymentStatus getPaymentStatus(String paymentStatus);
28
29 public KualiDecimal itemWiseFeePaid(List<FeeType> feeTypes, KualiDecimal paymentAmount, String paymentMethod, String fullyPaidStatus, String partiallyPaidStatus, String forgiveErrorNote, String transactionNumber, String transactionNote, String paidByUser, List<OleItemLevelBillPayment> currentSessionTransactions);
30
31 public String feePaid(String patronBarcode, String feeTypeCode, String feeTypeId, String paymentMethod, KualiDecimal paymentAmount, String transactionNumber, String paidByUser);
32
33 public BigDecimal calculateTotalFineBalance(List<OLEItemFine> oleItemFineList);
34 }