com.ail.financial
Class DirectDebit

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.financial.PaymentMethod
          extended by com.ail.financial.DirectDebit
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class DirectDebit
extends PaymentMethod

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
DirectDebit()
           
DirectDebit(java.lang.String accountNumber, java.lang.String sortCode)
           
 
Method Summary
 java.lang.String getAccountNumber()
          Getter returning the value of the accountNumber property.
 java.lang.String getSortCode()
          Getter returning the value of the sortCode property.
 void setAccountNumber(java.lang.String accountNumber)
          Setter to update the value of the accountNumber property.
 void setSortCode(java.lang.String sortCode)
          Setter to update the value of the sortCode property.
 
Methods inherited from class com.ail.core.Type
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectDebit

public DirectDebit()

DirectDebit

public DirectDebit(java.lang.String accountNumber,
                   java.lang.String sortCode)
Method Detail

getAccountNumber

public java.lang.String getAccountNumber()
Getter returning the value of the accountNumber property. The bank account's number

Returns:
Value of the accountNumber property

setAccountNumber

public void setAccountNumber(java.lang.String accountNumber)
Setter to update the value of the accountNumber property. The bank account's number

Parameters:
accountNumber - New value for the accountNumber property

getSortCode

public java.lang.String getSortCode()
Getter returning the value of the sortCode property. The account's sort code

Returns:
Value of the sortCode property

setSortCode

public void setSortCode(java.lang.String sortCode)
Setter to update the value of the sortCode property. The account's sort code

Parameters:
sortCode - New value for the sortCode property