public interface ReceiptStore

Interface that can be implemented to provide store of receipts.

Methods

public abstract void fetchReceipts(SuccessCallback<Receipt[]> callback)Load receipts from the data source.
public abstract void submitReceipt(Receipt receipt, SuccessCallback<Boolean> callback)Submits a receipt to the data source.

Method details

fetchReceipts

public abstract void fetchReceipts(SuccessCallback<Receipt[]> callback)
Load receipts from the data source.

submitReceipt

public abstract void submitReceipt(Receipt receipt, SuccessCallback<Boolean> callback)
Submits a receipt to the data source.