Class EbicsOrderDetailsExtensions
public static class EbicsOrderDetailsExtensions
- Inheritance
-
EbicsOrderDetailsExtensions
- Inherited Members
Methods
AugmentOrderDetails(EbicsOrderDetails, EbicsDataBuffer)
public static SepaDocument AugmentOrderDetails(this EbicsOrderDetails aOrderDetails, EbicsDataBuffer aOrderData)
Parameters
aOrderDetails
EbicsOrderDetailsAn instance of EbicsOrderDetails that shall be augmented with the payment details from the SEPA payment passed in
aOrderData
. This must not benull
.aOrderData
EbicsDataBufferOrder 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
null
is returned.
Exceptions
AugmentOrderDetails(EbicsOrderDetails, SepaDocument)
public static bool AugmentOrderDetails(this EbicsOrderDetails aOrderDetails, SepaDocument aPainDocument)
Parameters
aOrderDetails
EbicsOrderDetailsAn instance of EbicsOrderDetails that shall be augmented with the payment details from the SEPA payment passed in
aPainDocument
. This must not benull
.aPainDocument
SepaDocumentA 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
true
is returned. If the order data could not be processed, thenfalse
is returned.
Remarks
If not already present in aOrderDetails
, then this method may
provide any or all of
TotalOrders,
TotalAmount,
ScheduledDate,
BatchReference,
FirstOrderPartyInfo, and
FirstOrderAccountInfo.