123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Weee\Api\Data\ProductRender;
- use Magento\Framework\Api\ExtensibleDataInterface;
- /**
- * List of all weee attributes, their amounts, etc.., that product has
- * @api
- * @since 100.2.0
- */
- interface WeeeAdjustmentAttributeInterface extends ExtensibleDataInterface
- {
- /**
- * Set amount
- *
- * @param string|float $amount
- * @return void
- * @since 100.2.0
- */
- public function setAmount($amount);
- /**
- * Retrieve weee attribute amount
- *
- * @return string
- * @since 100.2.0
- */
- public function getAmount();
- /**
- * Retrieve tax which is calculated to fixed product tax attribute
- *
- * @return string
- * @since 100.2.0
- */
- public function getTaxAmount();
- /**
- * Set weee tax
- *
- * @param string $taxAmount
- * @return void
- * @since 100.2.0
- */
- public function setTaxAmount($taxAmount);
- /**
- * Set product amount without weee tax
- *
- * @param string $amountExclTax
- * @return void
- * @since 100.2.0
- */
- public function setAmountExclTax($amountExclTax);
- /**
- * Set tax amount of weee attribute
- *
- * @param string $amountInclTax
- * @return void
- * @since 100.2.0
- */
- public function setTaxAmountInclTax($amountInclTax);
- /**
- * Retrieve tax amount of weee attribute
- *
- * @return string
- * @since 100.2.0
- */
- public function getTaxAmountInclTax();
- /**
- * Retrieve product amount exclude tax
- *
- * @return string
- * @since 100.2.0
- */
- public function getAmountExclTax();
- /**
- * Set weee attribute code
- *
- * @param string $attributeCode
- * @return void
- * @since 100.2.0
- */
- public function setAttributeCode($attributeCode);
- /**
- * Retrieve weee attribute code
- *
- * @return string
- * @since 100.2.0
- */
- public function getAttributeCode();
- /**
- * @return \Magento\Weee\Api\Data\ProductRender\WeeeAdjustmentAttributeExtensionInterface
- * @since 100.2.0
- */
- public function getExtensionAttributes();
- /**
- * @param \Magento\Weee\Api\Data\ProductRender\WeeeAdjustmentAttributeExtensionInterface $extensionAttributes
- * @return void
- * @since 100.2.0
- */
- public function setExtensionAttributes(
- \Magento\Weee\Api\Data\ProductRender\WeeeAdjustmentAttributeExtensionInterface $extensionAttributes
- );
- }
|