Class EbicsAuthorisationLevelConverter

Namespace
Subsembly.EBICS
Assembly
Subsembly.EBICS.Core.dll
public static class EbicsAuthorisationLevelConverter
Inheritance
EbicsAuthorisationLevelConverter
Inherited Members

Methods

FromString(string)

public static EbicsAuthorisationLevel FromString(string sAuthorisationLevel)

Parameters

sAuthorisationLevel string

Returns

EbicsAuthorisationLevel

SetAuthorisationLevel(EbicsBTUOrderParams, EbicsAuthorisationLevel)

Set the EBICS 3.0 SignatureFlag and RequestEDS for a given EbicsAuthorisationLevel.

public static void SetAuthorisationLevel(this EbicsBTUOrderParams aBTUOrderParams, EbicsAuthorisationLevel nAuthorisationLevel)

Parameters

aBTUOrderParams EbicsBTUOrderParams
nAuthorisationLevel EbicsAuthorisationLevel

The user authorisation level for which appropriate SignatureFlag and RequestEDS value shall be set.

Remarks

If the given nAuthorisationLevel is Null, then the best possible default values for an upload order are set, that is, both flags are set to true.

Exceptions

ArgumentNullException
ArgumentException

ToOrderAttribute(EbicsAuthorisationLevel, EbicsTransferType)

Converts the given EbicsAuthorisationLevel to a corresponding OrderAttribute value.

public static string ToOrderAttribute(EbicsAuthorisationLevel nAuthorisationLevel, EbicsTransferType nTransferType)

Parameters

nAuthorisationLevel EbicsAuthorisationLevel

The authorisation level of the user. This may be Null for a default signature.

nTransferType EbicsTransferType

Indicates whether this is for an upload or a download transaction.

Returns

string

Exceptions

ArgumentException

The nTransferType was neither Download nor Upload.

ToString(EbicsAuthorisationLevel)

public static string ToString(EbicsAuthorisationLevel nAuthorisationLevel)

Parameters

nAuthorisationLevel EbicsAuthorisationLevel

Returns

string