27 lines
681 B
PHP
Executable File
27 lines
681 B
PHP
Executable File
<?php
|
|
namespace Magento\Tax\Api\Data;
|
|
|
|
/**
|
|
* Extension class for @see \Magento\Tax\Api\Data\QuoteDetailsItemInterface
|
|
*/
|
|
class QuoteDetailsItemExtension extends \Magento\Framework\Api\AbstractSimpleObject implements QuoteDetailsItemExtensionInterface
|
|
{
|
|
/**
|
|
* @return float|null
|
|
*/
|
|
public function getPriceForTaxCalculation()
|
|
{
|
|
return $this->_get('price_for_tax_calculation');
|
|
}
|
|
|
|
/**
|
|
* @param float $priceForTaxCalculation
|
|
* @return $this
|
|
*/
|
|
public function setPriceForTaxCalculation($priceForTaxCalculation)
|
|
{
|
|
$this->setData('price_for_tax_calculation', $priceForTaxCalculation);
|
|
return $this;
|
|
}
|
|
}
|