Class EbicsAccountInfo

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

Holds an EBICS AccountInfo XML element.

public class EbicsAccountInfo : EbicsElement
Inheritance
EbicsAccountInfo
Inherited Members

Properties

AccountHolder

The name of the account holder.

public string AccountHolder { get; set; }

Property Value

string

Remarks

This is extracted from the AccountHolder XML element. If no such element was found during parsing, then this will be null.

AccountHolderRole

Role of the account holder of this account in an order.

public string AccountHolderRole { get; set; }

Property Value

string

Remarks

This is only included in account informations from AccountInfos.

AcctNo

The domestic account number.

public string AcctNo { get; set; }

Property Value

string

Remarks

This is extracted from the AccountNumber element with an "international" attribute with value "false". If no such element was found during parsing, then this will be null.

AcctNoRole

Role of this account in an order.

public string AcctNoRole { get; set; }

Property Value

string

Remarks

This is only included in account informations from AccountInfos.

BIC

The BIC.

public string BIC { get; set; }

Property Value

string

Remarks

This is extracted from the BankCode element with an "international" attribute with value "true". If no such element was found during parsing, then this will be null.

BankCode

The bank code.

public string BankCode { get; set; }

Property Value

string

Remarks

This is extracted from the BankCode element with an "international" attribute with value "false". If no such element was found during parsing, then this will be null.

BankCodeRole

Role of this bank in an order.

public string BankCodeRole { get; set; }

Property Value

string

Remarks

This is only included in account informations from AccountInfos.

Currency

The value if the Currency attribute of the AccountInfo element.

public string Currency { get; set; }

Property Value

string

Remarks

If no Currency attribute was present while parsing the XML, then this will be null.

IBAN

The account IBAN.

public string IBAN { get; set; }

Property Value

string

Remarks

This is extracted from the AccountNumber element with an "international" attribute with value "true". If no such element was found during parsing, then this will be null.

ID

The value if the ID attribute of the AccountInfo element.

public string ID { get; set; }

Property Value

string

Remarks

If no ID attribute was present while parsing the XML, then this will be null.

Methods

AugmentAccountInfo(EbicsAccountInfo)

Augment account details missing in this instance, with account details from another EbicsAccountInfo instance.

public void AugmentAccountInfo(EbicsAccountInfo aAccountInfo)

Parameters

aAccountInfo EbicsAccountInfo

An EbicsAccountInfo instance that provides additional details for this account. This must essentially represent the same account, but with maybe more details. If this is null, then this method does nothing.

Remarks

Only details that are missing in this account, may be augmented with details from the given aAccountInfo.

BuildXml(XmlDocument, EbicsVersion)

public override XmlElement BuildXml(XmlDocument xmlDocument, EbicsVersion nVersion)

Parameters

xmlDocument XmlDocument
nVersion EbicsVersion

Returns

XmlElement

FromSepaAccount(SepaAccount)

public static EbicsAccountInfo FromSepaAccount(SepaAccount aSepaAccount)

Parameters

aSepaAccount SepaAccount

Returns

EbicsAccountInfo

FromSepaStatement(SepaStatement)

public static EbicsAccountInfo FromSepaStatement(SepaStatement aStatement)

Parameters

aStatement SepaStatement

Returns

EbicsAccountInfo

Exceptions

ArgumentException

ParseXml(XmlElement, EbicsVersion)

public override void ParseXml(XmlElement xmlElement, EbicsVersion nVersion)

Parameters

xmlElement XmlElement
nVersion EbicsVersion