SubAccounts.SubAccount

This APEX class provides programmatic access to a single Sub Account information contained in a TPM_SubAccounts instance.

Namespace 

1cgcloud

TPM_SubAccounts.SubAccount Methods 

The following are methods for TPM_SubAccounts.SubAccount.

global Boolean isIncluded 

Gets the included/excluded status of the sub account.

API Version 

55

Signature 

global Boolean isIncluded()

global Decimal getVolume 

Get the volume percent of the sub account.

API Version 

55

Signature 

global Decimal getVolume()

global String getAccountExternalId 

Gets the sub account Account External ID.

API Version 

55

Signature 

global String getAccountExternalId()

global SubAccount setAccountExternalId 

Sets the sub account account external ID.

API Version 

55

Signature 

global SubAccount setAccountExternalId(String value)

global SubAccount setIncluded 

Sets the sub account as included or excluded.

API Version 

55

Signature 

global SubAccount setIncluded(Boolean value)

global SubAccount setVolume 

Sets the sub account volume percent (Decimal between 0 and 100)

API Version 

55

Signature 

global SubAccount setVolume(Decimal volume)