Interface ReceiptStore


public interface ReceiptStore
Interface that can be implemented to provide store of receipts.
  • Method Details

    • fetchReceipts

      void fetchReceipts(SuccessCallback<Receipt[]> callback)

      Load receipts from the data source.

      Parameters
      • callback
    • submitReceipt

      void submitReceipt(Receipt receipt, SuccessCallback<Boolean> callback)

      Submits a receipt to the data source.

      Parameters
      • receipt

      • callback