1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Pricing\Render;
- use Magento\Framework\Pricing\Amount\AmountInterface;
- use Magento\Framework\Pricing\SaleableInterface;
- use Magento\Framework\Pricing\Price\PriceInterface;
- /**
- * Price amount renderer interface
- *
- * @api
- * @since 100.0.2
- */
- interface AmountRenderInterface
- {
- /**
- * Enforce custom display price value
- *
- * @param float $value
- * @return void
- */
- public function setDisplayValue($value);
- /**
- * @return float
- */
- public function getDisplayValue();
- /**
- * Retrieve amount object
- *
- * @return AmountInterface
- */
- public function getAmount();
- /**
- * @return SaleableInterface
- */
- public function getSaleableItem();
- /**
- * @return PriceInterface
- */
- public function getPrice();
- /**
- * @return string
- */
- public function getDisplayCurrencyCode();
- /**
- * @return string
- */
- public function getDisplayCurrencySymbol();
- /**
- * @return string
- */
- public function getAdjustmentsHtml();
- }
|