Class SepaPaymentInformation
Abstract base class for all SEPA Payment Information instances.
Inheritance
System.Object
SepaPaymentInformation
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
public abstract class SepaPaymentInformation : SepaPaymentTypeBase
Constructors
Declaration
public SepaPaymentInformation(bool fIsMandatory)
Parameters
Type |
Name |
Description |
System.Boolean |
fIsMandatory |
|
Properties
Selects whether all the transactions in the SEPA payment information
element are booked as a single batch payment or as individual payment entries.
Declaration
public SepaTriState BatchBooking { get; set; }
Property Value
Optional charge bearer code.
Declaration
public string ChargeBearer { get; set; }
Property Value
Type |
Description |
System.String |
Four letter code. The default value is "SLEV". If set to null , then no
ChrgBr element will be produced.
|
The computed sum over all transaction amounts.
Declaration
public decimal ControlSum { get; }
Property Value
Type |
Description |
System.Decimal |
|
Declaration
public override bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override bool IsSepaCompliant { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
The fundamental message type required by this payment information block.
Declaration
public abstract SepaMessageType MessageType { get; }
Property Value
The total number of transactions in this element.
Declaration
public int NumberOfTransactions { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public abstract SepaPartyIdentification OrderingParty { get; }
Property Value
Declaration
public abstract SepaAccount OrderingPartyAccount { get; }
Property Value
Declaration
public abstract SepaAgent OrderingPartyAgent { get; }
Property Value
Unique identification of this Payment Information.
Declaration
public string PaymentInformationIdentification { get; set; }
Property Value
Type |
Description |
System.String |
An arbitrary text with a maximum length of MaxIdLen (35)
characters. This property is initially set to an internally generated unique ID.
This property is optional in "pain.001.001.02" and "pain.008.001.01" messages,
and mandatory in "pain.001.002.03" and "pain.008.002.02" messages.
|
Exceptions
Type |
Condition |
System.ArgumentException |
An attempt was made to set a string longer than 35 characters,
or a string that contains invalid characters.
|
The Payment Method of the transactions.
Declaration
public string PaymentMethod { get; set; }
Property Value
Type |
Description |
System.String |
This usually is either TRF for Credit Transfers,
DD for Direct Debits, or
CHK for cheque payments.
|
Declaration
public abstract DateTime RequestedDate { get; }
Property Value
Type |
Description |
System.DateTime |
|
Offers access to the associated transaction information items.
There should be at least one transaction information item in the
returned collection.
Declaration
public SepaTransactionInformations TransactionInformations { get; }
Property Value
Methods
Declaration
public override void Clear()
Overrides
Creates a new transaction object owned by this payment block.
Declaration
public abstract SepaTransactionInformation NewTransactionInformation()
Returns
Declaration
protected override void OnAfterXmlRead(SepaMessageInfo aMessageInfo)
Parameters
Overrides
Declaration
protected override void OnValidate(ICollection<SepaException> vErrors, string sPath)
Parameters
Type |
Name |
Description |
System.Collections.Generic.ICollection<SepaException> |
vErrors |
|
System.String |
sPath |
|
Overrides