Class EbicsVopOrderInfo
Extensions for EbicsOrderInfo in order to support the Verification of Payee implementation.
Inheritance
Inherited Members
Namespace: Subsembly.EBICS
Assembly: Subsembly.EBICS.Core.dll
Syntax
public static class EbicsVopOrderInfo
Methods
GetVopCloseMatchName(EbicsOrderInfo)
In case of a VoP status code RVMC, this provides the correct name of the account owner.
Declaration
public static string GetVopCloseMatchName(this EbicsOrderInfo aOrderInfo)
Parameters
Type | Name | Description |
---|---|---|
EbicsOrderInfo | aOrderInfo |
Returns
Type | Description |
---|---|
System.String | If the VoP status code is not CloseMatch, then this
method returns |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter |
GetVopStatusCode(EbicsOrderInfo)
Attempts to derive the VoP Status Code for this order from the first entry in the TypedDescriptions.
Declaration
public static VopStatusCode GetVopStatusCode(this EbicsOrderInfo aOrderInfo)
Parameters
Type | Name | Description |
---|---|---|
EbicsOrderInfo | aOrderInfo |
Returns
Type | Description |
---|---|
VopStatusCode | If the first description text contains a valid VopStatusCode, then it is returned. Otherwise zero is returned. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter |
SetVopStatusCode(EbicsOrderInfo, VopStatusCode, String)
Declaration
public static void SetVopStatusCode(this EbicsOrderInfo aOrderInfo, VopStatusCode nStatusCode, string sCloseMatchName = null)
Parameters
Type | Name | Description |
---|---|---|
EbicsOrderInfo | aOrderInfo | |
VopStatusCode | nStatusCode | |
System.String | sCloseMatchName | Optionally a close match name may be set together with the |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter |
System.ArgumentException |