Class EbicsReturnCode
Wrapper for an EBICS ReturnCode and optional ReportText element.
Inheritance
System.Object
EbicsReturnCode
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Subsembly.EBICS.Core.dll
Syntax
public class EbicsReturnCode
Constructors
EbicsReturnCode(String, Boolean)
Declaration
public EbicsReturnCode(string sReturnCode, bool fBusinessReturnCode = false)
Parameters
Type |
Name |
Description |
System.String |
sReturnCode |
|
System.Boolean |
fBusinessReturnCode |
|
EbicsReturnCode(String, String, Boolean)
Declaration
public EbicsReturnCode(string sReturnCode, string sFullReportText, bool fBusinessReturnCode = false)
Parameters
Type |
Name |
Description |
System.String |
sReturnCode |
|
System.String |
sFullReportText |
|
System.Boolean |
fBusinessReturnCode |
|
Fields
EBICS_ACCOUNT_AUTHORISATION_FAILED
Declaration
public const string EBICS_ACCOUNT_AUTHORISATION_FAILED = "091302"
Field Value
Type |
Description |
System.String |
|
EBICS_AMOUNT_CHECK_FAILED
Declaration
public const string EBICS_AMOUNT_CHECK_FAILED = "091303"
Field Value
Type |
Description |
System.String |
|
EBICS_AUTHENTICATION_FAILED
Declaration
public const string EBICS_AUTHENTICATION_FAILED = "061001"
Field Value
Type |
Description |
System.String |
|
EBICS_AUTHORISATION_ORDER_TYPE_FAILED
Declaration
public const string EBICS_AUTHORISATION_ORDER_TYPE_FAILED = "090003"
Field Value
Type |
Description |
System.String |
|
EBICS_BANK_PUBKEY_UPDATE_REQUIRED
Declaration
public const string EBICS_BANK_PUBKEY_UPDATE_REQUIRED = "091008"
Field Value
Type |
Description |
System.String |
|
EBICS_CERTIFICATES_VALIDATION_ERROR
Declaration
public const string EBICS_CERTIFICATES_VALIDATION_ERROR = "091219"
Field Value
Type |
Description |
System.String |
|
EBICS_DISTRIBUTED_SIGNATURE_AUTHORISATION_FAILED
Declaration
public const string EBICS_DISTRIBUTED_SIGNATURE_AUTHORISATION_FAILED = "091007"
Field Value
Type |
Description |
System.String |
|
EBICS_DOWNLOAD_POSTPROCESS_DONE
Declaration
public const string EBICS_DOWNLOAD_POSTPROCESS_DONE = "011000"
Field Value
Type |
Description |
System.String |
|
EBICS_DOWNLOAD_POSTPROCESS_SKIPPED
Declaration
public const string EBICS_DOWNLOAD_POSTPROCESS_SKIPPED = "011001"
Field Value
Type |
Description |
System.String |
|
EBICS_DOWNLOAD_SIGNED_ONLY
Declaration
public const string EBICS_DOWNLOAD_SIGNED_ONLY = "091001"
Field Value
Type |
Description |
System.String |
|
EBICS_DOWNLOAD_UNSIGNED_ONLY
Declaration
public const string EBICS_DOWNLOAD_UNSIGNED_ONLY = "091002"
Field Value
Type |
Description |
System.String |
|
EBICS_DUPLICATE_SIGNATURE
Declaration
public const string EBICS_DUPLICATE_SIGNATURE = "091306"
Field Value
Type |
Description |
System.String |
|
EBICS_INCOMPATIBLE_ORDER_ATTRIBUTE
Declaration
public const string EBICS_INCOMPATIBLE_ORDER_ATTRIBUTE = "091121"
Field Value
Type |
Description |
System.String |
|
EBICS_INTERNAL_ERROR
Declaration
public const string EBICS_INTERNAL_ERROR = "061099"
Field Value
Type |
Description |
System.String |
|
EBICS_INVALID_HOST_ID
Declaration
public const string EBICS_INVALID_HOST_ID = "091011"
Field Value
Type |
Description |
System.String |
|
Declaration
public const string EBICS_INVALID_ORDER_DATA_FORMAT = "090004"
Field Value
Type |
Description |
System.String |
|
EBICS_INVALID_ORDER_PARAMS
Declaration
public const string EBICS_INVALID_ORDER_PARAMS = "091112"
Field Value
Type |
Description |
System.String |
|
EBICS_INVALID_ORDER_TYPE
Declaration
public const string EBICS_INVALID_ORDER_TYPE = "091005"
Field Value
Type |
Description |
System.String |
|
EBICS_INVALID_REQUEST
Declaration
public const string EBICS_INVALID_REQUEST = "061002"
Field Value
Type |
Description |
System.String |
|
EBICS_INVALID_REQUEST_CONTENT
Declaration
public const string EBICS_INVALID_REQUEST_CONTENT = "091113"
Field Value
Type |
Description |
System.String |
|
Declaration
public const string EBICS_INVALID_SIGNATURE_FILE_FORMAT = "091111"
Field Value
Type |
Description |
System.String |
|
EBICS_INVALID_SIGNER_STATE
Declaration
public const string EBICS_INVALID_SIGNER_STATE = "091305"
Field Value
Type |
Description |
System.String |
|
EBICS_INVALID_USER_OR_USER_STATE
Declaration
public const string EBICS_INVALID_USER_OR_USER_STATE = "091002"
Field Value
Type |
Description |
System.String |
|
EBICS_INVALID_USER_STATE
Declaration
public const string EBICS_INVALID_USER_STATE = "091004"
Field Value
Type |
Description |
System.String |
|
EBICS_INVALID_XML
Declaration
public const string EBICS_INVALID_XML = "091010"
Field Value
Type |
Description |
System.String |
|
EBICS_KEYMGMT_DUPLICATE_KEY
Declaration
public const string EBICS_KEYMGMT_DUPLICATE_KEY = "091218"
Field Value
Type |
Description |
System.String |
|
EBICS_KEYMGMT_KEYLENGTH_ERROR_AUTHENTICATION
Declaration
public const string EBICS_KEYMGMT_KEYLENGTH_ERROR_AUTHENTICATION = "091205"
Field Value
Type |
Description |
System.String |
|
EBICS_KEYMGMT_KEYLENGTH_ERROR_ENCRYPTION
Declaration
public const string EBICS_KEYMGMT_KEYLENGTH_ERROR_ENCRYPTION = "091206"
Field Value
Type |
Description |
System.String |
|
EBICS_KEYMGMT_KEYLENGTH_ERROR_SIGNATURE
Declaration
public const string EBICS_KEYMGMT_KEYLENGTH_ERROR_SIGNATURE = "091204"
Field Value
Type |
Description |
System.String |
|
EBICS_KEYMGMT_NO_X509_SUPPORT
Declaration
public const string EBICS_KEYMGMT_NO_X509_SUPPORT = "091207"
Field Value
Type |
Description |
System.String |
|
EBICS_KEYMGMT_UNSUPPORTED_VERSION_AUTHENTICATION
Declaration
public const string EBICS_KEYMGMT_UNSUPPORTED_VERSION_AUTHENTICATION = "091202"
Field Value
Type |
Description |
System.String |
|
EBICS_KEYMGMT_UNSUPPORTED_VERSION_ENCRYPTION
Declaration
public const string EBICS_KEYMGMT_UNSUPPORTED_VERSION_ENCRYPTION = "091203"
Field Value
Type |
Description |
System.String |
|
EBICS_KEYMGMT_UNSUPPORTED_VERSION_SIGNATURE
Declaration
public const string EBICS_KEYMGMT_UNSUPPORTED_VERSION_SIGNATURE = "091201"
Field Value
Type |
Description |
System.String |
|
EBICS_MAX_ORDER_DATA_SIZE_EXCEEDED
Declaration
public const string EBICS_MAX_ORDER_DATA_SIZE_EXCEEDED = "091117"
Field Value
Type |
Description |
System.String |
|
EBICS_MAX_SEGMENTS_EXCEEDED
Declaration
public const string EBICS_MAX_SEGMENTS_EXCEEDED = "091118"
Field Value
Type |
Description |
System.String |
|
EBICS_MAX_TRANSACTIONS_EXCEEDED
Declaration
public const string EBICS_MAX_TRANSACTIONS_EXCEEDED = "091119"
Field Value
Type |
Description |
System.String |
|
EBICS_NO_DOWNLOAD_DATA_AVAILABLE
Declaration
public const string EBICS_NO_DOWNLOAD_DATA_AVAILABLE = "090005"
Field Value
Type |
Description |
System.String |
|
EBICS_NO_ONLINE_CHECKS
Declaration
public const string EBICS_NO_ONLINE_CHECKS = "011301"
Field Value
Type |
Description |
System.String |
|
EBICS_OK
Declaration
public const string EBICS_OK = "000000"
Field Value
Type |
Description |
System.String |
|
EBICS_ONLY_X509_SUPPORT
Declaration
public const string EBICS_ONLY_X509_SUPPORT = "091217"
Field Value
Type |
Description |
System.String |
|
EBICS_ORDER_ALREADY_EXISTS
Declaration
public const string EBICS_ORDER_ALREADY_EXISTS = "091122"
Field Value
Type |
Description |
System.String |
|
EBICS_ORDER_PARAMS_IGNORED
Declaration
public const string EBICS_ORDER_PARAMS_IGNORED = "031001"
Field Value
Type |
Description |
System.String |
|
EBICS_ORDERID_ALREADY_EXISTS
Declaration
public const string EBICS_ORDERID_ALREADY_EXISTS = "091115"
Field Value
Type |
Description |
System.String |
|
EBICS_ORDERID_UNKNOWN
Declaration
public const string EBICS_ORDERID_UNKNOWN = "091114"
Field Value
Type |
Description |
System.String |
|
EBICS_PARTNER_ID_MISMATCH
Declaration
public const string EBICS_PARTNER_ID_MISMATCH = "091120"
Field Value
Type |
Description |
System.String |
|
EBICS_PROCESSING_ERROR
Declaration
public const string EBICS_PROCESSING_ERROR = "091116"
Field Value
Type |
Description |
System.String |
|
EBICS_RECOVERY_NOT_SUPPORTED
Declaration
public const string EBICS_RECOVERY_NOT_SUPPORTED = "091105"
Field Value
Type |
Description |
System.String |
|
EBICS_SEGMENT_SIZE_EXCEEDED
Declaration
public const string EBICS_SEGMENT_SIZE_EXCEEDED = "091009"
Field Value
Type |
Description |
System.String |
|
EBICS_SIGNATURE_VERIFICATION_FAILED
Declaration
public const string EBICS_SIGNATURE_VERIFICATION_FAILED = "091301"
Field Value
Type |
Description |
System.String |
|
EBICS_SIGNER_UNKNOWN
Declaration
public const string EBICS_SIGNER_UNKNOWN = "091304"
Field Value
Type |
Description |
System.String |
|
EBICS_TX_ABORT
Declaration
public const string EBICS_TX_ABORT = "091102"
Field Value
Type |
Description |
System.String |
|
EBICS_TX_MESSAGE_REPLAY
Declaration
public const string EBICS_TX_MESSAGE_REPLAY = "091103"
Field Value
Type |
Description |
System.String |
|
EBICS_TX_RECOVERY_SYNC
Declaration
public const string EBICS_TX_RECOVERY_SYNC = "061101"
Field Value
Type |
Description |
System.String |
|
EBICS_TX_SEGMENT_NUMBER_EXCEEDED
Declaration
public const string EBICS_TX_SEGMENT_NUMBER_EXCEEDED = "091104"
Field Value
Type |
Description |
System.String |
|
EBICS_TX_SEGMENT_NUMBER_UNDERRUN
Declaration
public const string EBICS_TX_SEGMENT_NUMBER_UNDERRUN = "011101"
Field Value
Type |
Description |
System.String |
|
EBICS_TX_UNKNOWN_TXID
Declaration
public const string EBICS_TX_UNKNOWN_TXID = "091101"
Field Value
Type |
Description |
System.String |
|
EBICS_UNSUPPORTED_ORDER_TYPE
Declaration
public const string EBICS_UNSUPPORTED_ORDER_TYPE = "091006"
Field Value
Type |
Description |
System.String |
|
EBICS_UNSUPPORTED_REQUEST_FOR_ORDER_INSTANCE
Declaration
public const string EBICS_UNSUPPORTED_REQUEST_FOR_ORDER_INSTANCE = "090006"
Field Value
Type |
Description |
System.String |
|
EBICS_USER_UNKNOWN
Declaration
public const string EBICS_USER_UNKNOWN = "091003"
Field Value
Type |
Description |
System.String |
|
EBICS_X509_CERTIFICATE_EXPIRED
Declaration
public const string EBICS_X509_CERTIFICATE_EXPIRED = "091208"
Field Value
Type |
Description |
System.String |
|
EBICS_X509_CERTIFICATE_NOT_VALID_YET
Declaration
public const string EBICS_X509_CERTIFICATE_NOT_VALID_YET = "091209"
Field Value
Type |
Description |
System.String |
|
EBICS_X509_CTL_INVALID
Declaration
public const string EBICS_X509_CTL_INVALID = "091213"
Field Value
Type |
Description |
System.String |
|
EBICS_X509_INVALID_BASIC_CONSTRAINTS
Declaration
public const string EBICS_X509_INVALID_BASIC_CONSTRAINTS = "091216"
Field Value
Type |
Description |
System.String |
|
EBICS_X509_INVALID_POLICY
Declaration
public const string EBICS_X509_INVALID_POLICY = "091215"
Field Value
Type |
Description |
System.String |
|
EBICS_X509_INVALID_THUMBPRINT
Declaration
public const string EBICS_X509_INVALID_THUMBPRINT = "091212"
Field Value
Type |
Description |
System.String |
|
EBICS_X509_UNKNOWN_CERTIFICATE_AUTHORITY
Declaration
public const string EBICS_X509_UNKNOWN_CERTIFICATE_AUTHORITY = "091214"
Field Value
Type |
Description |
System.String |
|
EBICS_X509_WRONG_ALGORITHM
Declaration
public const string EBICS_X509_WRONG_ALGORITHM = "091211"
Field Value
Type |
Description |
System.String |
|
EBICS_X509_WRONG_KEY_USAGE
Declaration
public const string EBICS_X509_WRONG_KEY_USAGE = "091210"
Field Value
Type |
Description |
System.String |
|
Properties
BusinessReturnCode
Indicates whether this is a business related return code, or a technical return
code.
Declaration
public bool BusinessReturnCode { get; }
Property Value
Type |
Description |
System.Boolean |
This is true for business related return codes and false for
technical return codes.
|
Error
Declaration
public bool Error { get; }
Property Value
Type |
Description |
System.Boolean |
|
ErrorClass
Declaration
public EbicsErrorClass ErrorClass { get; }
Property Value
OK
Declaration
Property Value
Type |
Description |
System.Boolean |
|
ReportText
Optional report text without the symbolic name.
Declaration
public string ReportText { get; }
Property Value
Type |
Description |
System.String |
|
ReturnCode
The six digit return code.
Declaration
public string ReturnCode { get; }
Property Value
Type |
Description |
System.String |
|
Success
Declaration
public bool Success { get; }
Property Value
Type |
Description |
System.Boolean |
|
SuccessOrNoData
Declaration
public bool SuccessOrNoData { get; }
Property Value
Type |
Description |
System.Boolean |
|
SymbolicName
Declaration
public string SymbolicName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Business(String, String)
Declaration
public static EbicsReturnCode Business(string sReturnCode, string sFullReportText = null)
Parameters
Type |
Name |
Description |
System.String |
sReturnCode |
|
System.String |
sFullReportText |
|
Returns
GetReportText(String, Boolean)
Looks up a human readable report text for a given symbolic name.
Declaration
public static string GetReportText(string sSymbolicName, bool fBusinessReturnCode)
Parameters
Type |
Name |
Description |
System.String |
sSymbolicName |
The symbolic name to find a report text for.
|
System.Boolean |
fBusinessReturnCode |
Indicates whether the given symbolic name is from a business return code
(true ) or a technical return code (false ).
|
Returns
Type |
Description |
System.String |
If a report text is known for the given symbolic name, then it will be returned.
If none is known, then null will be returned.
|
GetSymbolicName(String, Boolean)
Looks up a symbolic name for a numeric return code.
Declaration
public static string GetSymbolicName(string sReturnCode, bool fBusinessReturnCode)
Parameters
Type |
Name |
Description |
System.String |
sReturnCode |
The numeric return code to look up.
|
System.Boolean |
fBusinessReturnCode |
Indicates whether the given return code is a business return code (true ) or
a technical return code (false ).
|
Returns
Type |
Description |
System.String |
If a symbolic name is known for the given return code, then it will be returned.
If none is known, then null will be returned.
|
Technical(String, String)
Declaration
public static EbicsReturnCode Technical(string sReturnCode, string sFullReportText = null)
Parameters
Type |
Name |
Description |
System.String |
sReturnCode |
|
System.String |
sFullReportText |
|
Returns
ToString()
Provides the full report text including symbolic name and report text.
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()