- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4
SubaccountsResource
        André Matthies edited this page Feb 6, 2025 
        ·
        1 revision
      
    - Full name: \Seven\Api\Resource\Subaccounts\SubaccountsResource
- Parent class: \Seven\Api\Resource\Resource
public delete(int $id): \Seven\Api\Resource\Subaccounts\SubaccountDeleteParameters:
| Parameter | Type | Description | 
|---|---|---|
| $id | int | 
Throws:
public read(int $id = null): \Seven\Api\Resource\Subaccounts\Subaccount[]Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $id | int | 
Throws:
public create(\Seven\Api\Resource\Subaccounts\CreateParams $params): \Seven\Api\Resource\Subaccounts\SubaccountCreateParameters:
| Parameter | Type | Description | 
|---|---|---|
| $params | \Seven\Api\Resource\Subaccounts\CreateParams | 
Throws:
public transferCredits(\Seven\Api\Resource\Subaccounts\TransferCreditsParams $params): \Seven\Api\Resource\Subaccounts\SubaccountTransferCreditsParameters:
| Parameter | Type | Description | 
|---|---|---|
| $params | \Seven\Api\Resource\Subaccounts\TransferCreditsParams | 
Throws:
public autoCharge(\Seven\Api\Resource\Subaccounts\AutoChargeParams $params): \Seven\Api\Resource\Subaccounts\SubaccountAutoChargedParameters:
| Parameter | Type | Description | 
|---|---|---|
| $params | \Seven\Api\Resource\Subaccounts\AutoChargeParams | 
Throws:
public __construct(\Seven\Api\Client $client): mixedParameters:
| Parameter | Type | Description | 
|---|---|---|
| $client | \Seven\Api\Client | 
Automatically generated on 2025-02-06