Class EbicsAuthOrderInfos

Namespace
Subsembly.EBICS
Assembly
Subsembly.EBICS.Core.dll

Collection of EbicsAuthOrderInfo objects.

public class EbicsAuthOrderInfos : Collection<EbicsAuthOrderInfo>, IList<EbicsAuthOrderInfo>, ICollection<EbicsAuthOrderInfo>, IReadOnlyList<EbicsAuthOrderInfo>, IReadOnlyCollection<EbicsAuthOrderInfo>, IEnumerable<EbicsAuthOrderInfo>, IList, ICollection, IEnumerable
Inheritance
EbicsAuthOrderInfos
Implements
Inherited Members

Methods

FindOrderInfo(EbicsServiceMapRecord)

Attempts to find the OrderInfo entry for a given service template.

public EbicsAuthOrderInfo FindOrderInfo(EbicsServiceMapRecord aServiceRecord)

Parameters

aServiceRecord EbicsServiceMapRecord

A EbicsServiceMapRecord that describes the kind of order service to find. This must not be null.

Returns

EbicsAuthOrderInfo

If an EbicsAuthOrderInfo that matches the requested EbicsServiceMapRecord is found, then it is returned. If none, then null is returned.

Remarks

In order to properly work with old EBICS 2.x order types, and new EBICS 3.0 order services, the given EbicsServiceMapRecord must be fully initialized. If onlyvfinding an OrderInfo by its Service (EBICS 3.0) is needed, then the OrderType of the record may be null. If only finding an OrderInfo by its OrderType is needed, then FindOrderType(string) should be used instead.

This method cannot be used to search for particular AdminOrderType. Instead the method FindOrderType(string) can be used to find the OrderInfo for an AdminOrderType.

Exceptions

ArgumentNullException

FindOrderType(string)

public EbicsAuthOrderInfo FindOrderType(string sOrderType)

Parameters

sOrderType string

The order type to find the EbicsAuthOrderInfo instance for. This must not be null.

Returns

EbicsAuthOrderInfo

If the order type was found, then its EbicsAuthOrderInfo instance is returned. Otherwise null is returned.

Remarks

When used with EBICS 3.0 data, an attempt is made to match the given sOrderType based on the Default mapping.

Exceptions

ArgumentNullException

The parameter was null.

ArgumentException

The parameter was not a three character order type token.