# Interface ReceiptStore

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `fetchReceipts(SuccessCallback<Receipt[]> callback)`
  Load receipts from the data source.
  `void`
  `submitReceipt(Receipt receipt, SuccessCallback<Boolean> callback)`
  Submits a receipt to the data source.

- ## 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`