net.sf.bacchus.records
Class WebPayment

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<Record>
          extended by net.sf.bacchus.records.AbstractDetail
              extended by net.sf.bacchus.records.AbstractInfoDetail
                  extended by net.sf.bacchus.records.Payment
                      extended by net.sf.bacchus.records.WebPayment
All Implemented Interfaces:
Iterable<Record>, Collection<Record>, List<Record>, Detail, Record

public class WebPayment
extends Payment

A WEB-specific Payment records. The discretionary field is renamed to payment type and is required to contain either R for recurring payments or S for a single payment.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.bacchus.records.AbstractInfoDetail
AbstractInfoDetail.OptionalInfo
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Fields inherited from interface net.sf.bacchus.Detail
DETAIL_RECORD, HAS_ADDENDA, NO_ADDENDA
 
Fields inherited from interface net.sf.bacchus.Record
ACH_RECORD_SIZE, BASE_TEN, FILLER
 
Constructor Summary
WebPayment()
           
 
Method Summary
 String getPaymentType()
          Aliases AbstractDetail.getDiscretionary().
 void setPaymentType(String paymentType)
          Aliases AbstractDetail.setDiscretionary(String).
 void validate()
          Validates the detail record and all the addenda records.
 
Methods inherited from class net.sf.bacchus.records.Payment
build, getIdentification, getReceiverName, load, normalize, setIdentification, setReceiverName
 
Methods inherited from class net.sf.bacchus.records.AbstractInfoDetail
getAddenda, getInfo
 
Methods inherited from class net.sf.bacchus.records.AbstractDetail
format, get, getAccount, getAddendaIndicator, getAmount, getDiscretionary, getOdfi, getRdfi, getRdfiCheck, getRecordType, getSequence, getTraceNumber, getTransactionType, isEmpty, setAccount, setAddendaIndicator, setAmount, setDiscretionary, setOdfi, setRdfi, setRdfiCheck, setRecordType, setSequence, setTraceNumber, setTransactionType, size
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray
 

Constructor Detail

WebPayment

public WebPayment()
Method Detail

getPaymentType

public String getPaymentType()
Aliases AbstractDetail.getDiscretionary().

Returns:
the payment type code.

setPaymentType

public void setPaymentType(String paymentType)
Aliases AbstractDetail.setDiscretionary(String).

Parameters:
paymentType - the payment type code.

validate

public void validate()
              throws InvalidRecordException
Validates the detail record and all the addenda records.

Specified by:
validate in interface Record
Overrides:
validate in class AbstractDetail
Throws:
InvalidRecordException - if the record is not valid.


Copyright © 2008-2009 Bacchus Development Team. All Rights Reserved.