Class EbicsVopOrderInfo

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

Extensions for EbicsOrderInfo in order to support the Verification of Payee implementation.

public static class EbicsVopOrderInfo
Inheritance
EbicsVopOrderInfo
Inherited Members

Methods

GetVopCloseMatchName(EbicsOrderInfo)

In case of a VoP status code RVMC, this provides the correct name of the account owner.

public static string GetVopCloseMatchName(this EbicsOrderInfo aOrderInfo)

Parameters

aOrderInfo EbicsOrderInfo

Returns

string

If the VoP status code is not CloseMatch, then this method returns null. Otherwise an attempt is made to extract to correct name from TypedDescriptions[1].

Exceptions

ArgumentNullException

The parameter aOrderInfo was null.

GetVopStatusCode(EbicsOrderInfo)

Attempts to derive the VoP Status Code for this order from the first entry in the TypedDescriptions.

public static VopStatusCode GetVopStatusCode(this EbicsOrderInfo aOrderInfo)

Parameters

aOrderInfo EbicsOrderInfo

Returns

VopStatusCode

If the first description text contains a valid VopStatusCode, then it is returned. Otherwise zero is returned.

Exceptions

ArgumentNullException

The parameter aOrderInfo was null.

SetVopStatusCode(EbicsOrderInfo, VopStatusCode, string)

public static void SetVopStatusCode(this EbicsOrderInfo aOrderInfo, VopStatusCode nStatusCode, string sCloseMatchName = null)

Parameters

aOrderInfo EbicsOrderInfo
nStatusCode VopStatusCode
sCloseMatchName string

Optionally a close match name may be set together with the nStatusCode CloseMatch. If a sCloseMatchName is provided with another status, then an exception will be thrown.

Exceptions

ArgumentNullException

The parameter aOrderInfo was null.

ArgumentException