SchemasCommercePayerResponse class

Constructors

SchemasCommercePayerResponse({required SchemasCommercePayerResponseObjectEnum object, required String id, required String instanceId, String? userId, required String firstName, required String lastName, required String email, String? organizationId, String? organizationName, required String imageUrl, required int createdAt, required int updatedAt})
Returns a new SchemasCommercePayerResponse instance.

Properties

createdAt int
Unix timestamp (in milliseconds) when the payer was created.
getter/setter pair
email String
Email address of the payer.
getter/setter pair
firstName String
First name of the payer.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
Unique identifier for the payer.
getter/setter pair
imageUrl String
URL of the payer's image/avatar.
getter/setter pair
instanceId String
Unique identifier for the Clerk instance.
getter/setter pair
lastName String
Last name of the payer.
getter/setter pair
object SchemasCommercePayerResponseObjectEnum
String representing the object's type. Objects of the same type share the same value.
getter/setter pair
organizationId String?
Organization ID for org-type payers.
getter/setter pair
organizationName String?
Organization name for org-type payers.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt int
Unix timestamp (in milliseconds) when the payer was last updated.
getter/setter pair
userId String?
User ID for user-type payers.
getter/setter pair

Methods

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.
override

Operators

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

Static Methods

fromJson(dynamic value) SchemasCommercePayerResponse?
Returns a new SchemasCommercePayerResponse instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<SchemasCommercePayerResponse>
mapFromJson(dynamic json) Map<String, SchemasCommercePayerResponse>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<SchemasCommercePayerResponse>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.