Class EbicsOrderDetailsExtensions
public static class EbicsOrderDetailsExtensions
- Inheritance
-
EbicsOrderDetailsExtensions
- Inherited Members
Methods
AugmentOrderDetails(EbicsOrderDetails, EbicsDataBuffer)
public static SepaDocument AugmentOrderDetails(this EbicsOrderDetails aOrderDetails, EbicsDataBuffer aOrderData)
Parameters
aOrderDetailsEbicsOrderDetailsAn instance of EbicsOrderDetails that shall be augmented with the payment details from the SEPA payment passed in
aOrderData. This must not benull.aOrderDataEbicsDataBufferOrder data obtained via HVT download. If this is
null, then this method does nothing and returnsfalse
Returns
- SepaDocument
If the order data was parsed successfully into a SepaDocument, and the EbicsOrderDetails have possibly been augmented, then the parsed SepaDocument is returned. If the order data could not be processed, then
nullis returned.
Exceptions
AugmentOrderDetails(EbicsOrderDetails, SepaDocument)
public static bool AugmentOrderDetails(this EbicsOrderDetails aOrderDetails, SepaDocument aPainDocument)
Parameters
aOrderDetailsEbicsOrderDetailsAn instance of EbicsOrderDetails that shall be augmented with the payment details from the SEPA payment passed in
aPainDocument. This must not benull.aPainDocumentSepaDocumentA SEPA document with payments, usually obtained through a HVT OrderData download.
Returns
- bool
If the order data was parsed successfully and the EbicsOrderDetails have possibly been augmented, then
trueis returned. If the order data could not be processed, thenfalseis returned.
Remarks
If not already present in aOrderDetails, then this method may
provide any or all of
TotalOrders,
TotalAmount,
ScheduledDate,
BatchReference,
FirstOrderPartyInfo, and
FirstOrderAccountInfo.