GW2v2CommerceTransaction

@Serializable
data class GW2v2CommerceTransaction(val id: GW2TransactionId, val itemId: GW2ItemId, val price: Long, val quantity: Long, val created: Instant, val purchased: Instant? = 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: GW2TransactionId, itemId: GW2ItemId, price: Long, quantity: Long, created: Instant, purchased: Instant? = null)

Properties

Link copied to clipboard

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

Link copied to clipboard

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

This field holds the price in coins.

Link copied to clipboard

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.