Class FinTan
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
aAssocOrderFinOrdernTanProcessStepFinTanProcessStepaTanOrderSegmentFinSegmentaTanProcFinTanProcessParameters
Properties
AssociatedOrder
The actual order associated with this TAN submission. May be null.
public FinOrder AssociatedOrder { get; }
Property Value
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
StatusNeedTan
Indicates whether the HITAN status response indicates that a TAN or DECOUPLED confirmation is neeed.
public bool StatusNeedTan { get; }
Property Value
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
TanProcessStatus
Provides a FinDialogResultCode that indicates how to continue after having received this HITAN.
public FinDialogResultCode TanProcessStatus { get; }
Property Value
Remarks
The following values may be returned:
TanProcessStep
The TAN process step that this HKTAN/HITAN performs.
public FinTanProcessStep TanProcessStep { get; }
Property Value
Methods
OnExecuteComplete(FinDialog)
protected override void OnExecuteComplete(FinDialog aDialog)
Parameters
aDialogFinDialog
StatusContainsCode(int)
Checks whether the received HIRMS contains the given status code.
public bool StatusContainsCode(int nStatusCode)
Parameters
nStatusCodeint
Returns
- bool
If no HIRMS was received, yet, then
falseis returned. If a HIRMS is available, then the return value is true if, any only if, thenStatusCodeis contained in it.