|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.moneydance.apps.md.model.OnlinePaymentList
public class OnlinePaymentList
This class contains a set of payments that are used for online bill-payment. This information is very fluid and the structure will probably change, so all of the information is represented a StreamTable/Vector structure that can easily be serialized and deserialized from the data file.
Constructor Summary | |
---|---|
OnlinePaymentList(StreamTable info)
|
Method Summary | |
---|---|
void |
addListener(OnlinePaymentListener listener)
|
void |
addNewPayment(OnlinePayment payment)
Adds the specified payment to the payment list. |
void |
clearAllPayments()
Remove all payments from the list (so that they can be resynchronized from the server. |
void |
clearOldPayments()
Removes all payments that have been processed over 30 days ago. |
StreamTable |
getInfo()
Should only be called from the io.*Writer classes for saving info in a file. |
OnlinePayment |
getPayment(int i)
Get a service object for the service at the specified index. |
OnlinePayment |
getPaymentByID(java.lang.String id)
|
int |
getPaymentCount()
Get the number of online services that the user has access to. |
java.lang.String |
getPaymentListSyncToken()
|
int |
indexOf(OnlinePayment payment)
returns the index of the given payment in the list of payments, or -1 if the payment is not in the list. |
OnlinePayment |
newPayment(OnlinePayee payee)
This creates a new payment that is associated with this list and the specified payee. |
void |
removeListener(OnlinePaymentListener listener)
|
void |
removePayment(int i)
Remove the payment object at the specified index. |
boolean |
removePayment(OnlinePayment payment)
Remove the given payment object from the list. |
void |
setDirty()
Causes all listeners to the list to be notified that the payment list has changed. |
void |
setPaymentListSyncToken(java.lang.String syncToken)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OnlinePaymentList(StreamTable info)
Method Detail |
---|
public StreamTable getInfo()
public void clearAllPayments()
public java.lang.String getPaymentListSyncToken()
public void setPaymentListSyncToken(java.lang.String syncToken)
public int getPaymentCount()
public OnlinePayment getPaymentByID(java.lang.String id)
public OnlinePayment getPayment(int i)
public int indexOf(OnlinePayment payment)
public void removePayment(int i)
public boolean removePayment(OnlinePayment payment)
public OnlinePayment newPayment(OnlinePayee payee)
public void addNewPayment(OnlinePayment payment)
public void clearOldPayments()
public void addListener(OnlinePaymentListener listener)
public void removeListener(OnlinePaymentListener listener)
public void setDirty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |