Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
BundleCalculatorInterface.php
Go to the documentation of this file.
1 <?php
8 
11 
16 {
23  public function getMaxAmount($amount, Product $saleableItem, $exclude = null);
24 
31  public function getMaxRegularAmount($amount, Product $saleableItem, $exclude = null);
32 
39  public function getMinRegularAmount($amount, Product $saleableItem, $exclude = null);
40 
50  public function getOptionsAmount(
51  Product $saleableItem,
52  $exclude = null,
53  $searchMin = true,
54  $bundleProductAmount = null
55  );
56 
66  public function calculateBundleAmount($basePriceValue, $bundleProduct, $selectionPriceList, $exclude = null);
67 
76  public function createSelectionPriceList($option, $bundleProduct, $useRegularPrice = false);
77 
86  public function processOptions($option, $selectionPriceList, $searchMin = true);
87 
93  public function getAmountWithoutOption($amount, Product $saleableItem);
94 }
createSelectionPriceList($option, $bundleProduct, $useRegularPrice=false)
getMaxRegularAmount($amount, Product $saleableItem, $exclude=null)
getMaxAmount($amount, Product $saleableItem, $exclude=null)
$amount
Definition: order.php:14
processOptions($option, $selectionPriceList, $searchMin=true)
getMinRegularAmount($amount, Product $saleableItem, $exclude=null)
calculateBundleAmount($basePriceValue, $bundleProduct, $selectionPriceList, $exclude=null)
$bundleProduct
getOptionsAmount(Product $saleableItem, $exclude=null, $searchMin=true, $bundleProductAmount=null)