org.neuclear.ledger
Class PostedTransaction
java.lang.Object
org.neuclear.ledger.Transaction
org.neuclear.ledger.PostedTransaction
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- PostedHeldTransaction
- public class PostedTransaction
- extends Transaction
This class defines the type of Transactions that have been posted. They are therefore immutable.
They are created by the Ledger normally based on an UnPostedTransaction.
They are assumed to be balanced.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostedTransaction
public PostedTransaction(UnPostedTransaction orig,
java.util.Date time)
throws InvalidTransactionException,
UnBalancedTransactionException
- Standard Constructor.
- Parameters:
orig -
PostedTransaction
public PostedTransaction(PostedHeldTransaction orig,
java.util.Date time,
double amount,
java.lang.String comment)
throws ExceededHeldAmountException,
UnBalancedTransactionException
PostedTransaction
public PostedTransaction(PostedHeldTransaction orig,
Book origbook,
Book newbook,
java.util.Date time,
double amount,
java.lang.String comment)
throws ExceededHeldAmountException,
UnBalancedTransactionException
getTransactionTime
public java.util.Date getTransactionTime()
getReceiptId
public java.lang.String getReceiptId()
- The ID of the Receipt generated after a Transaction has been posted
- Returns:
setReceiptId
public void setReceiptId(java.lang.String receipt)
Copyright © 2003-2004 Antilles Software Ventures SA. All Rights Reserved.