Class FinAcctBalBuilder

Namespace
Subsembly.FinTS
Assembly
Subsembly.FinTS.Core.dll

Builder for account balance inquiry orders (HKSAL).

public class FinAcctBalBuilder : FinOrderBuilder
Inheritance
FinAcctBalBuilder
Inherited Members

Constructors

FinAcctBalBuilder(FinContact)

Creates a FinAcctBalBuilder instance based on the given bank parameter data.

public FinAcctBalBuilder(FinContact aContact)

Parameters

aContact FinContact

Contact data of a fully initialised and synchronised contact for which to create the FinAcctBalBuilder instance.

Methods

Build(FinAcct, bool)

Builds an account balance inquiry order for the given account.

public FinAcctBal Build(FinAcct aOrderAcct, bool fAllAcct)

Parameters

aOrderAcct FinAcct

The ordering customers account information. This must be specified as a valid ordering customers account, even if the the flag fAllAcct is true. Furthermore, this account must be enabled for balance inquiry orders.

fAllAcct bool

Indicates whether the balances of all accounts of the customer that owns the ordering account shall be returned (

true
), or whether only the balance of the given ordering account shall be returned.

Returns

FinAcctBal

Initialised instance of FinAcctBal that is ready to be executed.

Remarks

Please note that not all banks support the possibility of inquiring the balance of all accounts of the ordering customer. Hence, if the flag fAllAcct is

true
at these banks, then an error message will be returned.

On the other hand, if the flag fAllAcct is

true
, then some banks return balance information for accounts that do not appear in the user parameter data.