|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pkrete.jsip2.messages.SIP2Message
com.pkrete.jsip2.messages.SIP2MessageRequest
com.pkrete.jsip2.messages.requests.SIP2FeePaidRequest
public class SIP2FeePaidRequest
This class represents the message that can be used to notify the ILS that
a fee has been collected from the patron. The ILS should record this
information in its database and respond with a
SIP2FeePaidResponse message.
| Field Summary |
|---|
| Fields inherited from class com.pkrete.jsip2.messages.SIP2MessageRequest |
|---|
counter, errorDetectionEnabled, feeAcknowledged, patronPassword, terminalPassword, useFeeAcknowledged |
| 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 | |
|---|---|
SIP2FeePaidRequest(String patronId,
String feeAmount)
Constructs and initializes a new SIP2FeePaidRequest object with the given values. |
|
SIP2FeePaidRequest(String institutionId,
String patronId,
String feeAmount)
Constructs and initializes a new SIP2FeePaidRequest object with the given values. |
|
| Method Summary | |
|---|---|
String |
getData()
Returns a string presentation of the message. |
String |
getFeeIdentifier()
Returns a value that identifies a specific fee, possible together with fee type. |
PaymentType |
getPaymentType()
Returns the type of the payment: cash, VISA or credit card. |
void |
setFeeIdentifier(String feeIdentifier)
Sets the value that identifies a specific fee, possible together with fee type. |
void |
setPaymentType(PaymentType paymentType)
Sets the payment type. |
| Methods inherited from class com.pkrete.jsip2.messages.SIP2MessageRequest |
|---|
getCheckSum, getPatronPassword, getTerminalPassword, isErrorDetectionEnabled, isFeeAcknowledged, isUseFeeAcknowledged, setErrorDetectionEnabled, setFeeAcknowledged, setPatronPassword, setTerminalPassword, setUseFeeAcknowledged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SIP2FeePaidRequest(String patronId,
String feeAmount)
patronId - an identifying value for the patronfeeAmount - fee amount that the patron has paid
public SIP2FeePaidRequest(String institutionId,
String patronId,
String feeAmount)
institutionId - library's institution idpatronId - an identifying value for the patronfeeAmount - fee amount that the patron has paid| Method Detail |
|---|
public PaymentType getPaymentType()
public void setPaymentType(PaymentType paymentType)
paymentType - new payment typepublic String getFeeIdentifier()
public void setFeeIdentifier(String feeIdentifier)
feeIdentifier - new identifierpublic String getData()
SIP2Message
getData in class SIP2Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||