Gamebase SDK for Android  1.13.0
Toast Gamebase Platform
TransferKeyInfo Class Reference

TransferKeyInfo. More...

Inheritance diagram for TransferKeyInfo:
Inheritance graph
Collaboration diagram for TransferKeyInfo:
Collaboration graph

Public Member Functions

 TransferKeyInfo ()
 
String getTransferKey ()
 Returns the transfer key. More...
 
long getRegDate ()
 Returns the time at which the transfer key was issued. More...
 
long getExpireDate ()
 Returns the expiration time of the transfer key. More...
 
String toJsonString ()
 
String toPrettyJsonString ()
 
String toString ()
 

Static Public Member Functions

static< T > T fromJson (@NonNull String json, Class< T > classOfT)
 
static< T > T fromJson (@NonNull JSONObject jsonObject, Class< T > classOfT)
 
static< T > T fromJson (@NonNull String json, Type type)
 

Detailed Description

Constructor & Destructor Documentation

◆ TransferKeyInfo()

Member Function Documentation

◆ fromJson() [1/3]

static <T> T fromJson ( @NonNull String  json,
Class< T >  classOfT 
)
staticinherited
Here is the caller graph for this function:

◆ fromJson() [2/3]

static <T> T fromJson ( @NonNull JSONObject  jsonObject,
Class< T >  classOfT 
)
staticinherited
Here is the call graph for this function:

◆ fromJson() [3/3]

static <T> T fromJson ( @NonNull String  json,
Type  type 
)
staticinherited

◆ getExpireDate()

long getExpireDate ( )

Returns the expiration time of the transfer key.

Returns
The epoch time the transfer key is expired.

◆ getRegDate()

long getRegDate ( )

Returns the time at which the transfer key was issued.

Returns
The epoch time the transfer key was issued.

◆ getTransferKey()

String getTransferKey ( )

Returns the transfer key.

Returns
Transfer key used for account transfer.
Transfer key must satisfy 8 alphanumeric characters.

◆ toJsonString()

String toJsonString ( )
inherited
Here is the caller graph for this function:

◆ toPrettyJsonString()

String toPrettyJsonString ( )
inherited

◆ toString()

String toString ( )
inherited
Here is the call graph for this function: