GW2v2CommerceTransaction

@Serializable
data class GW2v2CommerceTransaction(val id: Int, val itemId: GW2ItemId, val price: Int, val quantity: Int, val created: String, val purchased: String? = null)

Information about a transaction.

Parameters

id

the transaction's ID

itemId

the item's ID

price

the price in coins

quantity

the quantity of the item

created

the ISO-8601 standard timestamp of when the transaction was created

purchased

the ISO-8601 standard timestamp of when the transaction was completed

Constructors

Link copied to clipboard
constructor(id: Int, itemId: GW2ItemId, price: Int, quantity: Int, created: String, purchased: String? = null)

Properties

Link copied to clipboard

This field holds the ISO-8601 standard timestamp of when the transaction was created.

Link copied to clipboard
val id: Int

This field holds the transaction's ID.

Link copied to clipboard
@SerialName(value = "item_id")
val itemId: GW2ItemId

This field holds the item's ID.

Link copied to clipboard
val price: Int

This field holds the price in coins.

Link copied to clipboard
val purchased: String? = null

This field holds the ISO-8601 standard timestamp of when the transaction was completed.

Link copied to clipboard

This field holds the quantity of the item.