PaymentListQueryParams class

{@template query_payments} before string - A cursor for use in pagination. before is a resource ID that defines your place in the list.

For example, if you make a request and receive 10 resources, starting with some_resource_id, your subsequent call can include before=some_resource_id in order to fetch the previous page of the list.

after string - A cursor for use in pagination. after is a resource ID that defines your place in the list.

For example, if you make a list request and receive 10 resources, ending with some_resource_id, your subsequent call can include after=some_resource_id in order to fetch the next page of the list. {@endtemplate query_payments}

Constructors

PaymentListQueryParams({String before = "", String after = "", int limit = 10})
const
PaymentListQueryParams.fromJson(String source)
factory
PaymentListQueryParams.fromMap(Map<String, dynamic> map)
factory

Properties

after String
A cursor for use in pagination. after is a resource ID that defines your place in the list.
final
before String
A cursor for use in pagination. before is a resource ID that defines your place in the list.
final
hashCode int
The hash code for this object.
no setterinherited
limit int
Limit of resources to return. If not passed, the default limit is 10.
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

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

Operators

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