com.pkrete.jsip2.messages.responses
Class SIP2FeePaidResponse
java.lang.Object
com.pkrete.jsip2.messages.SIP2Message
com.pkrete.jsip2.messages.SIP2MessageResponse
com.pkrete.jsip2.messages.responses.SIP2FeePaidResponse
- All Implemented Interfaces:
- Serializable
public class SIP2FeePaidResponse
- extends SIP2MessageResponse
The ILS must send this message in response to the
SIP2FeePaidRequest message.
- Author:
- Petteri Kivimäki
- See Also:
- Serialized Form
| Fields inherited from class com.pkrete.jsip2.messages.SIP2Message |
bibId, checkSum, code, currencyType, currentLocation, expirationDate, feeAmount, feeType, institutionId, itemIdentifier, itemProperties, patronIdentifier, pickupLocation, sequence, titleIdentifier, transactionDate, transactionId |
|
Constructor Summary |
SIP2FeePaidResponse(String data)
Constructs and initializes a new SIP2FeePaidResponse object containing
the given data. |
|
Method Summary |
String |
countChecksum()
Counts the chekcsum of this response message. |
boolean |
isPaymentAccepted()
Returns true if and only if the ILS has accepted the payment from
the patron. |
void |
setPaymentAccepted(boolean paymentAccepted)
Sets the value that tells if the ILS has accepted the payment from the
patron. |
| Methods inherited from class com.pkrete.jsip2.messages.SIP2MessageResponse |
getData, getDueDate, getMediaType, getPermanentLocation, getPrintLine, getScreenMessage, isOk, isValid, setData, setDueDate, setMediaType, setOk, setPermanentLocation, setPrintLine, setScreenMessage |
| Methods inherited from class com.pkrete.jsip2.messages.SIP2Message |
getBibId, getCheckSum, getCode, getCurrencyType, getCurrentLocation, getExpirationDate, getFeeAmount, getFeeType, getInstitutionId, getItemIdentifier, getItemProperties, getPatronIdentifier, getPickupLocation, getSequence, getTitleIdentifier, getTransactionDate, getTransactionId, isChecksum, isSequence, setBibId, setCheckSum, setCode, setCurrencyType, setCurrentLocation, setExpirationDate, setFeeAmount, setFeeType, setInstitutionId, setItemIdentifier, setItemProperties, setPatronIdentifier, setPickupLocation, setSequence, setTitleIdentifier, setTransactionDate, setTransactionId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIP2FeePaidResponse
public SIP2FeePaidResponse(String data)
- Constructs and initializes a new SIP2FeePaidResponse object containing
the given data.
- Parameters:
data - the data that the message contains
isPaymentAccepted
public boolean isPaymentAccepted()
- Returns true if and only if the ILS has accepted the payment from
the patron.
- Returns:
- true the ILS has accepted the payment from the patron, otherwise
false
setPaymentAccepted
public void setPaymentAccepted(boolean paymentAccepted)
- Sets the value that tells if the ILS has accepted the payment from the
patron.
- Parameters:
paymentAccepted - true or false.
countChecksum
public String countChecksum()
- Counts the chekcsum of this response message.
- Specified by:
countChecksum in class SIP2MessageResponse
- Returns:
- checksum
Copyright © 2012-2014. All Rights Reserved.