# com.beasys.commerce.ebusiness.payment
PaymentTransactionHome Interface

public interface PaymentTransactionHome
extends `SmartEJBHome`

The home interface for the PaymentTransaction entity bean. Use this class to create, remove, and find PaymentTransaction entity beans.

All Superinterfaces
  `EJBHome`, `Remote`, `SmartEJBHome`, `SmartHome`

## Method Summary

`public `PaymentTransaction`` | `create`(`PaymentTransactionPk` paymentTransactionPk) Create a new PaymentTransaction entity bean using the com.beasys.commerce.ebusiness.payment.PaymentTransactionPk.
`public `PaymentTransaction`` | `findByPrimaryKey`(`PaymentTransactionPk` paymentTransactionPk) Find an PaymentTransaction entity bean using the com.beasys.commerce.ebusiness.payment.PaymentTransactionPk.
`public `Collection`` | `findByStatus`(`String` status) Finds transactions by status.

Methods from interface `javax.ejb.`EJBHome``
`getEJBMetaData, getHomeHandle, remove, remove`

## Method Detail

### create(PaymentTransactionPk) Method

    public PaymentTransaction create(PaymentTransactionPk paymentTransactionPk)
         throws CreateException, RemoteException

Create a new PaymentTransaction entity bean using the com.beasys.commerce.ebusiness.payment.PaymentTransactionPk.

#### Exceptions

``CreateException``
``RemoteException``

### findByPrimaryKey(PaymentTransactionPk) Method

    public PaymentTransaction findByPrimaryKey(PaymentTransactionPk paymentTransactionPk)
         throws RemoteException, FinderException

Find an PaymentTransaction entity bean using the com.beasys.commerce.ebusiness.payment.PaymentTransactionPk.

#### Exceptions

``RemoteException``
``FinderException``

### findByStatus(String) Method

    public Collection findByStatus(String status)
         throws RemoteException, FinderException

Finds transactions by status. Valid states are those defined in the `PaymentWorkflow``` state machine.

#### Exceptions

``RemoteException``
``FinderException``