Class EbicsUserPermission
Inherited Members
Namespace: Subsembly.EBICS
Assembly: Subsembly.EBICS.Core.dll
Syntax
public class EbicsUserPermission : EbicsElement
Properties
AccountID
Optional account ID.
Declaration
public string AccountID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If no AccountID was provided, then this permission applied to all accounts of this user.
AdminOrderType
For EBICS 3.0 this is the AdminOrderType element for which this permission applies. For EBICS 2.x this is not used.
Declaration
public string AdminOrderType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This must be evaluated together with the Service element.
AuthorisationLevel
The value of the optional AuthorisationLevel
attribute.
Declaration
public EbicsAuthorisationLevel AuthorisationLevel { get; set; }
Property Value
Type | Description |
---|---|
EbicsAuthorisationLevel |
Remarks
If this is Null then there is no
AuthorisationLevel
attribute.
AuthorisationLevelString
Optional AuthorisationLevel
attribute.
Declaration
public string AuthorisationLevelString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This must be one of "E", "A", "B", or "T".
MaxAmount
Optional maximum order amount.
Declaration
public decimal MaxAmount { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
MaxAmountCurrency
Declaration
public string MaxAmountCurrency { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrderTypes
For EBICS 2.x this is a mandatory array of order type codes for which this permission applies.
Declaration
public string[] OrderTypes { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Remarks
Starting with EBICS 3.0 this property no longer exists. When reading this property
for an EBICS 3.0 UserPermission element, an attempt is made to map the
Service and AdminOrderType to the corresponding old
style order type and return an array with a single OrderType string element.
If the EBICS 3.0 service could not be resolved, then null
is returned.
Service
For EBICS 3.0 this is the Service element for which this permission applies. For EBICS 2.x this is not used.
Declaration
public EbicsService Service { get; set; }
Property Value
Type | Description |
---|---|
EbicsService |
Methods
BuildXml(XmlDocument, EbicsVersion)
Declaration
public override XmlElement BuildXml(XmlDocument xmlDocument, EbicsVersion nVersion)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | xmlDocument | |
EbicsVersion | nVersion |
Returns
Type | Description |
---|---|
System.Xml.XmlElement |
Overrides
ParseXml(XmlElement, EbicsVersion)
Declaration
public override void ParseXml(XmlElement xmlElement, EbicsVersion nVersion)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlElement | |
EbicsVersion | nVersion |