ITransactionInfo

From Virtual World Web Wiki
Jump to: navigation, search

Used when resolving accounts for a transaction source

Remarks [edit]

Properties

Guid? ComponentID {get;}
The ID of the component that started the transaction
IEnumerable<string> ErrorIdentifiers {get;}
A list of translatable identifiers of error messages. This list is reset on each call to Authorize
Decimal SourceBalance {get;}
The balance of the resolved source financial account. This is only valid during an L2 ValidateTransaction event
TransactionStatus Status {get;}
The status of the transaction
IEnumerable<ITransactionTargetInfo> Targets {get;}
An enumerable set of ITransactionTargetInfo interfaces on structures describing the targets of this transaction and the amounts delivered to them
Decimal TotalAmount {get;}
The total amount of the transaction (the sum of the amounts sent to all targets)
Guid TransactionID {get;}
The Transaction ID. Used to locate the transaction later.

Methods

void AddError(string identifier)
Adds a translatable error identifier to the ErrorIdentifiers list