| Current Path : /var/www/www.indacotrentino.com/www/vendor/magento/module-tax/Api/Data/ |
| Current File : /var/www/www.indacotrentino.com/www/vendor/magento/module-tax/Api/Data/TaxDetailsItemInterface.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Tax\Api\Data;
/**
* Tax details items interface.
* @api
* @since 100.0.2
*/
interface TaxDetailsItemInterface extends \Magento\Framework\Api\ExtensibleDataInterface
{
/**
* Get code (sku or shipping code)
*
* @return string|null
*/
public function getCode();
/**
* Set code (sku or shipping code)
*
* @param string $code
* @return $this
*/
public function setCode($code);
/**
* Get type (shipping, product, weee, gift wrapping, etc
*
* @return string|null
*/
public function getType();
/**
* Set type (shipping, product, weee, gift wrapping, etc
*
* @param string $type
* @return $this
*/
public function setType($type);
/**
* Get tax_percent
*
* @return float
*/
public function getTaxPercent();
/**
* Set tax_percent
*
* @param float $taxPercent
* @return $this
*/
public function setTaxPercent($taxPercent);
/**
* Get price
*
* @return float
*/
public function getPrice();
/**
* Set price
*
* @param float $price
* @return $this
*/
public function setPrice($price);
/**
* Get price including tax
*
* @return float
*/
public function getPriceInclTax();
/**
* Set price including tax
*
* @param float $priceInclTax
* @return $this
*/
public function setPriceInclTax($priceInclTax);
/**
* Get row total
*
* @return float
*/
public function getRowTotal();
/**
* Set row total
*
* @param float $rowTotal
* @return $this
*/
public function setRowTotal($rowTotal);
/**
* Get row total including tax
*
* @return float
*/
public function getRowTotalInclTax();
/**
* Set row total including tax
*
* @param float $rowTotalInclTax
* @return $this
*/
public function setRowTotalInclTax($rowTotalInclTax);
/**
* Get row tax amount
*
* @return float
*/
public function getRowTax();
/**
* Set row tax amount
*
* @param float $rowTax
* @return $this
*/
public function setRowTax($rowTax);
/**
* Get taxable amount
*
* @return float
*/
public function getTaxableAmount();
/**
* Set taxable amount
*
* @param float $taxableAmount
* @return $this
*/
public function setTaxableAmount($taxableAmount);
/**
* Get discount amount
*
* @return float
*/
public function getDiscountAmount();
/**
* Set discount amount
*
* @param float $discountAmount
* @return $this
*/
public function setDiscountAmount($discountAmount);
/**
* Get discount tax compensation amount
*
* @return float
*/
public function getDiscountTaxCompensationAmount();
/**
* Set discount tax compensation amount
*
* @param float $discountTaxCompensationAmount
* @return $this
*/
public function setDiscountTaxCompensationAmount($discountTaxCompensationAmount);
/**
* Get applied taxes
*
* @return \Magento\Tax\Api\Data\AppliedTaxInterface[] | null
*/
public function getAppliedTaxes();
/**
* Set applied taxes
*
* @param \Magento\Tax\Api\Data\AppliedTaxInterface[] $appliedTaxes
* @return $this
*/
public function setAppliedTaxes(array $appliedTaxes = null);
/**
* Return associated item code if this item is associated with another item, null otherwise
*
* @return int|null
*/
public function getAssociatedItemCode();
/**
* Set associated item code
*
* @param int $associatedItemCode
* @return $this
*/
public function setAssociatedItemCode($associatedItemCode);
/**
* Retrieve existing extension attributes object or create a new one.
*
* @return \Magento\Tax\Api\Data\TaxDetailsItemExtensionInterface|null
*/
public function getExtensionAttributes();
/**
* Set an extension attributes object.
*
* @param \Magento\Tax\Api\Data\TaxDetailsItemExtensionInterface $extensionAttributes
* @return $this
*/
public function setExtensionAttributes(\Magento\Tax\Api\Data\TaxDetailsItemExtensionInterface $extensionAttributes);
}