|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.foundation.BelongingImpl com.beasys.commerce.ebusiness.payment.TransactionEntryImpl
This class is the base class of all the payment instrument transaction entries. Payment service specific entites will extend this class in different packages. Thus the creditcard package has a PaylinXCreditCardTransactionEntry that extends TransactionEntry. The com.beasys.commerce.axiom.Price in each TransactionEntry facilitates changing the price of a transaction. Thus a price change to a transaction generates a new transaction entry.
TransactionEntry
,
TransactionEntryHome
,
Serialized FormField Summary | |
Date |
entryDate
The date this entry was made. |
String |
identifier
The primary key for this entity is an identifier generated using internal logic. |
String |
notes
Holds additional information related to a transaction entry. |
String |
serviceProviderCode
Service provider specific response. |
String |
status
Holds the transaction status based on the service provider's response and its mapping to the payment instruments workflow state. |
Price |
transactionAmount
Containment: By Value Multiplicity: 1:1 |
Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
__classIdentifier, __containingBelonging, __containingEntity, __mapKey, __sequenceNumber, _isDirty |
Constructor Summary | |
TransactionEntryImpl()
|
Method Summary | |
int |
compareTo(Object o)
Compare this belonging to another |
Date |
getEntryDate()
Get the value of entryDate |
String |
getIdentifier()
Get the value of identifier |
String |
getNotes()
Get the value of notes |
String |
getServiceProviderCode()
Get the value of serviceProviderCode |
String |
getStatus()
Get the value of status |
Price |
getTransactionAmount()
Get the value of transactionAmount |
String |
interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model |
void |
setByValue(Belonging value)
It is possible to call set-by-value with a superclass. |
void |
setEntryDate(Date entryDate)
Set the value of entryDate |
void |
setIdentifier(String identifier)
Set the value of identifier |
void |
setNotes(String notes)
Set the value of notes |
void |
setServiceProviderCode(String serviceProviderCode)
Set the value of serviceProviderCode |
void |
setStatus(String status)
Set the value of status |
void |
setTransactionAmount(Price transactionAmount)
Set the value of transactionAmount |
Belonging |
value()
value() is a more typesafe implementation of clone() |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.beasys.commerce.foundation.Belonging |
clone, equals |
Field Detail |
public Date entryDate
public String identifier
public String notes
public String serviceProviderCode
public String status
public Price transactionAmount
Constructor Detail |
public TransactionEntryImpl()
Method Detail |
public int compareTo(Object o)
compareTo
in interface Comparable
compareTo
in class BelongingImpl
o
- target object for comparision
public Date getEntryDate()
getEntryDate
in interface TransactionEntry
public String getIdentifier()
getIdentifier
in interface TransactionEntry
public String getNotes()
getNotes
in interface TransactionEntry
public String getServiceProviderCode()
getServiceProviderCode
in interface TransactionEntry
public String getStatus()
getStatus
in interface TransactionEntry
public Price getTransactionAmount()
getTransactionAmount
in interface TransactionEntry
public String interfaceName()
interfaceName
in interface Belonging
public void setByValue(Belonging value)
It is also possible to call set-by-value with a subclass. In this case, the specialized fields in the subclass will be ignored. The overridden fields in the subclass will be populated.
setByValue
in interface Belonging
setByValue
in class BelongingImpl
value
- The Belonging
to use for initialization.public void setEntryDate(Date entryDate)
setEntryDate
in interface TransactionEntry
entryDate
- entryDate to be addedpublic void setIdentifier(String identifier)
setIdentifier
in interface TransactionEntry
identifier
- identifier to be addedpublic void setNotes(String notes)
setNotes
in interface TransactionEntry
notes
- notes to be addedpublic void setServiceProviderCode(String serviceProviderCode)
setServiceProviderCode
in interface TransactionEntry
serviceProviderCode
- serviceProviderCode to be addedpublic void setStatus(String status)
setStatus
in interface TransactionEntry
status
- status to be addedpublic void setTransactionAmount(Price transactionAmount)
setTransactionAmount
in interface TransactionEntry
transactionAmount
- transactionAmount to be addedpublic Belonging value()
value
in interface Belonging
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |