Class SepaStructuredRemittanceInformation
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
fIsMandatorybool
SepaStructuredRemittanceInformation(string)
public SepaStructuredRemittanceInformation(string sTagName)
Parameters
sTagNamestring
SepaStructuredRemittanceInformation(string, bool)
public SepaStructuredRemittanceInformation(string sTagName, bool fIsMandatory)
Parameters
Properties
AdditionalRemittanceInformation
public string[] AdditionalRemittanceInformation { get; set; }
Property Value
- string[]
CreditorReference
Optional creditor reference.
public string CreditorReference { get; set; }
Property Value
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
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
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
Methods
Clear()
public override void Clear()
OnReadXml(XmlReader, SepaMessageInfo)
protected override void OnReadXml(XmlReader aXmlReader, SepaMessageInfo aMessageInfo)
Parameters
aXmlReaderXmlReaderaMessageInfoSepaMessageInfo
OnValidate(ICollection<SepaException>, string)
protected override void OnValidate(ICollection<SepaException> vErrors, string sPath)
Parameters
vErrorsICollection<SepaException>sPathstring
OnWriteXml(XmlWriter, SepaMessageInfo)
protected override void OnWriteXml(XmlWriter aXmlWriter, SepaMessageInfo aMessageInfo)
Parameters
aXmlWriterXmlWriteraMessageInfoSepaMessageInfo
SetAdditionalRemittanceInformation(params string[])
public void SetAdditionalRemittanceInformation(params string[] vsAddtlRmtInf)
Parameters
vsAddtlRmtInfstring[]