Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Data Fields
Weee Class Reference
Inheritance diagram for Weee:
ProductRenderCollectorInterface

Public Member Functions

 __construct (Data $weeeHelper, PriceCurrencyInterface $priceCurrency, WeeeAdjustmentAttributeInterfaceFactory $weeeAdjustmentAttributeFactory, \Magento\Catalog\Api\Data\ProductRender\PriceInfoExtensionInterfaceFactory $priceInfoExtensionFactory, FormattedPriceInfoBuilder $formattedPriceInfoBuilder)
 
- Public Member Functions inherited from ProductRenderCollectorInterface
 collect (ProductInterface $product, ProductRenderInterface $productRender)
 

Data Fields

const KEY = "weee_attributes"
 
const KEY_ADJUSTMENT = "weee_adjustment"
 

Detailed Description

Collect information about weee attributes of specific product and add this information into \Magento\Catalog\Api\Data\ProductRenderInterface Calculate weee taxes for each weee attribute

Definition at line 23 of file Weee.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( Data  $weeeHelper,
PriceCurrencyInterface  $priceCurrency,
WeeeAdjustmentAttributeInterfaceFactory  $weeeAdjustmentAttributeFactory,
\Magento\Catalog\Api\Data\ProductRender\PriceInfoExtensionInterfaceFactory  $priceInfoExtensionFactory,
FormattedPriceInfoBuilder  $formattedPriceInfoBuilder 
)
Parameters
Data$weeeHelper
PriceCurrencyInterface$priceCurrency
WeeeAdjustmentAttributeInterfaceFactory$weeeAdjustmentAttributeFactory
\Magento\Catalog\Api\Data\ProductRender\PriceInfoExtensionInterfaceFactory$priceInfoExtensionFactory
FormattedPriceInfoBuilder$formattedPriceInfoBuilder

Definition at line 63 of file Weee.php.

69  {
70  $this->weeeHelper = $weeeHelper;
71  $this->priceCurrency = $priceCurrency;
72  $this->weeeAdjustmentAttributeFactory = $weeeAdjustmentAttributeFactory;
73  $this->formattedPriceInfoBuilder = $formattedPriceInfoBuilder;
74  $this->priceInfoExtensionFactory = $priceInfoExtensionFactory;
75  }

Field Documentation

◆ KEY

const KEY = "weee_attributes"

Weee attribute key

Definition at line 26 of file Weee.php.

◆ KEY_ADJUSTMENT

const KEY_ADJUSTMENT = "weee_adjustment"

Wee adjustment key

Definition at line 29 of file Weee.php.


The documentation for this class was generated from the following file: