Class EbicsOrderDetailsExtensions
Inheritance
Inherited Members
Namespace: Subsembly.EBICS
Assembly: Subsembly.EBICS.Core.dll
Syntax
public static class EbicsOrderDetailsExtensions
Methods
AugmentOrderDetails(EbicsOrderDetails, EbicsDataBuffer)
Declaration
public static SepaDocument AugmentOrderDetails(this EbicsOrderDetails aOrderDetails, EbicsDataBuffer aOrderData)
Parameters
Type | Name | Description |
---|---|---|
EbicsOrderDetails | aOrderDetails | An instance of EbicsOrderDetails that shall be augmented with the
payment details from the SEPA payment passed in |
EbicsDataBuffer | aOrderData | Order data obtained via HVT download. If this is |
Returns
Type | Description |
---|---|
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 |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
AugmentOrderDetails(EbicsOrderDetails, SepaDocument)
Declaration
public static bool AugmentOrderDetails(this EbicsOrderDetails aOrderDetails, SepaDocument aPainDocument)
Parameters
Type | Name | Description |
---|---|---|
EbicsOrderDetails | aOrderDetails | An instance of EbicsOrderDetails that shall be augmented with the
payment details from the SEPA payment passed in |
SepaDocument | aPainDocument | A SEPA document with payments, usually obtained through a HVT OrderData download. |
Returns
Type | Description |
---|---|
System.Boolean | If the order data was parsed successfully and the EbicsOrderDetails
have possibly been augmented, then |
Remarks
If not already present in aOrderDetails
, then this method may
provide any or all of
TotalOrders,
TotalAmount,
ScheduledDate,
BatchReference,
FirstOrderPartyInfo, and
FirstOrderAccountInfo.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |