FIM.payment
Class VoucherWrapper
java.lang.Object
|
+--FIM.payment.VoucherWrapper
- All Implemented Interfaces:
- Serializable
- public class VoucherWrapper
- extends Object
- implements Serializable
A wrapper for the voucher in VoucherPayment
. The data must be a certificate.
Also contains a characteristic (description of the voucher) and its value. For easier usage,
a flag is contained to mark it whether it has been sued for payment or not.
- Version:
- 1.0
- Author:
- Michael Sonntag
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
public Price value
- The value of the voucher.
characteristic
public String characteristic
- The characteristic (=description) of the voucher.
voucher
public Certificate voucher
- The voucher itself.
used
public boolean used
- Flag to mark whether this data has already been used for payment or not.
VoucherWrapper
public VoucherWrapper(String characteristic,
Certificate voucher,
Price value)
- Create a new voucher wrapper.
- Parameters:
characteristic
- the description of the vouchervalue
- the value of the vouchervoucher
- the voucher itself
Submit a bug
Copyright 2001,2002 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.