The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

$character->transactions

Recent transaction list (last 1000). Set offset before_trans_id to recall older transactions.

new

This is called under the hood when an $eve->character->transaction(s) object is requested.

It returns an array of transaction objects, or the latest transaction depending on whether or not it is called in scalar or list context.

You probably won't need to call this method directly.

$transaction->for

Who the transaction is for (personal, or presumably corporate)

$transaction->name

The name of the transaction, e.g. the name of the item you're selling/buying.

$transaction->type

The transaction type (e.g. buy/sell)

$transaction->quantity

The quantity involved in the transaction

$transaction->station_id

The station ID of where the transaction took place (see also transaction_station_name)

$transaction->client_id

The ID of the client (who is buying/selling the item)

$transaction->client_name

The name of the client (who is buying/selling the item)

$transaction->type_id

The type ID of the transaction.

$transaction->id

The ID of the transaction. Use the lowest transaction ID to walk back in time by setting before_trans_id.

$transaction->price

The price of the transaction

$transaction->time

The time of the transaction in epoch seconds.

$transaction->evetime

The time of the transaction according to EVE.

YYYY-MM-DD HH-MM-SS format. Always GMT/UTC.

$transaction->station_name

The station name where the transaction took place (see also station_id).

$character->account_key

Sets the account key for retrieving transactions from a particular account. defaults to 1000.

$transaction->hashref

A hashref containing the details for a transaction. It contains the following keys:

transaction_for
transaction_type_name
transaction_type
transaction_quantity
transaction_station_id
transaction_client_id
transaction_client_name
transaction_type_id
transaction_id
transaction_price
transaction_time
transaction_station_name