EflClient
getSectorClassAndType
Returns sector, class and product type information for the given transaction.
getSectorClassAndType() retrieves sector, class and product type information in the context of a transaction.
It wraps ProductsApiClient::getSectorClassAndType() and maps the response to SectorProductInfoTree.
All methods on EflClient may throw:
ApiException– when the EFL API returns an error response.HttpException– when the HTTP transport fails.
Method signature
public function getSectorClassAndType(
string $transactionId,
string $bearerToken
): SectorProductInfoTree
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
transactionId | string | Yes | Identifier of the transaction. |
bearerToken | string | Yes | Bearer token. |
Return value
- Type:
SectorProductInfoTree– sector, class and type information tree.