Class SepaOriginalPaymentInformation
Original Payment Information and Status (OrgnlPmtInfAndSts) element of a Payment Status Report (pain.002) document.
public class SepaOriginalPaymentInformation : SepaObject, ISepaStatusAndReasonInformation
- Inheritance
-
SepaOriginalPaymentInformation
- Implements
- Inherited Members
- Extension Methods
Constructors
SepaOriginalPaymentInformation()
public SepaOriginalPaymentInformation()
Properties
IsEmpty
public override bool IsEmpty { get; }
Property Value
NumberOfTransactionsPerStatus
public SepaNumberOfTransactionsPerStatusCollection NumberOfTransactionsPerStatus { get; }
Property Value
OriginalControlSum
Original control sum
public decimal OriginalControlSum { get; set; }
Property Value
- decimal
If this is zero, then the OrgnlCtrlSum is not included in the XML. Value must not be negative.
OriginalNumberOfTransactions
Optional original number of transactions.
public int OriginalNumberOfTransactions { get; set; }
Property Value
- int
If this is zero, then the OrgnlNbOfTxs is not included in the XML. Value must not be negative.
OriginalPaymentInformationIdentification
Unique identification of the original Payment Information.
public string OriginalPaymentInformationIdentification { get; set; }
Property Value
OriginalTransactionInformations
Collection of all Original Transaction Information and Status of this original payment information.
public SepaOriginalTransactionInformations OriginalTransactionInformations { get; }
Property Value
PaymentInformationStatus
The optional payment information status.
public string PaymentInformationStatus { get; set; }
Property Value
Status
Returns PaymentInformationStatus.
public string Status { get; }
Property Value
StatusReasonInformations
The Status Reason Informations for this instance.
public SepaStatusReasonInformations StatusReasonInformations { get; }
Property Value
Methods
Clear()
public override void Clear()
OnReadXml(XmlReader, SepaMessageInfo)
protected override void OnReadXml(XmlReader aXmlReader, SepaMessageInfo aMessageInfo)
Parameters
aXmlReaderXmlReaderaMessageInfoSepaMessageInfo
OnValidate(ICollection<SepaException>, string)
protected override void OnValidate(ICollection<SepaException> vErrors, string sPath)
Parameters
vErrorsICollection<SepaException>sPathstring
OnWriteXml(XmlWriter, SepaMessageInfo)
protected override void OnWriteXml(XmlWriter aXmlWriter, SepaMessageInfo aMessageInfo)
Parameters
aXmlWriterXmlWriteraMessageInfoSepaMessageInfo
SetUncheckedOriginalPaymentInformationIdentification(string)
Set the element value of the OriginalPaymentInformationIdentification without validating the character set or length of the given value.
public void SetUncheckedOriginalPaymentInformationIdentification(string sOrgnlPmtInfId)
Parameters
sOrgnlPmtInfIdstring
Remarks
Alas, this method is needed to support creating the pain.002 for an EBICS HAC protcol, where the OriginalPaymentInformationIdentification is specified to contain values such as "FILE_UPLOAD" or "ORDER_HAC_FINAL_NEG". All these values contain the underscore "_" character, which is not allowed in an identification.