Interface IPaySystemHost
Represents a process-global entity that resolves account handle into actual account data
and fetches existing transactions.
This design provides an indirection level between pay systems (like Stripe, PayPal, Bank etc.) and
particular application data store implementation as it decouples system-internal formats of transaction and
account storage from provider-internal data (i.e. PayPal payment token string).
The instance of implementor is a singleton accessible via PaySystem.PaySystemHost
Assembly: NFX.Web.dll
Syntax
public interface IPaySystemHost : INamed
Properties
CurrencyMarket
Declaration
ICurrencyMarket CurrencyMarket { get; }
Property Value
Methods
FetchAccountData(Account)
Returns actual data for supplied account object
Declaration
IActualAccountData FetchAccountData(Account account)
Parameters
Type |
Name |
Description |
Account |
account |
|
Returns
FetchTransaction(Object)
Returns a transaction with specified ID from storage or null
Declaration
Transaction FetchTransaction(object id)
Parameters
Type |
Name |
Description |
System.Object |
id |
|
Returns
Extension Methods