: null;
} /**
* The `calculatedPrice` property returns the price of the product. The price object will
* be wrapped into a `PriceFacade` object which allows to manipulate the price.
*
* @return PriceFacade|null Returns a `PriceFacade` if the product has a price, otherwise `null`
*/
public function calculatedPrice(): ?PriceFacade
{ return $this->product->
get('calculatedPrice'
) ?
new PriceFacade( $this->product,
$this->product->
get('calculatedPrice'
),
$this->priceStubs,
$this->context
) : null;
} /**
* The `calculatedPrices` property returns the price of the product. The price object will
* be wrapped into a `PriceCollectionFacade` object which allows to manipulate the collection.
*
* @return PriceCollectionFacade|null Returns a `PriceCollectionFacade` if the product has graduated prices, otherwise `null`
*/