Class EbicsHxDResponseOrderData

Namespace
Subsembly.EBICS
Assembly
Subsembly.EBICS.Core.dll

Holds the data of a HKDResponseOrderData or HTDResponseOrderData XML element.

public abstract class EbicsHxDResponseOrderData : EbicsElement
Inheritance
EbicsHxDResponseOrderData
Derived
Inherited Members

Constructors

EbicsHxDResponseOrderData(string)

protected EbicsHxDResponseOrderData(string sTagName)

Parameters

sTagName string

Properties

AccountInfos

Collection of all AccountInfo elements that were received.

public EbicsAccountInfos AccountInfos { get; }

Property Value

EbicsAccountInfos

AddressInfo

The AddressInfo element from the PartnerInfo element.

public EbicsAddressInfo AddressInfo { get; }

Property Value

EbicsAddressInfo

BankInfo

The BankInfo element from the PartnerInfo element.

public EbicsBankInfo BankInfo { get; }

Property Value

EbicsBankInfo

OrderInfos

Collection of all OrderInfo elements that were received.

public EbicsAuthOrderInfos OrderInfos { get; }

Property Value

EbicsAuthOrderInfos

OrderType

protected string OrderType { get; }

Property Value

string

OrderTypes

Collection of all order types from all order infos that were received. Consider calling GetOrderTypes(EbicsContact) instead of reading this property.

public string[] OrderTypes { get; }

Property Value

string[]

If OrderInfos is null, then this property is also null. Otherwise it is always non-null, but still may be empty.

Remarks

If these is a EbicsHTDResponseOrderData element obtained via EBICS 3.0 (or later), then an attempt is made to resolve the Service to a classic order type. See OrderType.

See Also

UserInfo

Convenience shortcut for accessing the first element of the UserInfos.

public EbicsUserInfo UserInfo { get; }

Property Value

EbicsUserInfo

UserInfos

Collection of all UserInfo elements that were received.

public EbicsUserInfos UserInfos { get; }

Property Value

EbicsUserInfos

Remarks

For a HTDResponseOrderData there must be always exactly one UserInfo element. For a HKDResponseOrderData there must be one or more UserInfo elements.

See Also

Methods

BuildXml(XmlDocument, EbicsVersion)

public override XmlElement BuildXml(XmlDocument xmlDocument, EbicsVersion nVersion)

Parameters

xmlDocument XmlDocument
nVersion EbicsVersion

Returns

XmlElement

Create(string)

public static EbicsHxDResponseOrderData Create(string sOrderType)

Parameters

sOrderType string

Returns

EbicsHxDResponseOrderData

GetOrderTypes(EbicsContact)

Collection of all order types from all order infos that were received.

public string[] GetOrderTypes(EbicsContact aContact)

Parameters

aContact EbicsContact

The EbicsContact to which this EbicsAuthOrderInfo belongs to. This is needed to properly derive the order type from the EbicsService when needed. If this is null, then the Default mapping is used.

Returns

string[]

If OrderInfos is null, then the return value is also null. Otherwise it is always non-null, but still may be empty.

Remarks

If these is a EbicsHTDResponseOrderData element obtained via EBICS 3.0 (or later), then an attempt is made to resolve the Service to a classic order type. See GetOrderType(EbicsContact).

ParseXml(XmlElement, EbicsVersion)

public override void ParseXml(XmlElement xmlElement, EbicsVersion nVersion)

Parameters

xmlElement XmlElement
nVersion EbicsVersion