From 0f353f8315183b0161fac0f7fff0fc770c525ecc Mon Sep 17 00:00:00 2001 From: Krisna Pranav <68631244+krishpranav@users.noreply.github.com> Date: Wed, 8 Jan 2025 18:50:21 +0530 Subject: [PATCH] thunderpay-api: billing[util(entity - Pagination)] --- .../billing/util/entity/Pagination.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 thunderpay-api/src/main/java/org/thunderpay/billing/util/entity/Pagination.java 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