1using System.Threading.Tasks;
55 public override Task
Parse(XmlElement Xml)
59 return base.Parse(Xml);
85 EventIndex,
this, Arguments.
Token.OwnerJid, FromVariable, AmountVariable, AmountExtraVariable,
86 AmountTotalVariable, CurrencyVariable, ReferenceVariable, ConditionVariable);
Helps with common XML-related tasks.
static string Attribute(XmlElement E, string Name)
Gets the value of an XML attribute.
Static interface for database persistence. In order to work, a database provider has to be assigned t...
static async Task Insert(object Object)
Inserts an object into the default collection of the database.
async Task AddToCache()
Removes the event handler from the cache.
Event handler for payment reception events.
async Task< T > Evaluate(Variables Variables)
Evaluates the attribute
string Definition
Attribute definition
Scriptable string attribute.
Contains information required for evaluating script in a state-machine.
Token Token
Reference to related token.
Variables Variables
Current set of variables.
Represents an event definition.
Abstract base class for payment events.
ScriptableStringAttribute amountTotalVariable
Amount total variable
ScriptableStringAttribute amountExtraVariable
Amount extra variable
ScriptableStringAttribute amountVariable
Amount variable
ScriptableStringAttribute currencyVariable
Currency variable
ScriptableStringAttribute conditionVariable
Condition variable
ScriptableStringAttribute referenceVariable
Reference variable
Event raised when a payment has been received.
override string Label
UML Label for event.
override string LocalName
Local name
override async Task< bool > Register(int EventIndex, EvaluationArguments Arguments, OnEvent Event)
Registers the event
OnPaymentReceived()
Event raised when a payment has been received.
override Task Parse(XmlElement Xml)
Parses the State-machine node.
override IStateMachineNode Create()
Creates a new node of the corresponding type.
string FromVariableDefinition
From Variable definition.
Action executed when entering a state.
Interface for State-Machine nodes