SubAccounts
Creates an empty sub accounts structure.
Namespace
1cgcloudTPM_SubAccounts Methods
The following are methods for TPM_Scenarios.ScenarioParameter.
global List<SubAccount> getSubAccounts
Returns the list of all sub accounts in the sub accounts instance.
API Version
55
Signature
global List<SubAccount> getSubAccounts()
global Object toGenericObject
Serializes the sub accounts information into a generic object. Useful for usage on
remote calls.
API Version
55
Signature
global Object toGenericObject()
global String toJSON
Serializes the sub accounts information into a String used for storage.
API Version
55
Signature
global String toJSON()
global SubAccount addSubAccount
Adds a sub account information to the current SubAccounts instance. The parameters are
the Account External Id, a flag to determine if the sub account is included or excluded and it’s
volume percentage (between 0 and 100).
API Version
55
Signature
global SubAccount addSubAccount(String externalid, Boolean included, Decimal volume)
global TPM_SubAccounts
Creates an empty sub accounts structure.
API Version
55
Signature
global TPM_SubAccounts
global TPM_SubAccounts load
Loads the serialized sub accounts information into the current instance. The current
instance will be cleared and the sub accounts represented by the payload will be
loaded.
API Version
55
Signature
global TPM_SubAccounts load(String payload)
global TPM_SubAccounts load
Loads the sub accounts information from the parameter generic object. The current
instance will be cleared and the sub accounts represented by the payload will be
loaded.
API Version
55
Signature
global TPM_SubAccounts load(Object data)