# com.beasys.commerce.ebusiness.payment
PaymentTransactionValue Class

public class PaymentTransactionValue
extends `SmartValue`

A value object for the PaymentTransaction Entity EJB. The PaymentTransactionValue contains a copy of all of the public attributes of the PaymentTransaction. It is used by the getPaymentTransactionByValue method to retrieve all of the attributes with a single method invocation.

Related Topics

``PaymentTransaction``
``PaymentTransaction.getPaymentTransactionByValue()``
``PaymentTransaction.setPaymentTransactionByValue(PaymentTransactionValue)``

Hierarchy
  `Object`
  `SmartValue`
  `PaymentTransactionValue`

All Implemented Interfaces
  `Serializable`

## Field Summary

`public `String`` | `batchId` The batchId attribute is populated after a batch-commit request for the transaction has returned successfully.
`public `CreditCard`` | `creditCard` The credit card information associated with this transaction.
`public `WorkflowContext`` | `status` The current state of the Payment Transaction as governed by the `PaymentWorkflow```
`public `Price`` | `transactionAmount` The amount of the transaction that remains outstanding.
`public `Date`` | `transactionDate` The date of the transaction.
`public `Collection`` | `transactionEntry` A history of the modifications to this transaction.
`public `String`` | `transactionId` The transaction identifier and primary key of the PaymentTransaction.

## Constructor Summary

PaymentTransactionValue() Only get/setPaymentTransactionByValue methods are allowed to call this constructor.

## Method Summary

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Field Detail

### batchId

    public String batchId

  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.

### creditCard

    public CreditCard creditCard

  The credit card information associated with this transaction.

### status

    public WorkflowContext status

  The current state of the Payment Transaction as governed by the `PaymentWorkflow```

### transactionAmount

    public Price transactionAmount

  The amount of the transaction that remains outstanding.

### transactionDate

    public Date transactionDate

  The date of the transaction.

### transactionEntry

    public Collection transactionEntry

  A history of the modifications to this transaction.

### transactionId

    public String transactionId

  The transaction identifier and primary key of the PaymentTransaction.

## Constructor Detail

### PaymentTransactionValue

    protected PaymentTransactionValue()

  Only get/setPaymentTransactionByValue methods are allowed to call this constructor.