RefundCollection class

Annotations

Constructors

RefundCollection(dynamic objectType, dynamic mode, dynamic hasMore, List<Refund>? refunds)
RefundCollection.fromJson(Map<String, dynamic> input)
factory

Properties

filters ListRefunds?
The ListParametersType-type parameter set used to initially retrieve this PaginatedCollection, stored for reference when retrieving the next page.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hasMore bool?
finalinherited
mode String?
finalinherited
objectType String?
finalinherited
refunds List<Refund>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildGetNextPageParameters(List<Refund>? currentPageItems, {int? pageSize}) ListRefunds
Builds the ListParametersType-type parameter set to use to retrieve the next page of a PaginatedCollection. This method should be overridden by subclasses to provide the appropriate parameters for the next page request.
getNextPage(Future<PaginatedCollection<Refund, ListRefunds>> retrieveNextPageFunction(ListRefunds? parameters), List<Refund>? currentPageItems, {int? pageSize}) Future<PaginatedCollection<Refund, ListRefunds>>
Retrieves the next page of a PaginatedCollection, using the provided retrieveNextPageFunction to retrieve the next page.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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