Class PaySystemHost
Inheritance
System.Object
PaySystemHost
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: NFX.Web.dll
Syntax
public abstract class PaySystemHost : ServiceWithInstrumentationBase<object>, IApplicationComponent, IDisposable, IService, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized, IPaySystemHostImplementation, IPaySystemHost, INamed, IConfigurable
Constructors
PaySystemHost(String, IConfigSectionNode)
Declaration
protected PaySystemHost(string name, IConfigSectionNode node)
Parameters
PaySystemHost(String, IConfigSectionNode, Object)
Declaration
protected PaySystemHost(string name, IConfigSectionNode node, object director)
Parameters
Properties
CurrencyMarket
Declaration
public abstract ICurrencyMarket CurrencyMarket { get; }
Property Value
InstrumentationEnabled
Implements IInstrumentable
Declaration
public override bool InstrumentationEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
NFX.ServiceModel.ServiceWithInstrumentationBase<System.Object>.InstrumentationEnabled
LogLevel
Declaration
[Config(Default = MessageType.Warning)]
[ExternalParameter(new string[]{"pay"})]
public MessageType LogLevel { get; set; }
Property Value
Methods
DoFetchAccountData(PaySession, Account)
Declaration
protected abstract IActualAccountData DoFetchAccountData(PaySession session, Account account)
Parameters
Returns
DoFetchTransaction(PaySession, Object)
Declaration
protected abstract Transaction DoFetchTransaction(PaySession session, object id)
Parameters
Type |
Name |
Description |
PaySession |
session |
|
System.Object |
id |
|
Returns
DoGenerateTransactionID(PaySession, TransactionType)
Declaration
protected abstract object DoGenerateTransactionID(PaySession session, TransactionType type)
Parameters
Returns
Type |
Description |
System.Object |
|
DoStoreAccountData(PaySession, IActualAccountData)
Declaration
protected abstract void DoStoreAccountData(PaySession session, IActualAccountData accoundData)
Parameters
DoStoreTransaction(PaySession, Transaction)
Declaration
protected abstract void DoStoreTransaction(PaySession session, Transaction tran)
Parameters
FetchAccountData(Account)
Declaration
public IActualAccountData FetchAccountData(Account account)
Parameters
Type |
Name |
Description |
Account |
account |
|
Returns
FetchTransaction(Object)
Declaration
public Transaction FetchTransaction(object id)
Parameters
Type |
Name |
Description |
System.Object |
id |
|
Returns
GetDefaultTransactionContext()
Declaration
protected virtual IPaySessionContext GetDefaultTransactionContext()
Returns
Log(MessageType, String, String, Exception, Nullable<Guid>, String)
Declaration
protected virtual Guid Log(MessageType type, string from, string message, Exception error = null, Guid? relatedMessageID = default (Guid? ), string parameters = null)
Parameters
Type |
Name |
Description |
MessageType |
type |
|
System.String |
from |
|
System.String |
message |
|
System.Exception |
error |
|
System.Nullable<System.Guid> |
relatedMessageID |
|
System.String |
parameters |
|
Returns
Type |
Description |
System.Guid |
|
Implements
System.IDisposable
Extension Methods