ListTransactionsOptions class

Options for listing and filtering transactions.

This class provides various filtering and pagination options for retrieving transaction lists from Paystack. All parameters are optional and can be combined to create specific queries.

Example usage:

final listOptions = ListTransactionsOptions(
  status: 'success',
  from: DateTime(2023, 1, 1),
  to: DateTime(2023, 12, 31),
  perPage: 50,
  page: 1,
);
Mixed-in types
Annotations
  • @MappableClass.new()

Constructors

ListTransactionsOptions({int? perPage, int? page, int? customer, String? terminalId, String? status, DateTime? from, DateTime? to, int? amount})
Creates a new ListTransactionsOptions instance.
const

Properties

amount int?
Filter by specific transaction amount (in smallest currency unit).
final
copyWith ListTransactionsOptionsCopyWith<ListTransactionsOptions, ListTransactionsOptions, ListTransactionsOptions>
no setterinherited
customer int?
Filter by specific customer ID.
final
from DateTime?
Start date for filtering transactions (inclusive).
final
hashCode int
The hash code for this object.
no setterinherited
page int?
Page number to retrieve (1-based).
final
perPage int?
Number of transactions to return per page.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
Filter by transaction status.
final
terminalId String?
Filter by specific terminal ID for POS transactions.
final
to DateTime?
End date for filtering transactions (inclusive).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
inherited
toMap() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited