Class SepaBankToCustomerMessage

Namespace
Subsembly.Sepa
Assembly
Subsembly.Sepa.dll

Generic base class for all UNIFI Cash Management Messages (camt).

public class SepaBankToCustomerMessage : SepaMessage
Inheritance
SepaBankToCustomerMessage
Derived
Inherited Members

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)

public SepaBankToCustomerMessage(string sMessageTagName, SepaMessageType nMessageType)

Parameters

sMessageTagName string
nMessageType SepaMessageType

Fields

STMTTAG_ACCOUNTREPORT

The XML statement tag for messages of type BankToCustomerAccountReport.

public const string STMTTAG_ACCOUNTREPORT = "Rpt"

Field Value

string

STMTTAG_DEBITCREDITNOTIFICATION

The XML statement tag for messages of type BankToCustomerDebitCreditNotification.

public const string STMTTAG_DEBITCREDITNOTIFICATION = "Ntfctn"

Field Value

string

STMTTAG_STATEMENT

The XML statement tag for messages of type BankToCustomerStatement.

public const string STMTTAG_STATEMENT = "Stmt"

Field Value

string

Properties

AdditionalInformation

Additional information text pertaining to the message.

public string AdditionalInformation { get; set; }

Property Value

string

The additional information is optional and may be null.

MessageRecipient

The intended recipient for this message.

public SepaPartyIdentification MessageRecipient { get; }

Property Value

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.

public SepaStatement Statement { get; }

Property Value

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.

StatementTag

The XML tag used by the contained SepaStatement objects.

public string StatementTag { get; }

Property Value

string

Statements

The statement sequence of this SEPA document.

public SepaStatements Statements { get; }

Property Value

SepaStatements

This property is never null, but the SepaStatements instance may be empty.

Methods

Clear()

public override void Clear()

GetStatementTag(SepaMessageType)

public static string GetStatementTag(SepaMessageType nMessageType)

Parameters

nMessageType SepaMessageType

Returns

string

NewStatement()

Creates a new SepaStatement of a type that is appropriate to this container.

public SepaStatement NewStatement()

Returns

SepaStatement

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