Class EbicsAuthorisationLevelConverter
Inheritance
System.Object
EbicsAuthorisationLevelConverter
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)
System.Object.ToString()
Namespace: Subsembly.EBICS
Assembly: Subsembly.EBICS.Core.dll
Syntax
public static class EbicsAuthorisationLevelConverter
Methods
FromString(String)
Declaration
public static EbicsAuthorisationLevel FromString(string sAuthorisationLevel)
Parameters
Type | Name | Description |
---|---|---|
System.String | sAuthorisationLevel |
Returns
Type | Description |
---|---|
EbicsAuthorisationLevel |
SetAuthorisationLevel(EbicsBTUOrderParams, EbicsAuthorisationLevel)
Set the EBICS 3.0 SignatureFlag and RequestEDS for a given EbicsAuthorisationLevel.
Declaration
public static void SetAuthorisationLevel(this EbicsBTUOrderParams aBTUOrderParams, EbicsAuthorisationLevel nAuthorisationLevel)
Parameters
Type | Name | Description |
---|---|---|
EbicsBTUOrderParams | aBTUOrderParams | |
EbicsAuthorisationLevel | nAuthorisationLevel | 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
Type | Condition |
---|---|
System.ArgumentNullException | |
System.ArgumentException |
ToOrderAttribute(EbicsAuthorisationLevel, EbicsTransferType)
Converts the given EbicsAuthorisationLevel to a corresponding OrderAttribute value.
Declaration
public static string ToOrderAttribute(EbicsAuthorisationLevel nAuthorisationLevel, EbicsTransferType nTransferType)
Parameters
Type | Name | Description |
---|---|---|
EbicsAuthorisationLevel | nAuthorisationLevel | The authorisation level of the user. This may be Null for a default signature. |
EbicsTransferType | nTransferType | Indicates whether this is for an upload or a download transaction. |
Returns
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
ToString(EbicsAuthorisationLevel)
Declaration
public static string ToString(EbicsAuthorisationLevel nAuthorisationLevel)
Parameters
Type | Name | Description |
---|---|---|
EbicsAuthorisationLevel | nAuthorisationLevel |
Returns
Type | Description |
---|---|
System.String |