public class PrepaidCardReceiptRepositoryImpl extends java.lang.Object implements PrepaidCardReceiptRepository
Constructor and Description |
---|
PrepaidCardReceiptRepositoryImpl(java.lang.String token) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Cleanup resources when not needed anymore
|
<any> |
getErrors()
Error information, consumer can subscribe of errors occur during data retrieval
|
<any> |
isLoading()
Loading indicator consumer can subscribe to loading of data events
|
<any> |
loadPrepaidCardReceipts()
Load prepaid card receipts information, consumer can subscribe to receipts data changes events
|
void |
refresh()
Refresh and reinitialized receipts
|
void |
retryLoadReceipt()
Reload receipt information, usually invoked when error is raised after the first load and consumer opts to retry
the last operation
|
public PrepaidCardReceiptRepositoryImpl(java.lang.String token)
public <any> loadPrepaidCardReceipts()
PrepaidCardReceiptRepository
loadPrepaidCardReceipts
in interface PrepaidCardReceiptRepository
PrepaidCardReceiptRepository.loadPrepaidCardReceipts()
public <any> isLoading()
PrepaidCardReceiptRepository
isLoading
in interface PrepaidCardReceiptRepository
true
if load receipt is in loading state; false
otherwisePrepaidCardReceiptRepository.isLoading()
public <any> getErrors()
PrepaidCardReceiptRepository
getErrors
in interface PrepaidCardReceiptRepository
PrepaidCardReceiptRepository.getErrors()
public void retryLoadReceipt()
PrepaidCardReceiptRepository
retryLoadReceipt
in interface PrepaidCardReceiptRepository
PrepaidCardReceiptRepository.retryLoadReceipt()
public void refresh()
PrepaidCardReceiptRepository
refresh
in interface PrepaidCardReceiptRepository
public void cleanup()
PrepaidCardReceiptRepository
cleanup
in interface PrepaidCardReceiptRepository