diff --git a/thunderpay-api/src/main/java/org/thunderpay/billing/util/entity/Pagination.java b/thunderpay-api/src/main/java/org/thunderpay/billing/util/entity/Pagination.java new file mode 100644 index 0000000..9555ebd --- /dev/null +++ b/thunderpay-api/src/main/java/org/thunderpay/billing/util/entity/Pagination.java @@ -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 extends Iterable, Closeable { + public Long getCurrentOffset(); + + public Long getNextOffset(); + + public Long getMaxNbRecords(); + + public Long getTotalNbRecords(); +} \ No newline at end of file