Class FinDialogResult

Namespace
Subsembly.FinTS
Assembly
Subsembly.FinTS.Core.dll
public class FinDialogResult
Inheritance
FinDialogResult
Inherited Members

Constructors

FinDialogResult(FinDialogResultCode, string)

public FinDialogResult(FinDialogResultCode nCode, string sErrorText = null)

Parameters

nCode FinDialogResultCode
sErrorText string

FinDialogResult(FinMessage)

public FinDialogResult(FinMessage aLastMessage)

Parameters

aLastMessage FinMessage

FinDialogResult(Exception)

public FinDialogResult(Exception x)

Parameters

x Exception

Properties

ChallengeInfo

The challenge information for which a TAN is needed.

public FinChallengeInfo ChallengeInfo { get; set; }

Property Value

FinChallengeInfo

Remarks

This is only provided when the result is NeedTan, or NeedDecoupled. This may be null, even if the result is NeedTan, when the old single step TAN process is in effect.

Code

public FinDialogResultCode Code { get; set; }

Property Value

FinDialogResultCode

ContinueWaitSeconds

Number of seconds to wait at least before SendContinue() may be invoked.

public int ContinueWaitSeconds { get; set; }

Property Value

int

Remarks

This value is only set when the Code is NeedContinue. In this case the returned value is always at least one. In all other cases the returned value may be zero.

ErrorText

public string ErrorText { get; }

Property Value

string

IsCancelled

public bool IsCancelled { get; }

Property Value

bool

IsPending

Returns true for all result codes where the order is still pending completion.

public bool IsPending { get; }

Property Value

bool

IsSuccess

public bool IsSuccess { get; }

Property Value

bool

IsUnrecoverableFailure

public bool IsUnrecoverableFailure { get; }

Property Value

bool

LastMessage

If the result was produced based on a FinTS message received, then this property holds a reference to that last FinTS message, regardless whether the result is Success or an error.

public FinMessage LastMessage { get; }

Property Value

FinMessage

MustChangePin

public bool MustChangePin { get; set; }

Property Value

bool

OrderRef

The order reference that was provided with the TAN challenge.

public string OrderRef { get; set; }

Property Value

string

Remarks

This is only provided when the result is NeedTan, or NeedDecoupled.

PendingOrder

The actual order that this result refers to.

public FinOrder PendingOrder { get; set; }

Property Value

FinOrder

Retry

If the result indicates a failure, then this flag indicates whether the previous action should be tried again. This means that the FinDialog did already do some corrective action in response to the error.

public bool Retry { get; set; }

Property Value

bool

TanInfo

The HITAN information when a TAN is needed.

public FinTanInfo TanInfo { get; set; }

Property Value

FinTanInfo

Remarks

This is only provided when the result is NeedTan, or NeedDecoupled.

TanMedias

List of available TAN medias to choose from. This is list is only available when Code is SelectTanMedia.

public FinTanMedia[] TanMedias { get; set; }

Property Value

FinTanMedia[]

TanProcessParameters

The TAN process parameters for which a TAN is needed.

public FinTanProcessParameters TanProcessParameters { get; set; }

Property Value

FinTanProcessParameters

Remarks

This is only provided when the result is NeedTan, or NeedDecoupled. This may be null, even if the result is NeedTan, when the old single step TAN process is in effect.

TanProcs

List of available TAN procedures to choose from. This is list is only available when Code is SelectTanProc.

public FinTanProcInfo[] TanProcs { get; set; }

Property Value

FinTanProcInfo[]

VopID

If the Code is NeedConfirmationOfPayee, then this contains the VOP-ID needed for confirmation.

public FinByteBuffer VopID { get; set; }

Property Value

FinByteBuffer

VopOption

If the Code is NeedConfirmationOfPayee, then this indicates whether the VopResult is a result from an Opt-In process (HKVPP), or from an Opt-Out process (HKVOO).

public VopOption VopOption { get; set; }

Property Value

VopOption

VopResult

If the Code is NeedConfirmationOfPayee, then this contains the complete result of the Verification of Payee.

public VopResult VopResult { get; set; }

Property Value

VopResult

Remarks

A VopResult is also provided when an Opt-Out process was performed. See VopOption to know which process it actually was.

Methods

ToString()

public override string ToString()

Returns

string