Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\Pricing\SaleableInterface $saleableItem, $quantity, \Magento\Framework\Pricing\Adjustment\CalculatorInterface $calculator, \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency, PriceResolverInterface $priceResolver, LowestPriceOptionsProviderInterface $lowestPriceOptionsProvider=null) | |
getValue () | |
getAmount () | |
getMaxRegularAmount () | |
getMinRegularAmount () | |
![]() | |
__construct (SaleableInterface $saleableItem, $quantity, CalculatorInterface $calculator, \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency) | |
getValue () | |
getAmount () | |
getCustomAmount ($amount=null, $exclude=null, $context=[]) | |
getPriceCode () | |
getProduct () | |
getQuantity () | |
Data Fields | |
const | PRICE_CODE = 'regular_price' |
![]() | |
const | PRICE_CODE = 'abstract_price' |
Protected Member Functions | |
doGetMaxRegularAmount () | |
doGetMinRegularAmount () | |
getUsedProducts () | |
Protected Attributes | |
$maxRegularAmount | |
$minRegularAmount | |
$values = [] | |
$priceResolver | |
![]() | |
$amount | |
$calculator | |
$product | |
$priceType | |
$quantity | |
$priceInfo | |
$value | |
$priceCurrency | |
Class RegularPrice
Definition at line 16 of file ConfigurableRegularPrice.php.
__construct | ( | \Magento\Framework\Pricing\SaleableInterface | $saleableItem, |
$quantity, | |||
\Magento\Framework\Pricing\Adjustment\CalculatorInterface | $calculator, | ||
\Magento\Framework\Pricing\PriceCurrencyInterface | $priceCurrency, | ||
PriceResolverInterface | $priceResolver, | ||
LowestPriceOptionsProviderInterface | $lowestPriceOptionsProvider = null |
||
) |
\Magento\Framework\Pricing\SaleableInterface | $saleableItem | |
float | $quantity | |
\Magento\Framework\Pricing\Adjustment\CalculatorInterface | $calculator | |
\Magento\Framework\Pricing\PriceCurrencyInterface | $priceCurrency | |
PriceResolverInterface | $priceResolver | |
LowestPriceOptionsProviderInterface | $lowestPriceOptionsProvider |
Definition at line 61 of file ConfigurableRegularPrice.php.
|
protected |
Get max regular amount
Definition at line 111 of file ConfigurableRegularPrice.php.
|
protected |
Get min regular amount
Definition at line 139 of file ConfigurableRegularPrice.php.
getAmount | ( | ) |
Implements PriceInterface.
Definition at line 90 of file ConfigurableRegularPrice.php.
getMaxRegularAmount | ( | ) |
{Get max regular amount
Implements ConfigurableRegularPriceInterface.
Definition at line 98 of file ConfigurableRegularPrice.php.
getMinRegularAmount | ( | ) |
{Get min regular amount
Implements ConfigurableRegularPriceInterface.
Definition at line 126 of file ConfigurableRegularPrice.php.
|
protected |
Get children simple products
Definition at line 156 of file ConfigurableRegularPrice.php.
getValue | ( | ) |
{Get price value
Implements PriceInterface.
Definition at line 78 of file ConfigurableRegularPrice.php.
|
protected |
Definition at line 26 of file ConfigurableRegularPrice.php.
|
protected |
Definition at line 31 of file ConfigurableRegularPrice.php.
|
protected |
Definition at line 41 of file ConfigurableRegularPrice.php.
|
protected |
Definition at line 36 of file ConfigurableRegularPrice.php.
const PRICE_CODE = 'regular_price' |
Price type
Definition at line 21 of file ConfigurableRegularPrice.php.