/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Pricing/Price/PriceInterface.php
50 строк
906 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2014 Adobe * All Rights Reserved. */ namespace Magento\Framework\Pricing\Price; use Magento\Framework\Pricing\Amount\AmountInterface; /** * Catalog price interface * * @api * @since 100.0.2 */ interface PriceInterface { /** * Get price type code * * @return string */ public function getPriceCode(); /** * Get price value * * @return float */ public function getValue(); /** * Get Price Amount object * * @return AmountInterface */ public function getAmount(); /** * Get Custom Amount object * (specify adjustment code to exclude) * * @param float $amount * @param null|bool|string|array $exclude * @param null|array $context * @return AmountInterface */ public function getCustomAmount($amount = null, $exclude = null, $context = []); }