Class FinAcctBalBuilder
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
aContactFinContactContact 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
aOrderAcctFinAcctThe 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.
fAllAcctboolIndicates 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.true
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.