Skip to content

Commit

Permalink
thunderpay-api: billing[util(entity - Pagination)]
Browse files Browse the repository at this point in the history
  • Loading branch information
krishpranav committed Jan 8, 2025
1 parent 2ba41f9 commit 0f353f8
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* @file Pagination.java
* @author Krisna Pranav
* @brief Pagination
* @version 1.0
* @date 2024-11-25
*
* @copyright Copyright (c) 2024 ThunderPayment Developers, Krisna Pranav
*
*/

package org.thunderpay.billing.util.entity;

import java.io.Closeable;

public interface Pagination<T> extends Iterable<T>, Closeable {
public Long getCurrentOffset();

public Long getNextOffset();

public Long getMaxNbRecords();

public Long getTotalNbRecords();
}

0 comments on commit 0f353f8

Please sign in to comment.