UserReceiptRepository
public protocol UserReceiptRepository
User receipt repository protocol
-
Returns the list of receipts for the User associated with the authentication token.
Declaration
Swift
func listUserReceipts( offset: Int, limit: Int, completion: @escaping (Result<HyperwalletPageList<HyperwalletReceipt>?, HyperwalletErrorType>) -> Void)
Parameters
offset
The number of records to skip. If no filters are applied, records will be skipped from the beginning (based on default sort criteria). Range is from 0 to {n-1} where n = number of matching records for the query.
limit
The maximum number of records that will be returned per page.
completion
The callback handler of responses from the Hyperwallet platform.