BraintreePaginatedResult

The Paid Memberships Pro Braintree PaginatedResult class.

Defined (1)

The class is defined in the following location(s).

/includes/lib/Braintree/lib/Braintree/PaginatedResult.php  
  1. class PaginatedResult 
  2. private $_totalItems; 
  3. private $_pageSize; 
  4. private $_currentPage; 
  5.  
  6. public function __construct($totalItems, $pageSize, $currentPage) 
  7. $this->_totalItems = $totalItems; 
  8. $this->_pageSize = $pageSize; 
  9. $this->_currentPage = $currentPage; 
  10.  
  11. public function getTotalItems() 
  12. return $this->_totalItems; 
  13.  
  14. public function getPageSize() 
  15. return $this->_pageSize; 
  16.  
  17. public function getCurrentPage() 
  18. return $this->_currentPage;