[':articleId' =>
$variant['articleId'
]] );
if (empty($tax)) { throw new CustomValidationException(sprintf('No product tax configured for variant: %s',
$variant['id'
]));
} $variant['prices'
] =
$this->
getArticleResource()->
getTaxPrices( $variant['prices'
],
(float) $tax );
return $variant;
} /**
* @param Collection<int, Image> $availableImages
*/
private function getAvailableMediaImage(Collection
$availableImages, int
$mediaId): ?Image
{