Class FinTan

Namespace
Subsembly.FinTS
Assembly
Subsembly.FinTS.Core.dll

Pseudo order that is used to submit the TAN within a two step TAN process. This class handles the HKTAN and HITAN segments.

public class FinTan : FinOrder
Inheritance
FinTan
Inherited Members

Constructors

FinTan(FinOrder, FinTanProcessStep, FinSegment, FinTanProcessParameters)

public FinTan(FinOrder aAssocOrder, FinTanProcessStep nTanProcessStep, FinSegment aTanOrderSegment, FinTanProcessParameters aTanProc)

Parameters

aAssocOrder FinOrder
nTanProcessStep FinTanProcessStep
aTanOrderSegment FinSegment
aTanProc FinTanProcessParameters

Properties

AssociatedOrder

The actual order associated with this TAN submission. May be null.

public FinOrder AssociatedOrder { get; }

Property Value

FinOrder

ChallengeInfo

Provides the Challenge information returned in the HITAN segment. If no HITAN segment was received, yet, then this is null.

public FinChallengeInfo ChallengeInfo { get; }

Property Value

FinChallengeInfo

StatusNeedTan

Indicates whether the HITAN status response indicates that a TAN or DECOUPLED confirmation is neeed.

public bool StatusNeedTan { get; }

Property Value

bool

Remarks

This is true if either a TAN or a DECOUPLED confirmation is neeed, i.e. the value TanProcessStatus is either NeedTan or NeedDecoupled.

TanInfo

Provides the TAN information returned in the HITAN segment. If no HITAN segment was received, yet, then this is null.

public FinTanInfo TanInfo { get; }

Property Value

FinTanInfo

TanProcessStatus

Provides a FinDialogResultCode that indicates how to continue after having received this HITAN.

public FinDialogResultCode TanProcessStatus { get; }

Property Value

FinDialogResultCode

Remarks

The following values may be returned:

TanProcessStep

The TAN process step that this HKTAN/HITAN performs.

public FinTanProcessStep TanProcessStep { get; }

Property Value

FinTanProcessStep

Methods

OnExecuteComplete(FinDialog)

protected override void OnExecuteComplete(FinDialog aDialog)

Parameters

aDialog FinDialog

StatusContainsCode(int)

Checks whether the received HIRMS contains the given status code.

public bool StatusContainsCode(int nStatusCode)

Parameters

nStatusCode int

Returns

bool

If no HIRMS was received, yet, then false is returned. If a HIRMS is available, then the return value is true if, any only if, the nStatusCode is contained in it.