Class FinAcctBalBuilder
Builder for account balance inquiry orders (HKSAL).
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinAcctBalBuilder : FinOrderBuilder
Constructors
FinAcctBalBuilder(FinContact)
Creates a FinAcctBalBuilder instance based on the given bank parameter data.
Declaration
public FinAcctBalBuilder(FinContact aContact)
Parameters
Type | Name | Description |
---|---|---|
FinContact | aContact | Contact data of a fully initialised and synchronised contact for which to create the FinAcctBalBuilder instance. |
Methods
Build(FinAcct, Boolean)
Builds an account balance inquiry order for the given account.
Declaration
public FinAcctBal Build(FinAcct aOrderAcct, bool fAllAcct)
Parameters
Type | Name | Description |
---|---|---|
FinAcct | aOrderAcct | 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. |
System.Boolean | fAllAcct | Indicates whether the balances of all accounts of the customer that owns the ordering account shall be returned ( ), or whether only the
balance of the given ordering account shall be returned.
|
Returns
Type | Description |
---|---|
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.