commonMain.com.bselzer.gw2.v2.model.commerce.price.Prices.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of v2-model Show documentation
Show all versions of v2-model Show documentation
Guild Wars 2 API models for v2-client.
The newest version!
package com.bselzer.gw2.v2.model.commerce.price
import com.bselzer.gw2.v2.model.item.ItemId
import com.bselzer.ktx.value.identifier.Identifiable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Prices(
/**
* The id of the item.
* @see the wiki
*/
@SerialName("id")
override val id: ItemId = ItemId(),
/**
* Whether a free to play account can buy or sell this item on the trading post.
*/
@SerialName("whitelisted")
val isWhitelisted: Boolean = false,
@SerialName("buys")
val buys: Price = Price(),
@SerialName("sells")
val sells: Price = Price()
) : Identifiable