InitializeCustomerRequest class

Represents the data structure for a customer registration request to the Gameball API.

This class defines the properties required to register a customer with the Gameball platform. It includes essential information for identifying the customer, as well as optional details to enrich their profile and personalize their experience.

Annotations
  • @JsonSerializable.new(createFactory: false)

Constructors

InitializeCustomerRequest.fromJson(Map<String, dynamic> json)
Create from JSON map.
factory

Properties

customerAttributes → CustomerAttributes?
Additional customer attributes to be sent during registration (optional).
final
customerId → String
The unique identifier for the customer (required).
final
deviceToken → String?
The customer's device token for push notifications (optional).
final
email → String?
The customer's email address (optional).
final
hashCode → int
The hash code for this object.
no setterinherited
isGuest → bool?
A flag indicating if the individual interacting with your system is a guest (not signed up).
final
mobile → String?
The customer's mobile number (optional).
final
osType → String
The operating system type of the customer's device (automatically set).
final
pushProvider → String?
final
referralCode → String?
A referral code associated with the customer (optional).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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