|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.beasys.commerce.ebusiness.payment.TransactionResponse
@Deprecated public class TransactionResponse
A TransactionResponse is returned by the business methods of the CreditCardService.
It provides convenient access to the date, identifier, and status of the payment as well as a handle
to the persistent PaymentTransaction associated with the transaction identifier. Additionally,
it contains all service provider results in the form of a hash table of name value pairs.
PaymentTransaction,
Serialized Form| Field Summary | |
|---|---|
javax.ejb.Handle |
paymentTransactionHandle
Deprecated See BEA Commerce product offering |
Price |
transactionAmount
Deprecated See BEA Commerce product offering |
Date |
transactionDate
Deprecated See BEA Commerce product offering |
String |
transactionId
Deprecated See BEA Commerce product offering |
int |
transactionStatus
Deprecated See BEA Commerce product offering |
| Fields inherited from interface com.beasys.commerce.ebusiness.payment.TransactionResponseConstants |
|---|
ACTION, AUTHORIZATION_FAILED, AUTHORIZED, CAPTURE_ERROR, CONFIGURATION_ERROR, CREDITCARD_INVALID, EXCEPTION, FAILURE, GENERAL_SERVICE_ERROR, MARKEDFORSETTLE, NOSTATUS, OK, PENDINGSETTLE, REJECTED, RETRY, ROLLBACK, SERVICE_UNAVAILABLE_ERROR, SETTLE_ERROR, SETTLED, SETTLEFAILED, SYSTEM_ERROR |
| Constructor Summary | |
|---|---|
TransactionResponse()
Deprecated See BEA Commerce product offering |
|
| Method Summary | |
|---|---|
Hashtable |
getAllResults()
Deprecated See BEA Commerce product offering |
javax.ejb.Handle |
getPaymentTransactionHandle()
Deprecated See BEA Commerce product offering |
String |
getStatusString(int i)
Deprecated See BEA Commerce product offering |
Price |
getTransactionAmount()
Deprecated See BEA Commerce product offering |
Date |
getTransactionDate()
Deprecated See BEA Commerce product offering |
String |
getTransactionId()
Deprecated See BEA Commerce product offering |
String |
getTransactionResult(String hashKey)
Deprecated See BEA Commerce product offering |
int |
getTransactionStatus()
Deprecated See BEA Commerce product offering |
void |
putTransactionResult(String hashKey,
String value)
Deprecated See BEA Commerce product offering |
void |
setAllResults(Hashtable newResults)
Deprecated See BEA Commerce product offering |
void |
setPaymentTransactionHandle(javax.ejb.Handle paymentTransactionHandle)
Deprecated See BEA Commerce product offering |
void |
setTransactionAmount(Price transactionAmount)
Deprecated See BEA Commerce product offering |
void |
setTransactionDate(Date transactionDate)
Deprecated See BEA Commerce product offering |
void |
setTransactionId(String transactionId)
Deprecated See BEA Commerce product offering |
void |
setTransactionStatus(int transactionStatus)
Deprecated See BEA Commerce product offering |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Date transactionDate
public String transactionId
public int transactionStatus
public Price transactionAmount
public javax.ejb.Handle paymentTransactionHandle
PaymentTransaction for which this response was generated.
| Constructor Detail |
|---|
public TransactionResponse()
| Method Detail |
|---|
public Date getTransactionDate()
public void setTransactionDate(Date transactionDate)
transactionDate - transactionDate to be addedpublic String getTransactionId()
public void setTransactionId(String transactionId)
transactionId - transactionId to be addedpublic int getTransactionStatus()
public void setTransactionStatus(int transactionStatus)
transactionStatus - transactionStatus to be addedpublic Price getTransactionAmount()
public void setTransactionAmount(Price transactionAmount)
transactionAmount - transactionAmount to be addedpublic javax.ejb.Handle getPaymentTransactionHandle()
public void setPaymentTransactionHandle(javax.ejb.Handle paymentTransactionHandle)
paymentTransactionHandle - paymentTransactionHandle to be addedpublic String getTransactionResult(String hashKey)
public void putTransactionResult(String hashKey,
String value)
hashKey - hashKey to be added to resultsvalue - value to be added to resultspublic Hashtable getAllResults()
public void setAllResults(Hashtable newResults)
public String getStatusString(int i)
i - The status code.
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||