ListCustomerSegmentsResponse class
- Inheritance
-
- Object
- SquareResponse
- ListCustomerSegmentsResponse
- Annotations
-
- @JsonSerializable()
Constructors
-
ListCustomerSegmentsResponse({List<
CustomerSegment> ? segments, String? cursor, List<SquareError> ? errors}) -
const
-
ListCustomerSegmentsResponse.fromJson(Map<
String, dynamic> json) -
Converts a Map to an ListCustomerSegmentsResponse
factory
Properties
- cursor → String?
-
A pagination cursor to be used in subsequent calls to
ListCustomerSegments to retrieve the next set of query results. The cursor
is only present if the request succeeded and additional results are
available.
final
-
errors
→ List<
SquareError> ? -
Errors encountered during the request.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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
-
segments
→ List<
CustomerSegment> ? -
The list of customer segments belonging to the associated Square account.
final
- 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 ListCustomerSegmentsResponse to a Map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited