VirtualItemsResponse

data class VirtualItemsResponse(    val geoLocale: Locale? = null,     val hasMore: Boolean = false,     val items: List<VirtualItemsResponse.Item> = emptyList())

Constructors

Link copied to clipboard
fun VirtualItemsResponse(    geoLocale: Locale? = null,     hasMore: Boolean = false,     items: List<VirtualItemsResponse.Item> = emptyList())

Types

Link copied to clipboard
data class Item(    val sku: String? = null,     val name: String? = null,     val groups: List<Group> = emptyList(),     val attributes: List<Any> = emptyList(),     val type: String? = null,     val description: String? = null,     val imageUrl: String? = null,     val isFree: Boolean,     val price: Price? = null,     val virtualPrices: List<VirtualPrice> = emptyList(),     val inventoryOption: InventoryOption? = null,     val virtualItemType: String? = null,     val promotions: List<Promotion> = emptyList(),     val limits: ItemLimits? = null) : Parcelable

Properties

Link copied to clipboard
val geoLocale: Locale? = null

An optional locale returned by the backend based on user's current IP.

Link copied to clipboard
@SerializedName(value = "has_more")
val hasMore: Boolean = false
Link copied to clipboard
val items: List<VirtualItemsResponse.Item>

Sources

Link copied to clipboard