com.beasys.commerce.ebusiness.payment
Class PaymentTransactionImpl

java.lang.Object
  extended by com.beasys.commerce.foundation.EntityImpl
      extended by com.beasys.commerce.ebusiness.payment.PaymentTransactionImpl
All Implemented Interfaces
RelationalReference, Serializable, javax.ejb.EnterpriseBean, javax.ejb.EntityBean

Deprecated

@Deprecated
public class PaymentTransactionImpl
extends EntityImpl

This class holds data common to all the transaction types. The PaymentTransactionManager uses this class to pass along to the payment service provider - reqeusts made by the client.

 Primary Key = com.beasys.commerce.ebusiness.payment.PaymentTransactionPk
 

See Also
PaymentTransaction, PaymentTransactionHome, PaymentTransactionValue, Serialized Form

Field Summary
 String batchId
          Deprecated The batchId attribute is populated after a batch-commit request for the transaction has returned successfully.
 com.beasys.commerce.axiom.contact.CreditCard creditCard
          Deprecated  Containment: By Value Multiplicity: 1:1
 WorkflowContext status
          Deprecated  Containment: By Value Multiplicity: 1:1 WORKFLOW
 Workflow statusWorkflow
          Deprecated  
 Price transactionAmount
          Deprecated In case of partial transcation(ie.
 Date transactionDate
          Deprecated The date of the transaction.
 SmartCollectionReference transactionEntry
          Deprecated  Containment: By Value Multiplicity: 0:N Interface: java.util.Collection
 String transactionId
          Deprecated The order of which this transaction is a part.
 
Fields inherited from class com.beasys.commerce.foundation.EntityImpl
__classIdentifier, __containingEntity, __mapKey, __sequenceNumber, _ctx, _environmentNamingContext, _environmentPropertyCache, _isDirty, _smartBMP
 
Constructor Summary
PaymentTransactionImpl()
          Deprecated  
 
Method Summary
 boolean addTransactionEntry(TransactionEntry element)
          Deprecated Ensures that this collection contains the specified element (optional operation).
 boolean addTransactionEntryCollection(Collection collection)
          Deprecated Adds all of the elements in the specified collection to this collection (optional operation).
 void authorize()
          Deprecated  
protected  void bscInitializeAttributes(PaymentTransactionPk paymentTransactionPk)
          Deprecated  
 void clearTransactionEntryCollection()
          Deprecated Removes all of the elements from this collection (optional operation).
 boolean containsTransactionEntry(TransactionEntry element)
          Deprecated Returns true if this collection contains the specified element.
 boolean containsTransactionEntryCollection(Collection collection)
          Deprecated Returns true if this collection contains all of the elements in the specified collection.
 void ejbActivate()
          Deprecated ejbActivate method.
 PaymentTransactionPk ejbCreate(PaymentTransactionPk paymentTransactionPk)
          Deprecated  
 PaymentTransactionPk ejbFindByPrimaryKey(PaymentTransactionPk pk)
          Deprecated  
 Collection ejbFindByStatus(String status)
          Deprecated Finds transactions by status.
 void ejbLoad()
          Deprecated ejbLoad method.
 void ejbPassivate()
          Deprecated ejbPassivate method.
 void ejbPostCreate(PaymentTransactionPk paymentTransactionPk)
          Deprecated  
 void ejbRemove()
          Deprecated ejbRemove method.
 void ejbStore()
          Deprecated ejbStore method.
 boolean equalsTransactionEntryCollection(Object object)
          Deprecated Compares the specified object with this collection for equality.
 void failRetry()
          Deprecated  
 void failSettle()
          Deprecated  
 String getBatchId()
          Deprecated Get the value of batchId
 com.beasys.commerce.axiom.contact.CreditCard getCreditCard()
          Deprecated Get the value of creditCard
 PaymentTransactionValue getPaymentTransactionByValue()
          Deprecated Get all of PaymentTransaction's attributes.
 String getStatus()
          Deprecated Returns the current state name of the com.beasys.commerce.ebusiness.payment.PaymentWorkflow workflow
protected  Workflow getStatusWorkflow()
          Deprecated returns the Workflow status.
 String getStatusWorkflowName()
          Deprecated Returns the workflow classname that status uses.
 Price getTransactionAmount()
          Deprecated Get the value of transactionAmount
 Date getTransactionDate()
          Deprecated Get the value of transactionDate
 Collection getTransactionEntryCollection()
          Deprecated Returns a deep copy of the entire collection
 SmartCollectionReference getTransactionEntryCollectionReference()
          Deprecated Get the SmartCollectionReference for transactionEntry
 String getTransactionId()
          Deprecated  
 boolean isTransactionEntryCollectionEmpty()
          Deprecated Returns true if this collection contains no elements.
 void markForSettle()
          Deprecated  
 void pendingSettle()
          Deprecated  
 void queryFail()
          Deprecated  
 void querySuccess()
          Deprecated  
 void reject()
          Deprecated  
 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 batchId
 void setCreditCard(com.beasys.commerce.axiom.contact.CreditCard creditCard)
          Deprecated Set the value of creditCard
 void setEntityContext(javax.ejb.EntityContext ctx)
          Deprecated setEntityContext method.
 void setPaymentTransactionByValue(PaymentTransactionValue value)
          Deprecated Set all of PaymentTransaction's attributes to the passed in value.
 void settle()
          Deprecated  
 void setTransactionAmount(Price transactionAmount)
          Deprecated Set the value of transactionAmount
 void setTransactionDate(Date transactionDate)
          Deprecated Set the value of transactionDate
 void setTransactionEntryCollection(Collection collection)
          Deprecated Sets the entire collection
 void setTransactionEntryCollectionReference(SmartCollectionReference smartCollectionReference)
          Deprecated Set the SmartCollectionReference for transactionEntry
 void setTransactionId(String value)
          Deprecated  
 void systemFailure()
          Deprecated  
 int transactionEntryCollectionHashCode()
          Deprecated Returns the hash code value for this collection.
 Iterator transactionEntryCollectionIterator()
          Deprecated Returns an iterator over the elements in this collection.
 int transactionEntryCollectionSize()
          Deprecated Returns the number of elements in this collection.
 void unsetEntityContext()
          Deprecated unsetEntityContext method.
 
Methods inherited from class com.beasys.commerce.foundation.EntityImpl
bscInitializeAttributes, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, ejbCreate, ejbFindAll, ejbFindByPrimaryKey, ejbPostCreate, enumerateRelationalBinding, enumerateRelationalBinding, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey, get__sequenceNumber, getEntityContext, getEnvironmentNamingContext, getEnvironmentProperty, getEnvironmentProperty, getEnvironmentPropertyCache, getPersistenceHelperPlugin, getSmartBMP, initSmartBMP, isModified, set__classIdentifier, set__containingBelonging, set__containingEntity, set__containingEntityReference, set__mapKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionId

public String transactionId
Deprecated 
The order of which this transaction is a part.


creditCard

public com.beasys.commerce.axiom.contact.CreditCard creditCard
Deprecated 


transactionDate

public Date transactionDate
Deprecated 
The date of the transaction.


transactionEntry

public SmartCollectionReference transactionEntry
Deprecated 


batchId

public String batchId
Deprecated 
The batchId attribute is populated after a batch-commit request for the transaction has returned successfully. It is then used to query the Payment Service for the results of a settled transaction.


status

public WorkflowContext status
Deprecated 


statusWorkflow

public transient Workflow statusWorkflow
Deprecated 

transactionAmount

public Price transactionAmount
Deprecated 
In case of partial transcation(ie. return, cancel or settlement) this represents remainng transacation amount.

Constructor Detail

PaymentTransactionImpl

public PaymentTransactionImpl()
Deprecated 
Method Detail

getPaymentTransactionByValue

public PaymentTransactionValue getPaymentTransactionByValue()
Deprecated 
Get all of PaymentTransaction's attributes.

Returns
PaymentTransactionValue the PaymentTransaction value object

setPaymentTransactionByValue

public void setPaymentTransactionByValue(PaymentTransactionValue value)
Deprecated 
Set all of PaymentTransaction's attributes to the passed in value. Note: Primary key attributes are not set.

Parameters
PaymentTransactionValue - the PaymentTransaction value object

ejbCreate

public PaymentTransactionPk ejbCreate(PaymentTransactionPk paymentTransactionPk)
                               throws javax.ejb.CreateException
Deprecated 
Throws
javax.ejb.CreateException

bscInitializeAttributes

protected void bscInitializeAttributes(PaymentTransactionPk paymentTransactionPk)
                                throws javax.ejb.CreateException
Deprecated 
Throws
javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(PaymentTransactionPk paymentTransactionPk)
                   throws javax.ejb.CreateException
Deprecated 
Throws
javax.ejb.CreateException

ejbLoad

public void ejbLoad()
             throws javax.ejb.EJBException
Deprecated 
Description copied from class: EntityImpl
ejbLoad method.

Specified by:
ejbLoad in interface javax.ejb.EntityBean
Overrides:
ejbLoad in class EntityImpl
Throws
javax.ejb.EJBException

ejbStore

public void ejbStore()
              throws javax.ejb.EJBException
Deprecated 
Description copied from class: EntityImpl
ejbStore method.

Specified by:
ejbStore in interface javax.ejb.EntityBean
Overrides:
ejbStore in class EntityImpl
Throws
javax.ejb.EJBException

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException
Deprecated 
Description copied from class: EntityImpl
ejbRemove method.

Specified by:
ejbRemove in interface javax.ejb.EntityBean
Overrides:
ejbRemove in class EntityImpl
Throws
javax.ejb.RemoveException

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException
Deprecated 
Description copied from class: EntityImpl
ejbActivate method.

Specified by:
ejbActivate in interface javax.ejb.EntityBean
Overrides:
ejbActivate in class EntityImpl
Throws
javax.ejb.EJBException

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException
Deprecated 
Description copied from class: EntityImpl
ejbPassivate method.

Specified by:
ejbPassivate in interface javax.ejb.EntityBean
Overrides:
ejbPassivate in class EntityImpl
Throws
javax.ejb.EJBException

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
                      throws javax.ejb.EJBException
Deprecated 
Description copied from class: EntityImpl
setEntityContext method.

Specified by:
setEntityContext in interface javax.ejb.EntityBean
Overrides:
setEntityContext in class EntityImpl
Throws
javax.ejb.EJBException

unsetEntityContext

public void unsetEntityContext()
                        throws javax.ejb.EJBException
Deprecated 
Description copied from class: EntityImpl
unsetEntityContext method.

Specified by:
unsetEntityContext in interface javax.ejb.EntityBean
Overrides:
unsetEntityContext in class EntityImpl
Throws
javax.ejb.EJBException

ejbFindByPrimaryKey

public PaymentTransactionPk ejbFindByPrimaryKey(PaymentTransactionPk pk)
                                         throws javax.ejb.FinderException
Deprecated 
Throws
javax.ejb.FinderException

getCreditCard

public com.beasys.commerce.axiom.contact.CreditCard getCreditCard()
Deprecated 
Get the value of creditCard

Returns
creditCard.

setCreditCard

public void setCreditCard(com.beasys.commerce.axiom.contact.CreditCard creditCard)
Deprecated 
Set the value of creditCard

Parameters
creditCard - creditCard to be added

getTransactionDate

public Date getTransactionDate()
Deprecated 
Get the value of transactionDate

Returns
transactionDate.

setTransactionDate

public void setTransactionDate(Date transactionDate)
Deprecated 
Set the value of transactionDate

Parameters
transactionDate - transactionDate to be added

getTransactionEntryCollectionReference

public SmartCollectionReference getTransactionEntryCollectionReference()
Deprecated 
Get the SmartCollectionReference for transactionEntry


setTransactionEntryCollectionReference

public void setTransactionEntryCollectionReference(SmartCollectionReference smartCollectionReference)
Deprecated 
Set the SmartCollectionReference for transactionEntry


getTransactionEntryCollection

public Collection getTransactionEntryCollection()
Deprecated 
Returns a deep copy of the entire collection


setTransactionEntryCollection

public void setTransactionEntryCollection(Collection collection)
Deprecated 
Sets the entire collection


addTransactionEntry

public boolean addTransactionEntry(TransactionEntry element)
Deprecated 
Ensures that this collection contains the specified element (optional operation).


addTransactionEntryCollection

public boolean addTransactionEntryCollection(Collection collection)
Deprecated 
Adds all of the elements in the specified collection to this collection (optional operation).


clearTransactionEntryCollection

public void clearTransactionEntryCollection()
Deprecated 
Removes all of the elements from this collection (optional operation).


containsTransactionEntry

public boolean containsTransactionEntry(TransactionEntry element)
Deprecated 
Returns true if this collection contains the specified element.


containsTransactionEntryCollection

public boolean containsTransactionEntryCollection(Collection collection)
Deprecated 
Returns true if this collection contains all of the elements in the specified collection.


equalsTransactionEntryCollection

public boolean equalsTransactionEntryCollection(Object object)
Deprecated 
Compares the specified object with this collection for equality.


transactionEntryCollectionHashCode

public int transactionEntryCollectionHashCode()
Deprecated 
Returns the hash code value for this collection.


isTransactionEntryCollectionEmpty

public boolean isTransactionEntryCollectionEmpty()
Deprecated 
Returns true if this collection contains no elements.


transactionEntryCollectionIterator

public Iterator transactionEntryCollectionIterator()
Deprecated 
Returns an iterator over the elements in this collection.


removeTransactionEntry

public boolean removeTransactionEntry(TransactionEntry element)
Deprecated 
Removes a single instance of the specified element from this collection, if it is present (optional operation).


removeTransactionEntryCollection

public boolean removeTransactionEntryCollection(Collection collection)
Deprecated 
Removes all this collection's elements that are also contained in the specified collection (optional operation).


retainTransactionEntryCollection

public boolean retainTransactionEntryCollection(Collection collection)
Deprecated 
Retains only the elements in this collection that are contained in the specified collection (optional operation).


transactionEntryCollectionSize

public int transactionEntryCollectionSize()
Deprecated 
Returns the number of elements in this collection.


getBatchId

public String getBatchId()
Deprecated 
Get the value of batchId

Returns
batchId.

setBatchId

public void setBatchId(String batchId)
Deprecated 
Set the value of batchId

Parameters
batchId - batchId to be added

getStatusWorkflowName

public String getStatusWorkflowName()
Deprecated 
Returns the workflow classname that status uses. Currently, this is set to "com.beasys.commerce.ebusiness.payment.PaymentWorkflow". You may override this by extending this class. This method is used internally by the BSCs.


getStatus

public String getStatus()
Deprecated 
Returns the current state name of the com.beasys.commerce.ebusiness.payment.PaymentWorkflow workflow


getStatusWorkflow

protected Workflow getStatusWorkflow()
Deprecated 
returns the Workflow status. If this is null, creates the workflow and resets it.

Throws
WorkflowInstantiationException - could not instantiate workflow

getTransactionId

public String getTransactionId()
Deprecated 

setTransactionId

public void setTransactionId(String value)
Deprecated 

getTransactionAmount

public Price getTransactionAmount()
Deprecated 
Get the value of transactionAmount

Returns
transactionAmount.

setTransactionAmount

public void setTransactionAmount(Price transactionAmount)
Deprecated 
Set the value of transactionAmount

Parameters
transactionAmount - transactionAmount to be added

authorize

public void authorize()
               throws WorkflowInstantiationException,
                      IllegalWorkflowTransitionException
Deprecated 
Throws
WorkflowInstantiationException
IllegalWorkflowTransitionException

reject

public void reject()
            throws WorkflowInstantiationException,
                   IllegalWorkflowTransitionException
Deprecated 
Throws
WorkflowInstantiationException
IllegalWorkflowTransitionException

failSettle

public void failSettle()
                throws WorkflowInstantiationException,
                       IllegalWorkflowTransitionException
Deprecated 
Throws
WorkflowInstantiationException
IllegalWorkflowTransitionException

markForSettle

public void markForSettle()
                   throws WorkflowInstantiationException,
                          IllegalWorkflowTransitionException
Deprecated 
Throws
WorkflowInstantiationException
IllegalWorkflowTransitionException

settle

public void settle()
            throws WorkflowInstantiationException,
                   IllegalWorkflowTransitionException
Deprecated 
Throws
WorkflowInstantiationException
IllegalWorkflowTransitionException

pendingSettle

public void pendingSettle()
                   throws WorkflowInstantiationException,
                          IllegalWorkflowTransitionException
Deprecated 
Throws
WorkflowInstantiationException
IllegalWorkflowTransitionException

querySuccess

public void querySuccess()
                  throws WorkflowInstantiationException,
                         IllegalWorkflowTransitionException
Deprecated 
Throws
WorkflowInstantiationException
IllegalWorkflowTransitionException

queryFail

public void queryFail()
               throws WorkflowInstantiationException,
                      IllegalWorkflowTransitionException
Deprecated 
Throws
WorkflowInstantiationException
IllegalWorkflowTransitionException

systemFailure

public void systemFailure()
                   throws WorkflowInstantiationException,
                          IllegalWorkflowTransitionException
Deprecated 
Throws
WorkflowInstantiationException
IllegalWorkflowTransitionException

failRetry

public void failRetry()
               throws WorkflowInstantiationException,
                      IllegalWorkflowTransitionException
Deprecated 
Throws
WorkflowInstantiationException
IllegalWorkflowTransitionException

ejbFindByStatus

public Collection ejbFindByStatus(String status)
                           throws javax.ejb.FinderException
Deprecated 
Finds transactions by status.

Throws
javax.ejb.FinderException


Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.