net.sf.bacchus.records
Class WebPayment
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Record>
net.sf.bacchus.records.AbstractDetail
net.sf.bacchus.records.AbstractInfoDetail
net.sf.bacchus.records.Payment
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.
| 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 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 |
WebPayment
public WebPayment()
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.