RetrieveTokenStatusResponse class

Inheritance
Annotations
  • @JsonSerializable()

Constructors

RetrieveTokenStatusResponse({String? clientId, String? expiresAt, String? merchantId, List<String>? scopes, List<SquareError>? errors})
const
RetrieveTokenStatusResponse.fromJson(Map<String, dynamic> json)
Converts a Map to an RetrieveTokenStatusResponse
factory

Properties

clientId String?
The Square-issued application ID associated with the access token. This is the same application ID used to obtain the token.
final
errors List<SquareError>?
Errors encountered during the request.
finalinherited
expiresAt String?
The date and time when the access_token expires, in RFC 3339 format. Empty if token never expires.
final
hashCode int
The hash code for this object.
no setterinherited
merchantId String?
The ID of the authorizing merchant's business.
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
scopes List<String>?
The list of scopes associated with an access token.
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 RetrieveTokenStatusResponse to a Map
toString() String
A string representation of this object.
inherited

Operators

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