Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
IndexTableStructure.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
14 {
18  private $tableName;
19 
23  private $entityField;
24 
28  private $customerGroupField;
29 
33  private $websiteField;
34 
38  private $taxClassField;
39 
43  private $originalPriceField;
44 
48  private $finalPriceField;
49 
53  private $minPriceField;
54 
58  private $maxPriceField;
59 
63  private $tierPriceField;
64 
78  public function __construct(
79  string $tableName,
80  string $entityField,
81  string $customerGroupField,
82  string $websiteField,
83  string $taxClassField,
84  string $originalPriceField,
85  string $finalPriceField,
86  string $minPriceField,
87  string $maxPriceField,
88  string $tierPriceField
89  ) {
90  $this->tableName = $tableName;
91  $this->entityField = $entityField;
92  $this->customerGroupField = $customerGroupField;
93  $this->websiteField = $websiteField;
94  $this->taxClassField = $taxClassField;
95  $this->originalPriceField = $originalPriceField;
96  $this->finalPriceField = $finalPriceField;
97  $this->minPriceField = $minPriceField;
98  $this->maxPriceField = $maxPriceField;
99  $this->tierPriceField = $tierPriceField;
100  }
101 
105  public function getTableName(): string
106  {
107  return $this->tableName;
108  }
109 
113  public function getEntityField(): string
114  {
115  return $this->entityField;
116  }
117 
121  public function getCustomerGroupField(): string
122  {
123  return $this->customerGroupField;
124  }
125 
129  public function getWebsiteField(): string
130  {
131  return $this->websiteField;
132  }
133 
137  public function getTaxClassField(): string
138  {
139  return $this->taxClassField;
140  }
141 
145  public function getOriginalPriceField(): string
146  {
147  return $this->originalPriceField;
148  }
149 
153  public function getFinalPriceField(): string
154  {
155  return $this->finalPriceField;
156  }
157 
161  public function getMinPriceField(): string
162  {
163  return $this->minPriceField;
164  }
165 
169  public function getMaxPriceField(): string
170  {
171  return $this->maxPriceField;
172  }
173 
177  public function getTierPriceField(): string
178  {
179  return $this->tierPriceField;
180  }
181 }
__construct(string $tableName, string $entityField, string $customerGroupField, string $websiteField, string $taxClassField, string $originalPriceField, string $finalPriceField, string $minPriceField, string $maxPriceField, string $tierPriceField)
$tableName
Definition: trigger.php:13