Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AppliedTaxRate.php
Go to the documentation of this file.
1 <?php
7 
10 
15 {
19  const KEY_CODE = 'code';
20  const KEY_TITLE = 'title';
21  const KEY_PERCENT = 'percent';
27  public function getCode()
28  {
29  return $this->getData(self::KEY_CODE);
30  }
31 
35  public function getTitle()
36  {
37  return $this->getData(self::KEY_TITLE);
38  }
39 
43  public function getPercent()
44  {
45  return $this->getData(self::KEY_PERCENT);
46  }
47 
54  public function setCode($code)
55  {
56  return $this->setData(self::KEY_CODE, $code);
57  }
58 
65  public function setTitle($title)
66  {
67  return $this->setData(self::KEY_TITLE, $title);
68  }
69 
76  public function setPercent($percent)
77  {
78  return $this->setData(self::KEY_PERCENT, $percent);
79  }
80 
86  public function getExtensionAttributes()
87  {
88  return $this->_getExtensionAttributes();
89  }
90 
97  public function setExtensionAttributes(\Magento\Tax\Api\Data\AppliedTaxRateExtensionInterface $extensionAttributes)
98  {
99  return $this->_setExtensionAttributes($extensionAttributes);
100  }
101 }
$title
Definition: default.phtml:14
if($this->helper('Magento\Tax\Helper\Data') ->displayFullSummary()) foreach( $block->getTotal() ->getFullInfo() as $info)(isset($info['hidden']) && $info['hidden']) $percent
Definition: tax.phtml:33
_setExtensionAttributes(\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes)
setExtensionAttributes(\Magento\Tax\Api\Data\AppliedTaxRateExtensionInterface $extensionAttributes)
$code
Definition: info.phtml:12