Class EbicsOrderDetailsExtensions

Namespace
Subsembly.EBICS
Assembly
Subsembly.EBICS.Core.dll
public static class EbicsOrderDetailsExtensions
Inheritance
EbicsOrderDetailsExtensions
Inherited Members

Methods

AugmentOrderDetails(EbicsOrderDetails, EbicsDataBuffer)

public static SepaDocument AugmentOrderDetails(this EbicsOrderDetails aOrderDetails, EbicsDataBuffer aOrderData)

Parameters

aOrderDetails EbicsOrderDetails

An instance of EbicsOrderDetails that shall be augmented with the payment details from the SEPA payment passed in aOrderData. This must not be null.

aOrderData EbicsDataBuffer

Order data obtained via HVT download. If this is null, then this method does nothing and returns false

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

ArgumentNullException

AugmentOrderDetails(EbicsOrderDetails, SepaDocument)

public static bool AugmentOrderDetails(this EbicsOrderDetails aOrderDetails, SepaDocument aPainDocument)

Parameters

aOrderDetails EbicsOrderDetails

An instance of EbicsOrderDetails that shall be augmented with the payment details from the SEPA payment passed in aPainDocument. This must not be null.

aPainDocument SepaDocument

A 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, then false 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.

Exceptions

ArgumentNullException