Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
TaxClass.php
Go to the documentation of this file.
1 <?php
7 
14 {
20  public function _construct()
21  {
22  $this->_init('tax_class', 'class_id');
23  }
24 
30  protected function _initUniqueFields()
31  {
32  $this->_uniqueFields = [
33  [
34  'field' => ['class_type', 'class_name'],
35  'title' => __('Class name and class type'),
36  ],
37  ];
38  return $this;
39  }
40 }
__()
Definition: __.php:13