Class SepaStructuredRemittanceInformation

Namespace
Subsembly.Sepa
Assembly
Subsembly.Sepa.dll

Represents a Structured Remittance Information element as it occurs in a SepaRemittanceInformation.

public sealed class SepaStructuredRemittanceInformation : SepaObject
Inheritance
SepaStructuredRemittanceInformation
Inherited Members

Constructors

SepaStructuredRemittanceInformation()

public SepaStructuredRemittanceInformation()

SepaStructuredRemittanceInformation(bool)

Creates a SepaStructuredRemittanceInformation with the default TagName "Strd".

public SepaStructuredRemittanceInformation(bool fIsMandatory)

Parameters

fIsMandatory bool

SepaStructuredRemittanceInformation(string)

public SepaStructuredRemittanceInformation(string sTagName)

Parameters

sTagName string

SepaStructuredRemittanceInformation(string, bool)

public SepaStructuredRemittanceInformation(string sTagName, bool fIsMandatory)

Parameters

sTagName string
fIsMandatory bool

Properties

AdditionalRemittanceInformation

public string[] AdditionalRemittanceInformation { get; set; }

Property Value

string[]

CreditorReference

Optional creditor reference.

public string CreditorReference { get; set; }

Property Value

string

Exceptions

ArgumentException

An attempt was made to set a string longer than 35 characters.

CreditorReferenceTypeCode

The creditor reference document type code identifies the type of the CreditorReference.

public string CreditorReferenceTypeCode { get; set; }

Property Value

string

Remarks

Only either CreditorReferenceTypeCode, or CreditorReferenceTypeProprietary may be set, but not both.

Exceptions

ArgumentException

An attempt was made to set a value that is not a syntactically valid code.

CreditorReferenceTypeProprietary

The creditor reference document type proprietary value is an alternative way to specify the type of the CreditorReference.

public string CreditorReferenceTypeProprietary { get; set; }

Property Value

string

Remarks

Only either CreditorReferenceTypeCode, or CreditorReferenceTypeProprietary may be set, but not both.

Exceptions

ArgumentException

An attempt was made to set a value that is not a syntactically valid code.

IsEmpty

public override bool IsEmpty { get; }

Property Value

bool

Methods

Clear()

public override void Clear()

OnReadXml(XmlReader, SepaMessageInfo)

protected override void OnReadXml(XmlReader aXmlReader, SepaMessageInfo aMessageInfo)

Parameters

aXmlReader XmlReader
aMessageInfo SepaMessageInfo

OnValidate(ICollection<SepaException>, string)

protected override void OnValidate(ICollection<SepaException> vErrors, string sPath)

Parameters

vErrors ICollection<SepaException>
sPath string

OnWriteXml(XmlWriter, SepaMessageInfo)

protected override void OnWriteXml(XmlWriter aXmlWriter, SepaMessageInfo aMessageInfo)

Parameters

aXmlWriter XmlWriter
aMessageInfo SepaMessageInfo

SetAdditionalRemittanceInformation(params string[])

public void SetAdditionalRemittanceInformation(params string[] vsAddtlRmtInf)

Parameters

vsAddtlRmtInf string[]