Transaction Constructor NFX Class Library

[This is preliminary documentation and is subject to change.]

Framework-only method. Developer shouldn't call it.

Namespace: NFX.Web.Pay
Assembly: NFX.Web (in NFX.Web.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public Transaction(
	Object id,
	TransactionType type,
	TransactionStatus status,
	Account from,
	Account to,
	string processorName,
	Object token,
	DateTime createDateUTC,
	Amount amount,
	Nullable<decimal> fee = null,
	string description = null,
	Object extraData = null
)

Parameters

id
Type: OnlineSystem Object
Trasaction ID
type
Type: NFX.Web.Pay TransactionType
Trasaction type
status
Type: NFX.Web.Pay TransactionStatus
Transaction Status
from
Type: NFX.Web.Pay Account
Source account
to
Type: NFX.Web.Pay Account
Destination account
processorName
Type: OnlineSystem String
Payment processor name which this trasaction belongs to
token
Type: OnlineSystem Object
Payment processor trasaction of this trasaction
createDateUTC
Type: OnlineSystem DateTime
Creation date of this trasaction
amount
Type: NFX.Financial Amount
Amount of this transaction
fee (Optional)
Type: OnlineSystem Nullable OnlineDecimal 
Service fee
description (Optional)
Type: OnlineSystem String
Description of this transaction (e.g. "Payment for CPU Intel i7 4470 SandyBridge")
extraData (Optional)
Type: OnlineSystem Object
Some extra data if needed
See Also