123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Tax\Api\Data;
- /**
- * Tax details interface.
- * @api
- * @since 100.0.2
- */
- interface TaxDetailsInterface extends \Magento\Framework\Api\ExtensibleDataInterface
- {
- /**
- * Get subtotal
- *
- * @return float
- */
- public function getSubtotal();
- /**
- * Set subtotal
- *
- * @param float $subtotal
- * @return $this
- */
- public function setSubtotal($subtotal);
- /**
- * Get tax amount
- *
- * @return float
- */
- public function getTaxAmount();
- /**
- * Set tax amount
- *
- * @param float $taxAmount
- * @return $this
- */
- public function setTaxAmount($taxAmount);
- /**
- * Get discount amount
- *
- * @return float
- */
- public function getDiscountTaxCompensationAmount();
- /**
- * Set discount 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);
- /**
- * Get TaxDetails items
- *
- * @return \Magento\Tax\Api\Data\TaxDetailsItemInterface[] | null
- */
- public function getItems();
- /**
- * Set TaxDetails items
- *
- * @param \Magento\Tax\Api\Data\TaxDetailsItemInterface[] $items
- * @return $this
- */
- public function setItems(array $items = null);
- /**
- * Retrieve existing extension attributes object or create a new one.
- *
- * @return \Magento\Tax\Api\Data\TaxDetailsExtensionInterface|null
- */
- public function getExtensionAttributes();
- /**
- * Set an extension attributes object.
- *
- * @param \Magento\Tax\Api\Data\TaxDetailsExtensionInterface $extensionAttributes
- * @return $this
- */
- public function setExtensionAttributes(\Magento\Tax\Api\Data\TaxDetailsExtensionInterface $extensionAttributes);
- }
|