Class EbicsHxDResponseOrderData
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
AddressInfo
The AddressInfo element from the PartnerInfo element.
public EbicsAddressInfo AddressInfo { get; }
Property Value
BankInfo
The BankInfo element from the PartnerInfo element.
public EbicsBankInfo BankInfo { get; }
Property Value
OrderInfos
Collection of all OrderInfo elements that were received.
public EbicsAuthOrderInfos OrderInfos { get; }
Property Value
OrderType
protected string OrderType { get; }
Property Value
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 alsonull
. 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
UserInfos
Collection of all UserInfo elements that were received.
public EbicsUserInfos UserInfos { get; }
Property Value
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
XmlDocumentnVersion
EbicsVersion
Returns
Create(string)
public static EbicsHxDResponseOrderData Create(string sOrderType)
Parameters
sOrderType
string
Returns
GetOrderTypes(EbicsContact)
Collection of all order types from all order infos that were received.
public string[] GetOrderTypes(EbicsContact aContact)
Parameters
aContact
EbicsContactThe 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 alsonull
. 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
XmlElementnVersion
EbicsVersion