AbstractPostBoxPage
, BosPostBoxPage
, SantanderPostBoxPage
, TargoBankPostBoxPage
public interface PostBoxPage<T>
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasNextAccountSheet() |
Returns
true if the PostBox has more accounts sheets/card
billings. |
boolean |
hasNextDocument() |
Returns
true if the PostBox has more accounts sheets/card
billings. |
org.apache.commons.lang3.tuple.Pair<java.util.Date,T> |
nextAccountSheet() |
Returns the next accounts sheet/card billing from the PostBox
|
org.apache.commons.lang3.tuple.Pair<java.util.Date,T> |
nextDocument() |
Returns the next document from the PostBox
|
void |
resetAccountSheetReadPosition() |
Set accountSheet read position back to 0 beginning
|
void |
resetDocumentsReadPosition() |
Set documents read position back to 0 beginning
|
boolean hasNextAccountSheet()
true
if the PostBox has more accounts sheets/card
billings. (In other words, returns true
if nextDocument()
would return an element rather than throwing an exception.)true
if the PostBox has more elementsboolean hasNextDocument()
true
if the PostBox has more accounts sheets/card
billings. (In other words, returns true
if nextDocument()
would return an element rather than throwing an exception.)true
if the PostBox has more elementsorg.apache.commons.lang3.tuple.Pair<java.util.Date,T> nextAccountSheet() throws java.util.NoSuchElementException
java.util.NoSuchElementException
- - if the PostBox has no more elementsorg.apache.commons.lang3.tuple.Pair<java.util.Date,T> nextDocument() throws java.util.NoSuchElementException
java.util.NoSuchElementException
- - if the PostBox has no more elementsvoid resetAccountSheetReadPosition()
void resetDocumentsReadPosition()