Class Transaction
Inheritance
System.Object
Transaction
Assembly: Eco.Gameplay.dll
Syntax
public class Transaction : Object
Constructors
Transaction()
Declaration
Transaction(Currency, BankAccount, Single, Single, String)
Declaration
public Transaction(Currency currency, BankAccount target, float amount, float newBalance, string description)
Parameters
Type |
Name |
Description |
Currency |
currency |
|
BankAccount |
target |
|
System.Single |
amount |
|
System.Single |
newBalance |
|
System.String |
description |
|
Fields
CachedString
Declaration
public string CachedString
Field Value
Type |
Description |
System.String |
|
EmBaseSize
Declaration
public const int EmBaseSize = 18
Field Value
Type |
Description |
System.Int32 |
|
Properties
Amount
Declaration
public float Amount { get; set; }
Property Value
Type |
Description |
System.Single |
|
Currency
Declaration
public Currency Currency { get; set; }
Property Value
Description
Declaration
public string Description { get; set; }
Property Value
Type |
Description |
System.String |
|
NewBalance
Declaration
public float NewBalance { get; set; }
Property Value
Type |
Description |
System.Single |
|
Target
Declaration
public BankAccount Target { get; set; }
Property Value
Time
Declaration
public double Time { get; set; }
Property Value
Type |
Description |
System.Double |
|
Methods
BuildCachedString()
Declaration
public void BuildCachedString()
BuildString(String, String, String, String, String, String)
Declaration
public static string BuildString(string time, string transfer, string currency, string target, string balance, string description)
Parameters
Type |
Name |
Description |
System.String |
time |
|
System.String |
transfer |
|
System.String |
currency |
|
System.String |
target |
|
System.String |
balance |
|
System.String |
description |
|
Returns
Type |
Description |
System.String |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Extension Methods