EflClient
getBaseData
Retrieves calculation base data for the given transaction.
getBaseData() fetches calculation base data for a transaction and maps the JSON response into a CalculationData model.
It wraps CalculationApiClient::getBaseData().
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 getBaseData(string $transactionId, string $bearerToken): CalculationData
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
transactionId | string | Yes | Identifier of the transaction. |
bearerToken | string | Yes | Bearer token. |
Return value
- Type:
CalculationData– base data structure used in calculations.