*** # Subaccount * Full name: `\Seven\Api\Resource\Subaccounts\Subaccount` ## Properties ### autoTopup ```php protected \Seven\Api\Resource\Subaccounts\AutoTopUp $autoTopup ``` *** ### balance ```php protected float $balance ``` *** ### company ```php protected ?string $company ``` *** ### contact ```php protected \Seven\Api\Resource\Subaccounts\SubaccountContact $contact ``` *** ### id ```php protected int $id ``` *** ### totalUsage ```php protected float $totalUsage ``` *** ### username ```php protected ?string $username ``` *** ## Methods ### __construct ```php public __construct(object $data): mixed ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$data` | **object** | | *** ### getAutoTopup ```php public getAutoTopup(): object ``` *** ### getBalance ```php public getBalance(): float ``` *** ### getCompany ```php public getCompany(): ?string ``` *** ### getContact ```php public getContact(): object ``` *** ### getId ```php public getId(): int ``` *** ### getTotalUsage ```php public getTotalUsage(): float ``` *** ### getUsername ```php public getUsername(): ?string ``` *** *** > Automatically generated on 2025-02-06