Transaction

data class Transaction(var id: String, var date: Date, var amount: Double, var currency: ERROR CLASS: Symbol not found for Currency)

Describes a visitor transaction.

Constructors

Link copied to clipboard
constructor(id: String, date: Date, amount: Double, currency: ERROR CLASS: Symbol not found for Currency)

Properties

Link copied to clipboard

The amount of the transaction.

Link copied to clipboard
var currency: ERROR CLASS: Symbol not found for Currency

The currency of the transaction.

Link copied to clipboard
var date: Date

The date of the transaction.

Link copied to clipboard
var id: String

A unique identifier for the transaction.