Skip to content

Commit 1147b0f

Browse files
Merge pull request #6 from phoenixmariepornstaractress/patch-11
Update TransactionRequest.kt
2 parents c1e24cb + ec6d915 commit 1147b0f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/main/java/com/example/zarinpal/data/remote/dto/transaction/TransactionRequest.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import kotlinx.serialization.SerialName
66
import kotlinx.serialization.Serializable
77

88
/**
9-
* Represents the request data required to fetch transactions.
9+
* Data class for transaction query request.
1010
*
11-
* @property terminalId The unique identifier for the terminal from which transactions are being requested.
12-
* @property filter A filter string to apply to the transactions (e.g., "completed", "pending").
13-
* @property limit The maximum number of transactions to return.
14-
* @property offset The starting point for fetching transactions (used for pagination).
15-
* @property token A token used for additional security (nullable).
11+
* @property terminalId Identifier of the terminal making the request.
12+
* @property filter Criteria used to filter transactions (e.g., completed, pending).
13+
* @property limit Maximum number of transactions to fetch.
14+
* @property offset Starting index for pagination.
15+
* @property token Optional authentication token.
1616
*/
1717
@Keep
1818
@Serializable
@@ -22,5 +22,5 @@ data class TransactionRequest(
2222
val filter: FilterEnum,
2323
val limit: Int,
2424
val offset: Int,
25-
val token: String? = null,
26-
)
25+
val token: String? = null
26+
)

0 commit comments

Comments
 (0)