Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
TotalSegment.php
Go to the documentation of this file.
1 <?php
7 
10 
17 {
21  public function getCode()
22  {
23  return $this->getData(self::CODE);
24  }
25 
29  public function setCode($code)
30  {
31  return $this->setData(self::CODE, $code);
32  }
33 
37  public function getValue()
38  {
39  return $this->getData(self::VALUE);
40  }
41 
45  public function setValue($value)
46  {
47  return $this->setData(self::VALUE, $value);
48  }
49 
53  public function getTitle()
54  {
55  return $this->getData(self::TITLE);
56  }
57 
61  public function setTitle($title = null)
62  {
63  return $this->setData(self::TITLE, $title);
64  }
65 
69  public function getArea()
70  {
71  return $this->getData(self::AREA);
72  }
73 
77  public function setArea($area = null)
78  {
79  return $this->setData(self::AREA, $area);
80  }
81 
85  public function getExtensionAttributes()
86  {
87  return $this->_getExtensionAttributes();
88  }
89 
93  public function setExtensionAttributes(
94  \Magento\Quote\Api\Data\TotalSegmentExtensionInterface $extensionAttributes
95  ) {
96  return $this->_setExtensionAttributes($extensionAttributes);
97  }
98 }
$title
Definition: default.phtml:14
_setExtensionAttributes(\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes)
setExtensionAttributes(\Magento\Quote\Api\Data\TotalSegmentExtensionInterface $extensionAttributes)
$value
Definition: gender.phtml:16
$code
Definition: info.phtml:12