Class VopOriginalTransactionInformation
Extensions for SepaOriginalTransactionInformation in order to support the German Verification of Payee implementation.
Inheritance
Inherited Members
Namespace: Subsembly.Sepa.VerificationOfPayee
Assembly: Subsembly.Sepa.dll
Syntax
public static class VopOriginalTransactionInformation
Methods
GetVopCloseMatchName(SepaOriginalTransactionInformation)
In case of a VoP status code RVMC, this provides the correct name of the account owner.
Declaration
public static string GetVopCloseMatchName(this SepaOriginalTransactionInformation aTxInfAndSts)
Parameters
Type | Name | Description |
---|---|---|
SepaOriginalTransactionInformation | aTxInfAndSts |
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(SepaOriginalTransactionInformation)
The TransactionStatus converted to a VoP status code.
Declaration
public static VopStatusCode GetVopStatusCode(this SepaOriginalTransactionInformation aTxInfAndSts)
Parameters
Type | Name | Description |
---|---|---|
SepaOriginalTransactionInformation | aTxInfAndSts |
Returns
Type | Description |
---|---|
VopStatusCode |
Remarks
If the TransactionStatus does not contain a valid VoP status code, then this method returns zero.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter |
SetVopStatusCode(SepaOriginalTransactionInformation, VopStatusCode, String)
Sets the TransactionStatus with the string value from a VopStatusCode and an optional close match name.
Declaration
public static void SetVopStatusCode(this SepaOriginalTransactionInformation aTxInfAndSts, VopStatusCode nStatusCode, string sCloseMatchName)
Parameters
Type | Name | Description |
---|---|---|
SepaOriginalTransactionInformation | aTxInfAndSts | |
VopStatusCode | nStatusCode | |
System.String | sCloseMatchName | Optionally a close match name may be set together with the |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter |