|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface PaymentTransaction
A PaymentTransaction
is an Entity EJB that maintains the state
of an individual Credit Card transaction. This includes the credit card,
amount, status, and date of last modification. It also maintains a journal
of the actions in the form of TransactionEntry
objects taken as
the transaction is moved through authorization, capture, and settlement.
The transaction workflow is dictated by the PaymentWorkflow
state
machine.
PaymentTransactionPk
,
PaymentTransactionHome
,
PaymentTransactionValue
,
TransactionEntry
,
PaymentWorkflow
Method Summary | |
---|---|
boolean |
addTransactionEntry(TransactionEntry element)
Deprecated Adds a new TransactionEntry to the journal. |
boolean |
addTransactionEntryCollection(Collection collection)
Deprecated Adds all of the TransactionEntries to the journal. |
void |
authorize()
Deprecated Change the state of the payment transaction by applying the authorize event. |
void |
clearTransactionEntryCollection()
Deprecated Removes all of the transaction entries from the journal. |
boolean |
containsTransactionEntry(TransactionEntry element)
Deprecated Returns true if this collection contains the specified element. |
boolean |
containsTransactionEntryCollection(Collection c)
Deprecated Returns true if this collection contains all of the elements in the specified collection. |
boolean |
equalsTransactionEntryCollection(Object object)
Deprecated Compares the specified object with this collection for equality. |
void |
failRetry()
Deprecated Change the state of the payment transaction by applying the failRetry event. |
void |
failSettle()
Deprecated Change the state of the payment transaction by applying the failSettle event. |
String |
getBatchId()
Deprecated Get the value of the identifier for the batch in which this Payment was settled. |
com.beasys.commerce.axiom.contact.CreditCard |
getCreditCard()
Deprecated Get the credit card information associated with the transaction. |
PaymentTransactionValue |
getPaymentTransactionByValue()
Deprecated Retrieve a local copy of all of the public attributes in the form of a PaymentTransactionValue object. |
String |
getStatus()
Deprecated Retrieve the status of this payment. |
Price |
getTransactionAmount()
Deprecated Get the amount of the transaction. |
Date |
getTransactionDate()
Deprecated Get the date that the transaction was last updated. |
Collection |
getTransactionEntryCollection()
Deprecated Returns a history of the modifications to this transaction. |
String |
getTransactionId()
Deprecated Get the transaction's identifier. |
boolean |
isTransactionEntryCollectionEmpty()
Deprecated Returns true if this collection contains no elements. |
void |
markForSettle()
Deprecated Change the state of the payment transaction by applying the markForSettle event. |
void |
pendingSettle()
Deprecated Change the state of the payment transaction by applying the pendingSettle event. |
void |
queryFail()
Deprecated Change the state of the payment transaction by applying the queryFail event. |
void |
querySuccess()
Deprecated Change the state of the payment transaction by applying the querySuccess event. |
void |
reject()
Deprecated Change the state of the payment transaction by applying the reject event. |
boolean |
removeTransactionEntry(TransactionEntry element)
Deprecated Removes a single instance of the specified element from this collection, if it is present (optional operation). |
boolean |
removeTransactionEntryCollection(Collection collection)
Deprecated Removes all this collection's elements that are also contained in the specified collection (optional operation). |
boolean |
retainTransactionEntryCollection(Collection collection)
Deprecated Retains only the elements in this collection that are contained in the specified collection (optional operation). |
void |
setBatchId(String batchId)
Deprecated Set the value of the identifier for the batch in which this Payment was settled. |
void |
setCreditCard(com.beasys.commerce.axiom.contact.CreditCard creditCard)
Deprecated Set the credit card information associated with the transaction |
void |
setPaymentTransactionByValue(PaymentTransactionValue value)
Deprecated Update all of the public attributes of a PaymentTransaction with a single method invocation. |
void |
settle()
Deprecated Change the state of the payment transaction by applying the settle event. |
void |
setTransactionAmount(Price transactionAmount)
Deprecated Set the amount of the transaction. |
void |
setTransactionDate(Date transactionDate)
Deprecated Set the modification date for the PaymentTransaction |
void |
setTransactionEntryCollection(Collection collection)
Deprecated Update the journal of the modifications for this transaction. |
void |
systemFailure()
Deprecated Change the state of the payment transaction by applying the systemFailure event. |
int |
transactionEntryCollectionHashCode()
Deprecated Returns the hash code value for this collection. |
int |
transactionEntryCollectionSize()
Deprecated Returns the number of elements in this collection. |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Methods inherited from interface com.beasys.commerce.foundation.RemoteRelationalReference |
---|
get__classIdentifier, get__containingBelonging, get__containingEntity, get__mapKey, get__sequenceNumber, set__containingBelonging, set__containingEntity, set__mapKey |
Method Detail |
---|
PaymentTransactionValue getPaymentTransactionByValue() throws RemoteException
PaymentTransactionValue
object. This reduces the number of remote
method invocations needed to retrieve all of the information associated with this Entity.
RemoteException
- On remote error.void setPaymentTransactionByValue(PaymentTransactionValue value) throws RemoteException
PaymentTransactionValue
- the PaymentTransaction value object
RemoteException
- On remote error.String getTransactionId() throws RemoteException
PaymentTransactionValue
- the PaymentTransaction value object
RemoteException
- On remote error.com.beasys.commerce.axiom.contact.CreditCard getCreditCard() throws RemoteException
RemoteException
- On remote error.void setCreditCard(com.beasys.commerce.axiom.contact.CreditCard creditCard) throws RemoteException
creditCard
- the new credit card information
RemoteException
- On remote error.Date getTransactionDate() throws RemoteException
RemoteException
- On remote error.void setTransactionDate(Date transactionDate) throws RemoteException
transactionDate
- the transaction date to be set.
RemoteException
- On remote error.Collection getTransactionEntryCollection() throws RemoteException
TransactionEntry
objects.
RemoteException
- On remote error.void setTransactionEntryCollection(Collection collection) throws RemoteException
collection
- a collection of TransactionEntry
objects.
RemoteException
- On remote error.boolean addTransactionEntry(TransactionEntry element) throws RemoteException
element
- The Transaction entry to add.
RemoteException
- On remote error.boolean addTransactionEntryCollection(Collection collection) throws RemoteException
collection
- a collection of TransactionEntry
objects.
RemoteException
- On remote error.void clearTransactionEntryCollection() throws RemoteException
RemoteException
- On remote error.boolean containsTransactionEntry(TransactionEntry element) throws RemoteException
RemoteException
boolean containsTransactionEntryCollection(Collection c) throws RemoteException
RemoteException
boolean equalsTransactionEntryCollection(Object object) throws RemoteException
RemoteException
int transactionEntryCollectionHashCode() throws RemoteException
RemoteException
boolean isTransactionEntryCollectionEmpty() throws RemoteException
RemoteException
boolean removeTransactionEntry(TransactionEntry element) throws RemoteException
RemoteException
boolean removeTransactionEntryCollection(Collection collection) throws RemoteException
RemoteException
boolean retainTransactionEntryCollection(Collection collection) throws RemoteException
RemoteException
int transactionEntryCollectionSize() throws RemoteException
RemoteException
String getBatchId() throws RemoteException
RemoteException
void setBatchId(String batchId) throws RemoteException
batchId
- batchId to be added
RemoteException
String getStatus() throws RemoteException
PaymentWorkflow
RemoteException
Price getTransactionAmount() throws RemoteException
RemoteException
void setTransactionAmount(Price transactionAmount) throws RemoteException
transactionAmount
- the amount of the transaction.
RemoteException
void authorize() throws RemoteException, WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
RemoteException
void reject() throws RemoteException, WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
RemoteException
void failSettle() throws RemoteException, WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
RemoteException
void markForSettle() throws RemoteException, WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
RemoteException
void settle() throws RemoteException, WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
RemoteException
void pendingSettle() throws RemoteException, WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
RemoteException
void querySuccess() throws RemoteException, WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
RemoteException
void queryFail() throws RemoteException, WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
RemoteException
void systemFailure() throws RemoteException, WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
RemoteException
void failRetry() throws RemoteException, WorkflowInstantiationException, IllegalWorkflowTransitionException
WorkflowInstantiationException
IllegalWorkflowTransitionException
RemoteException
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |