if (!
$this->
isRequestScoped($request, ApiContextRouteScopeDependant::
class)) { return;
} $params =
$this->
getContextParameters($request);
$languageIdChain =
$this->
getLanguageIdChain($params);
$rounding =
$this->
getCashRounding($params['currencyId'
]);
$context =
new Context( $this->
resolveContextSource($request),
[],
$params['currencyId'
],
$languageIdChain,
$params['versionId'
] ?? Defaults::LIVE_VERSION,
$params['currencyFactory'
],
$params['considerInheritance'
],
CartPrice::TAX_STATE_GROSS,
$rounding );
if ($request->headers->
has(PlatformRequest::HEADER_SKIP_TRIGGER_FLOW
)) {