|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The ReceiptsStore is a temporary thing. We probably need one object to hold Pending and Final details, and to provide some sort of state.
| Method Summary | |
void |
addPendingReceipt(PendingReceipt pending,
AccountId acct)
|
void |
addReceipt(Receipt receipt,
AccountId acct)
|
long |
confirmedValue(AccountId acct,
ItemId item)
|
PendingReceipt[] |
getPendingReceipts(AccountId acct,
ItemId item)
|
StateReceipt |
getReceipt(AccountId acct,
ItemId item,
java.lang.String pid)
StateReceipt is a first cut at an internal state object to carry the transaction through. |
Receipt[] |
getReceipts(AccountId acct,
ItemId item)
|
boolean |
isChanged(AccountId acct)
checks what? |
boolean |
isChanged(AccountId acct,
ItemId item)
checks what? |
long |
pendingValue(AccountId acct,
ItemId item)
What this returns is peculiar. |
| Method Detail |
public void addReceipt(Receipt receipt,
AccountId acct)
throws StoreException
public Receipt[] getReceipts(AccountId acct,
ItemId item)
throws StoreException
public void addPendingReceipt(PendingReceipt pending,
AccountId acct)
throws StoreException
public PendingReceipt[] getPendingReceipts(AccountId acct,
ItemId item)
throws StoreException
public StateReceipt getReceipt(AccountId acct,
ItemId item,
java.lang.String pid)
throws StoreException
public boolean isChanged(AccountId acct)
public boolean isChanged(AccountId acct,
ItemId item)
public long confirmedValue(AccountId acct,
ItemId item)
throws StoreException
public long pendingValue(AccountId acct,
ItemId item)
throws StoreException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||