Class FinDialogResult
public class FinDialogResult
- Inheritance
-
FinDialogResult
- Inherited Members
Constructors
FinDialogResult(FinDialogResultCode, string)
public FinDialogResult(FinDialogResultCode nCode, string sErrorText = null)
Parameters
nCode
FinDialogResultCodesErrorText
string
FinDialogResult(FinMessage)
public FinDialogResult(FinMessage aLastMessage)
Parameters
aLastMessage
FinMessage
FinDialogResult(Exception)
public FinDialogResult(Exception x)
Parameters
Properties
ChallengeInfo
The challenge information for which a TAN is needed.
public FinChallengeInfo ChallengeInfo { get; set; }
Property Value
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
ContinueWaitSeconds
Number of seconds to wait at least before SendContinue() may be invoked.
public int ContinueWaitSeconds { get; set; }
Property Value
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
IsCancelled
public bool IsCancelled { get; }
Property Value
IsPending
Returns true
for all result codes where the order is still pending
completion.
public bool IsPending { get; }
Property Value
IsSuccess
public bool IsSuccess { get; }
Property Value
IsUnrecoverableFailure
public bool IsUnrecoverableFailure { get; }
Property Value
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
MustChangePin
public bool MustChangePin { get; set; }
Property Value
OrderRef
The order reference that was provided with the TAN challenge.
public string OrderRef { get; set; }
Property Value
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
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
TanInfo
The HITAN information when a TAN is needed.
public FinTanInfo TanInfo { get; set; }
Property Value
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
TanProcessParameters
The TAN process parameters for which a TAN is needed.
public FinTanProcessParameters TanProcessParameters { get; set; }
Property Value
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
VopID
If the Code is NeedConfirmationOfPayee, then this contains the VOP-ID needed for confirmation.
public FinByteBuffer VopID { get; set; }
Property Value
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
VopResult
If the Code is NeedConfirmationOfPayee, then this contains the complete result of the Verification of Payee.
public VopResult VopResult { get; set; }
Property Value
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()