Class SepaBankToCustomerMessage
Generic base class for all UNIFI Cash Management Messages (camt).
Inheritance
Inherited Members
Namespace: Subsembly.Sepa
Assembly: Subsembly.Sepa.dll
Syntax
public class SepaBankToCustomerMessage : SepaMessage
Remarks
This class provides the complete implementation of "camt.052", "camt.053", and "camt.054". Differences are handled when reading or writing XML by switching according to the actual message type.
Constructors
SepaBankToCustomerMessage(String, SepaMessageType)
Declaration
public SepaBankToCustomerMessage(string sMessageTagName, SepaMessageType nMessageType)
Parameters
Type | Name | Description |
---|---|---|
System.String | sMessageTagName | |
SepaMessageType | nMessageType |
Fields
STMTTAG_ACCOUNTREPORT
The XML statement tag for messages of type BankToCustomerAccountReport.
Declaration
public const string STMTTAG_ACCOUNTREPORT = "Rpt"
Field Value
Type | Description |
---|---|
System.String |
STMTTAG_DEBITCREDITNOTIFICATION
The XML statement tag for messages of type BankToCustomerDebitCreditNotification.
Declaration
public const string STMTTAG_DEBITCREDITNOTIFICATION = "Ntfctn"
Field Value
Type | Description |
---|---|
System.String |
STMTTAG_STATEMENT
The XML statement tag for messages of type BankToCustomerStatement.
Declaration
public const string STMTTAG_STATEMENT = "Stmt"
Field Value
Type | Description |
---|---|
System.String |
Properties
AdditionalInformation
Additional information text pertaining to the message.
Declaration
public string AdditionalInformation { get; set; }
Property Value
Type | Description |
---|---|
System.String | The additional information is optional and may be |
MessageRecipient
The intended recipient for this message.
Declaration
public SepaPartyIdentification MessageRecipient { get; }
Property Value
Type | Description |
---|---|
SepaPartyIdentification |
Remarks
Only the properties Name, BIC, and EBICSPartnerId may be used.
Statement
Convenience accessor to the first statement of this bank to customer message.
Declaration
public SepaStatement Statement { get; }
Property Value
Type | Description |
---|---|
SepaStatement |
Remarks
If the Statements collection is empty, then reading this property will automatically create and add a new SepaStatement object to it. This is done in order to remain backward compatble with previous versions.
Statements
The statement sequence of this SEPA document.
Declaration
public SepaStatements Statements { get; }
Property Value
Type | Description |
---|---|
SepaStatements | This property is never |
StatementTag
The XML tag used by the contained SepaStatement objects.
Declaration
public string StatementTag { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clear()
Declaration
public override void Clear()
Overrides
GetStatementTag(SepaMessageType)
Declaration
public static string GetStatementTag(SepaMessageType nMessageType)
Parameters
Type | Name | Description |
---|---|---|
SepaMessageType | nMessageType |
Returns
Type | Description |
---|---|
System.String |
NewStatement()
Creates a new SepaStatement of a type that is appropriate to this container.
Declaration
public SepaStatement NewStatement()
Returns
Type | Description |
---|---|
SepaStatement |
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 |