Class SepaPaymentInitiation
Abstract base class for all SEPA Payment Initiation (pain) XML messages.
Inheritance
System.Object
SepaPaymentInitiation
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Subsembly.Sepa.dll
Syntax
public abstract class SepaPaymentInitiation : SepaMessage
Constructors
SepaPaymentInitiation(String, SepaMessageType)
Declaration
public SepaPaymentInitiation(string sPainTag, SepaMessageType nMessageType)
Parameters
Properties
ControlSum
The computed sum over all transaction amounts.
Declaration
public decimal ControlSum { get; }
Property Value
Type |
Description |
System.Decimal |
|
InitiatingParty
Originator of the message.
Declaration
public SepaPartyIdentification InitiatingParty { get; }
Property Value
Type |
Description |
SepaPartyIdentification |
Instance of a SepaPartyIdentification that is owned by this class.
Initial this instance is empty. The Initiating Party is a required element an the
Name property of the Party Identification
must always be set.
|
NumberOfTransactions
The (calculated) total number of transactions.
Declaration
public int NumberOfTransactions { get; }
Property Value
Type |
Description |
System.Int32 |
|
The Payment Informations sequence of this SEPA document.
Declaration
public SepaPaymentInformations PaymentInformations { get; }
Property Value
Methods
Clear()
Declaration
public override void Clear()
Overrides
New(String)
Declaration
public static SepaPaymentInitiation New(string sPaymentMethod)
Parameters
Type |
Name |
Description |
System.String |
sPaymentMethod |
|
Returns
Creates an associated payment information object. Use the Add method
of the PaymentInformations property to include this single SEPA payment
information into the SEPA message object.
Declaration
public abstract SepaPaymentInformation NewPaymentInformation()
Returns
OnAfterXmlRead(SepaMessageInfo)
Declaration
protected override void OnAfterXmlRead(SepaMessageInfo aMessageInfo)
Parameters
Overrides
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 |
|
Overrides