![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-tax/Api/Data/ |
<?php /** * * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Tax\Api\Data; /** * Tax rate interface. * @api * @since 100.0.2 */ interface TaxRateInterface extends \Magento\Framework\Api\ExtensibleDataInterface { /** * Get id * * @return int|null */ public function getId(); /** * Set id * * @param int $id * @return $this */ public function setId($id); /** * Get country id * * @return string */ public function getTaxCountryId(); /** * Set country id * * @param string $taxCountryId * @return $this */ public function setTaxCountryId($taxCountryId); /** * Get region id * * @return int|null */ public function getTaxRegionId(); /** * Set region id * * @param int $taxRegionId * @return $this */ public function setTaxRegionId($taxRegionId); /** * Get region name * * @return string|null */ public function getRegionName(); /** * Set region name * * @param string $regionName * @return $this */ public function setRegionName($regionName); /** * Get postcode * * @return string|null */ public function getTaxPostcode(); /** * Set postcode * * @param string $taxPostCode * @return $this */ public function setTaxPostcode($taxPostCode); /** * Get zip is range * * @return int|null */ public function getZipIsRange(); /** * Set zip is range * * @param int $zipIsRange * @return $this */ public function setZipIsRange($zipIsRange); /** * Get zip range from * * @return int|null */ public function getZipFrom(); /** * Set zip range from * * @param int $zipFrom * @return $this */ public function setZipFrom($zipFrom); /** * Get zip range to * * @return int|null */ public function getZipTo(); /** * Set zip range to * * @param int $zipTo * @return $this */ public function setZipTo($zipTo); /** * Get tax rate in percentage * * @return float */ public function getRate(); /** * Set tax rate in percentage * * @param float $rate * @return $this */ public function setRate($rate); /** * Get tax rate code * * @return string */ public function getCode(); /** * Set tax rate code * * @param string $code * @return $this */ public function setCode($code); /** * Get tax rate titles * * @return \Magento\Tax\Api\Data\TaxRateTitleInterface[]|null */ public function getTitles(); /** * Set tax rate titles * * @param \Magento\Tax\Api\Data\TaxRateTitleInterface[] $titles * @return $this */ public function setTitles(array $titles = null); /** * Retrieve existing extension attributes object or create a new one. * * @return \Magento\Tax\Api\Data\TaxRateExtensionInterface|null */ public function getExtensionAttributes(); /** * Set an extension attributes object. * * @param \Magento\Tax\Api\Data\TaxRateExtensionInterface $extensionAttributes * @return $this */ public function setExtensionAttributes(\Magento\Tax\Api\Data\TaxRateExtensionInterface $extensionAttributes); }