|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 Form| Field 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 status
public Price transactionAmount
public String serviceProviderCode
| Constructor Detail |
public TransactionEntryImpl()
| Method Detail |
public Date getEntryDate()
getEntryDate in interface TransactionEntrypublic void setEntryDate(Date entryDate)
setEntryDate in interface TransactionEntryentryDate - entryDate to be addedpublic String getIdentifier()
getIdentifier in interface TransactionEntrypublic void setIdentifier(String identifier)
setIdentifier in interface TransactionEntryidentifier - identifier to be addedpublic String getNotes()
getNotes in interface TransactionEntrypublic void setNotes(String notes)
setNotes in interface TransactionEntrynotes - notes to be addedpublic String getStatus()
getStatus in interface TransactionEntrypublic void setStatus(String status)
setStatus in interface TransactionEntrystatus - status to be addedpublic Price getTransactionAmount()
getTransactionAmount in interface TransactionEntrypublic void setTransactionAmount(Price transactionAmount)
setTransactionAmount in interface TransactionEntrytransactionAmount - transactionAmount to be addedpublic String getServiceProviderCode()
getServiceProviderCode in interface TransactionEntrypublic void setServiceProviderCode(String serviceProviderCode)
setServiceProviderCode in interface TransactionEntryserviceProviderCode - serviceProviderCode to be addedpublic Belonging value()
value in interface Belongingpublic String interfaceName()
interfaceName in interface Belongingpublic 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 BelongingsetByValue in class BelongingImplvalue - The Belonging to use for initialization.public int compareTo(Object o)
compareTo in interface ComparablecompareTo in class BelongingImplo - target object for comparision
|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||