@Entity public class AccountancyEntry extends AbstractEntity<AccountancyEntryIdentifier>
ProductPaymentEntry.| Constructor and Description |
|---|
AccountancyEntry(Money value)
Creates a new
PersistentAccountancyEntry with a specific
value. |
AccountancyEntry(Money value,
java.lang.String description)
Creates a new
PersistentAccountancyEntry with a specific
value and a user defined time. |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
getDate() |
java.lang.String |
getDescription() |
AccountancyEntryIdentifier |
getIdentifier()
Returns the
SalespointIdentifier. |
Money |
getValue()
The Money object is always non-null.
|
java.lang.String |
toString() |
equals, hashCodepublic AccountancyEntry(Money value)
PersistentAccountancyEntry with a specific
value.value - The value that is stored in this entry.public AccountancyEntry(Money value, java.lang.String description)
PersistentAccountancyEntry with a specific
value and a user defined time.value - The value that is stored in this entry.description - A user-supplied description for this entry.public final org.joda.time.DateTime getDate()
DateTime when this entry was posted.public final Money getValue()
public final java.lang.String getDescription()
public final AccountancyEntryIdentifier getIdentifier()
AbstractEntitySalespointIdentifier.getIdentifier in class AbstractEntity<AccountancyEntryIdentifier>AccountancyEntryIdentifier to uniquely identify this
entry.public java.lang.String toString()
toString in class java.lang.Object