Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
EDaler.Transaction Class Reference

Represents a transaction in the eDaler network. More...

Public Member Functions

 Transaction ()
 Represents a transaction in the eDaler network. More...
 
string ToXml ()
 Converts the transaction object to XML More...
 

Static Public Member Functions

static Transaction FromXml (XmlElement Xml)
 Parses inforation about a transaction from XML. More...
 

Properties

Guid Id [get, set]
 Transaction ID More...
 
DateTime Created [get, set]
 Timestamp of creation of transaction More...
 
DateTime Processed [get, set]
 Timestamp of processing the transaction More...
 
CaseInsensitiveString From [get, set]
 From account More...
 
EntityType FromType [get, set]
 Type of entity referred to by From More...
 
CaseInsensitiveString To [get, set]
 To account More...
 
EntityType ToType [get, set]
 Type of entity referred to by To More...
 
CaseInsensitiveString Sender [get, set]
 Sender of request which initiated transaction More...
 
decimal Amount [get, set]
 Amount transferred More...
 
CaseInsensitiveString Currency [get, set]
 Currency More...
 
string Uri [get, set]
 URI encoding the request that initiated the transaction More...
 

Detailed Description

Represents a transaction in the eDaler network.

Definition at line 35 of file Transaction.cs.

Constructor & Destructor Documentation

◆ Transaction()

EDaler.Transaction.Transaction ( )

Represents a transaction in the eDaler network.

Definition at line 52 of file Transaction.cs.

Member Function Documentation

◆ FromXml()

static Transaction EDaler.Transaction.FromXml ( XmlElement  Xml)
static

Parses inforation about a transaction from XML.

Parameters
XmlXML representation of transaction.
Returns
Transaction object

Definition at line 209 of file Transaction.cs.

◆ ToXml()

string EDaler.Transaction.ToXml ( )

Converts the transaction object to XML

Returns
XML representation of transaction

Definition at line 161 of file Transaction.cs.

Property Documentation

◆ Amount

decimal EDaler.Transaction.Amount
getset

Amount transferred

Definition at line 133 of file Transaction.cs.

◆ Created

DateTime EDaler.Transaction.Created
getset

Timestamp of creation of transaction

Definition at line 68 of file Transaction.cs.

◆ Currency

CaseInsensitiveString EDaler.Transaction.Currency
getset

Currency

Definition at line 142 of file Transaction.cs.

◆ From

CaseInsensitiveString EDaler.Transaction.From
getset

From account

Definition at line 86 of file Transaction.cs.

◆ FromType

EntityType EDaler.Transaction.FromType
getset

Type of entity referred to by From

Definition at line 96 of file Transaction.cs.

◆ Id

Guid EDaler.Transaction.Id
getset

Transaction ID

Definition at line 59 of file Transaction.cs.

◆ Processed

DateTime EDaler.Transaction.Processed
getset

Timestamp of processing the transaction

Definition at line 77 of file Transaction.cs.

◆ Sender

CaseInsensitiveString EDaler.Transaction.Sender
getset

Sender of request which initiated transaction

Definition at line 124 of file Transaction.cs.

◆ To

CaseInsensitiveString EDaler.Transaction.To
getset

To account

Definition at line 105 of file Transaction.cs.

◆ ToType

EntityType EDaler.Transaction.ToType
getset

Type of entity referred to by To

Definition at line 115 of file Transaction.cs.

◆ Uri

string EDaler.Transaction.Uri
getset

URI encoding the request that initiated the transaction

Definition at line 151 of file Transaction.cs.


The documentation for this class was generated from the following file: