Gamebase SDK for Android  2.5.0
Toast Gamebase Platform
PurchasableItem Class Reference

The information of the item that can buy. More...

Inheritance diagram for PurchasableItem:
Inheritance graph
Collaboration diagram for PurchasableItem:
Collaboration graph

Public Member Functions

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)
 

Public Attributes

long itemSeq
 
float price
 
String currency
 
String itemName
 
String marketItemId
 

Detailed Description

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

◆ 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:

Member Data Documentation

◆ currency

String currency

◆ itemName

String itemName

◆ itemSeq

long itemSeq

◆ marketItemId

String marketItemId

◆ price

float price