Class SepaStructuredRegulatoryReporting
Regulatory information - Structured detailed information
Inherited Members
Namespace: Subsembly.Sepa
Assembly: Subsembly.Sepa.dll
Syntax
public sealed class SepaStructuredRegulatoryReporting : SepaObject
Constructors
SepaStructuredRegulatoryReporting()
Declaration
public SepaStructuredRegulatoryReporting()
Properties
Amount
Amount of money to be reported for the regulatory and statutory requirements.
Declaration
public SepaAmount Amount { get; }
Property Value
Type | Description |
---|---|
SepaAmount |
Code
Nature, purpose and reason (Max10Text) Code value given by corresponding Central Bank.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | An attempt was made to set a code string that was too long. |
Country
Two letter ISO country code.
Declaration
public string Country { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | An attempt was made to set a country code that did not consist of exactly two upper case letters. |
Date
Date of information
Declaration
public DateTime Date { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Remarks
It is recommended to use a pure date value where the time is 00:00:00.
Use DateTime.MinValue to express "No date".
Information
Get or set(replace) "Additional details that cater for specific domestic regulatory requirements"
Declaration
public string[] Information { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Remarks
pain.001.001.03 (Sweden): Additional narrative for the given code is required in case of using Norwegian debtor account when payment amount counter-value exceeds local regulatory reporting limit. Also, the VO code for RUB payments to Russia should be stated here.
IsEmpty
Declaration
public override bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Type
Type of information
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
AddInformation(String)
Add/append another item to the information collection.
Declaration
public bool AddInformation(string sInf)
Parameters
Type | Name | Description |
---|---|---|
System.String | sInf |
Returns
Type | Description |
---|---|
System.Boolean | true, if the information was added; false, otherwise (normally because trimmed string was empty). |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | The (trimmed) information string was too long. |
Clear()
Declaration
public override void Clear()
Overrides
ClearInformation()
Clears the information collection
Declaration
public void ClearInformation()
OnReadXml(XmlReader, SepaMessageInfo)
Declaration
protected override void OnReadXml(XmlReader aXmlReader, SepaMessageInfo aMessageInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | aXmlReader | |
SepaMessageInfo | aMessageInfo |
Overrides
OnValidate(ICollection<SepaException>, String)
Declaration
protected override void OnValidate(ICollection<SepaException> vErrors, string sPath)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<SepaException> | vErrors | |
System.String | sPath |
Overrides
OnWriteXml(XmlWriter, SepaMessageInfo)
Declaration
protected override void OnWriteXml(XmlWriter aXmlWriter, SepaMessageInfo aMessageInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | aXmlWriter | |
SepaMessageInfo | aMessageInfo |