Interface ReceiptStore
public interface ReceiptStore
Interface that can be implemented to provide store of receipts.
-
Method Summary
Modifier and TypeMethodDescriptionvoidfetchReceipts(SuccessCallback<Receipt[]> callback) Load receipts from the data source.voidsubmitReceipt(Receipt receipt, SuccessCallback<Boolean> callback) Submits a receipt to the data source.
-
Method Details
-
fetchReceipts
Load receipts from the data source.
Parameters
callback
-
submitReceipt
Submits a receipt to the data source.
Parameters
-
receipt -
callback
-
-