Payments Overview
constructor(transactions: List<Transaction>, totalPages: Int, currentPage: Int, isLast: Boolean, isFirst: Boolean)
Parameters
transactions
a list of Transaction objects to be displayed
total Pages
the total number of pages the transactions are split into on backend
current Page
the current page number
is Last
flag indicating if the current page is the last on the backend
is First
flag indicating if the current page is the first on the backend