SearchOrdersResponse class

Inheritance
Annotations
  • @JsonSerializable()

Constructors

SearchOrdersResponse({List<OrderEntry>? orderEntries, List<Order>? orders, String? cursor, List<SquareError>? errors})
const
SearchOrdersResponse.fromJson(Map<String, dynamic> json)
Converts a Map to an SearchOrdersResponse
factory

Properties

cursor String?
The pagination cursor to be used in a subsequent request. If unset, this is the final response.
final
errors List<SquareError>?
Errors encountered during the request.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
orderEntries List<OrderEntry>?
A list of OrderEntries that fit the query conditions. The list is populated only if return_entries is set to true in the request.
final
orders List<Order>?
A list of Order objects that match the query conditions. The list is populated only if return_entries is set to false in the request.
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() Map<String, dynamic>
Converts a SearchOrdersResponse to a Map
toString() String
A string representation of this object.
inherited

Operators

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