net.sf.ofx4j.domain.data.common
Class Transaction

java.lang.Object
  extended by net.sf.ofx4j.domain.data.common.Transaction

public class Transaction
extends java.lang.Object

Author:
Ryan Heaton

Constructor Summary
Transaction()
           
 
Method Summary
 java.lang.Double getAmount()
          The transaction amount.
 BankAccountDetails getBankAccountTo()
          The bank account the transfer was to.
 java.lang.String getCheckNumber()
          The check number.
 CorrectionAction getCorrectionAction()
          The action to take on the corrected transaction.
 java.lang.String getCorrectionId()
          The id of the transaction that this is correcting.
 CreditCardAccountDetails getCreditCardAccountTo()
          The credit-card account the transfer was to.
 Currency getCurrency()
          The currency.
 java.util.Date getDateAvailable()
          The date the funds are available.
 java.util.Date getDateInitiated()
          The date the transaction was initiated.
 java.util.Date getDatePosted()
          The date the transaction was posted.
 java.lang.String getId()
          The transaction id (server-assigned).
 java.lang.String getMemo()
          Notes.
 java.lang.String getName()
          The name (description) or the transaction.
 Currency getOriginalCurrency()
          The original currency.
 Payee getPayee()
          The payee.
 java.lang.String getPayeeId()
          The payee id.
 java.lang.String getReferenceNumber()
          The reference number.
 java.lang.String getStandardIndustrialCode()
          The standard industrial code.
 java.lang.String getTempId()
          The server-assigned temporary id for client-initiated transactions.
 TransactionType getTransactionType()
          The transaction type.
 void setAmount(java.lang.Double amount)
          The transaction amount.
 void setBankAccountTo(BankAccountDetails bankAccountTo)
          The bank account the transfer was to.
 void setCheckNumber(java.lang.String checkNumber)
          The check number.
 void setCorrectionAction(CorrectionAction correctionAction)
          The action to take on the corrected transaction.
 void setCorrectionId(java.lang.String correctionId)
          The id of the transaction that this is correcting.
 void setCreditCardAccountTo(CreditCardAccountDetails creditCardAccountTo)
          The credit-card account the transfer was to.
 void setCurrency(Currency currency)
          The currency.
 void setDateAvailable(java.util.Date dateAvailable)
          The date the funds are available.
 void setDateInitiated(java.util.Date dateInitiated)
          The date the transaction was initiated.
 void setDatePosted(java.util.Date datePosted)
          The date the transaction was posted.
 void setId(java.lang.String id)
          The transaction id (server-assigned).
 void setMemo(java.lang.String memo)
          Notes.
 void setName(java.lang.String name)
          The name (description) or the transaction.
 void setOriginalCurrency(Currency originalCurrency)
          The original currency.
 void setPayee(Payee payee)
          The payee.
 void setPayeeId(java.lang.String payeeId)
          The payee id.
 void setReferenceNumber(java.lang.String referenceNumber)
          The reference number.
 void setStandardIndustrialCode(java.lang.String standardIndustrialCode)
          The standard industrial code.
 void setTempId(java.lang.String tempId)
          The server-assigned temporary id for client-initiated transactions.
 void setTransactionType(TransactionType transactionType)
          The transaction type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transaction

public Transaction()
Method Detail

getTransactionType

public TransactionType getTransactionType()
The transaction type.

Returns:
The transaction type.

setTransactionType

public void setTransactionType(TransactionType transactionType)
The transaction type.

Parameters:
transactionType - The transaction type.

getDatePosted

public java.util.Date getDatePosted()
The date the transaction was posted.

Returns:
The date the transaction was posted.

setDatePosted

public void setDatePosted(java.util.Date datePosted)
The date the transaction was posted.

Parameters:
datePosted - The date the transaction was posted.

getDateInitiated

public java.util.Date getDateInitiated()
The date the transaction was initiated.

Returns:
The date the transaction was initiated.

setDateInitiated

public void setDateInitiated(java.util.Date dateInitiated)
The date the transaction was initiated.

Parameters:
dateInitiated - The date the transaction was initiated.

getDateAvailable

public java.util.Date getDateAvailable()
The date the funds are available.

Returns:
The date the funds are available.

setDateAvailable

public void setDateAvailable(java.util.Date dateAvailable)
The date the funds are available.

Parameters:
dateAvailable - The date the funds are available.

getAmount

public java.lang.Double getAmount()
The transaction amount.

Returns:
The transaction amount.

setAmount

public void setAmount(java.lang.Double amount)
The transaction amount.

Parameters:
amount - The transaction amount.

getId

public java.lang.String getId()
The transaction id (server-assigned).

Returns:
The transaction id (server-assigned).

setId

public void setId(java.lang.String id)
The transaction id (server-assigned).

Parameters:
id - The transaction id (server-assigned).

getCorrectionId

public java.lang.String getCorrectionId()
The id of the transaction that this is correcting.

Returns:
The id of the transaction that this is correcting.

setCorrectionId

public void setCorrectionId(java.lang.String correctionId)
The id of the transaction that this is correcting.

Parameters:
correctionId - The id of the transaction that this is correcting.

getCorrectionAction

public CorrectionAction getCorrectionAction()
The action to take on the corrected transaction.

Returns:
The action to take on the corrected transaction.

setCorrectionAction

public void setCorrectionAction(CorrectionAction correctionAction)
The action to take on the corrected transaction.

Parameters:
correctionAction - The action to take on the corrected transaction.

getTempId

public java.lang.String getTempId()
The server-assigned temporary id for client-initiated transactions.

Returns:
The server-assigned temporary id for client-initiated transactions.

setTempId

public void setTempId(java.lang.String tempId)
The server-assigned temporary id for client-initiated transactions.

Parameters:
tempId - The server-assigned temporary id for client-initiated transactions.

getCheckNumber

public java.lang.String getCheckNumber()
The check number.

Returns:
The check number.

setCheckNumber

public void setCheckNumber(java.lang.String checkNumber)
The check number.

Parameters:
checkNumber - The check number.

getReferenceNumber

public java.lang.String getReferenceNumber()
The reference number.

Returns:
The reference number.

setReferenceNumber

public void setReferenceNumber(java.lang.String referenceNumber)
The reference number.

Parameters:
referenceNumber - The reference number.

getStandardIndustrialCode

public java.lang.String getStandardIndustrialCode()
The standard industrial code.

Returns:
The standard industrial code.

setStandardIndustrialCode

public void setStandardIndustrialCode(java.lang.String standardIndustrialCode)
The standard industrial code.

Parameters:
standardIndustrialCode - The standard industrial code.

getPayeeId

public java.lang.String getPayeeId()
The payee id.

Returns:
The payee id.

setPayeeId

public void setPayeeId(java.lang.String payeeId)
The payee id.

Parameters:
payeeId - The payee id.

getName

public java.lang.String getName()
The name (description) or the transaction.

Returns:
The name (description) or the transaction.

setName

public void setName(java.lang.String name)
The name (description) or the transaction.

Parameters:
name - The name (description) or the transaction.

getPayee

public Payee getPayee()
The payee.

Returns:
The payee.

setPayee

public void setPayee(Payee payee)
The payee.

Parameters:
payee - The payee.

getBankAccountTo

public BankAccountDetails getBankAccountTo()
The bank account the transfer was to.

Returns:
The bank account the transfer was to.

setBankAccountTo

public void setBankAccountTo(BankAccountDetails bankAccountTo)
The bank account the transfer was to.

Parameters:
bankAccountTo - The bank account the transfer was to.

getCreditCardAccountTo

public CreditCardAccountDetails getCreditCardAccountTo()
The credit-card account the transfer was to.

Returns:
The credit-card account the transfer was to.

setCreditCardAccountTo

public void setCreditCardAccountTo(CreditCardAccountDetails creditCardAccountTo)
The credit-card account the transfer was to.

Parameters:
creditCardAccountTo - The credit-card account the transfer was to.

getMemo

public java.lang.String getMemo()
Notes.

Returns:
Notes.

setMemo

public void setMemo(java.lang.String memo)
Notes.

Parameters:
memo - Notes.

getCurrency

public Currency getCurrency()
The currency.

Returns:
The currency.

setCurrency

public void setCurrency(Currency currency)
The currency.

Parameters:
currency - The currency.

getOriginalCurrency

public Currency getOriginalCurrency()
The original currency.

Returns:
The original currency.

setOriginalCurrency

public void setOriginalCurrency(Currency originalCurrency)
The original currency.

Parameters:
originalCurrency - The original currency.


Copyright © 2008. All Rights Reserved.