var/classes/definition_OnlineShopTaxClass.php line 134

Open in your IDE?
  1. <?php
  2. /**
  3.  * Inheritance: no
  4.  * Variants: no
  5.  *
  6.  * Fields Summary:
  7.  * - taxEntryCombinationType [select]
  8.  * - taxEntries [fieldcollections]
  9.  */
  10. return Pimcore\Model\DataObject\ClassDefinition::__set_state(array(
  11.    'dao' => NULL,
  12.    'id' => 'EF_OSTC',
  13.    'name' => 'OnlineShopTaxClass',
  14.    'description' => '',
  15.    'creationDate' => 0,
  16.    'modificationDate' => 1683551626,
  17.    'userOwner' => 0,
  18.    'userModification' => 1,
  19.    'parentClass' => '',
  20.    'implementsInterfaces' => '',
  21.    'listingParentClass' => '',
  22.    'useTraits' => '',
  23.    'listingUseTraits' => '',
  24.    'encryption' => false,
  25.    'encryptedTables' => 
  26.   array (
  27.   ),
  28.    'allowInherit' => false,
  29.    'allowVariants' => false,
  30.    'showVariants' => false,
  31.    'fieldDefinitions' => 
  32.   array (
  33.   ),
  34.    'layoutDefinitions' => 
  35.   Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
  36.      'name' => 'pimcore_root',
  37.      'type' => NULL,
  38.      'region' => NULL,
  39.      'title' => NULL,
  40.      'width' => 0,
  41.      'height' => 0,
  42.      'collapsible' => false,
  43.      'collapsed' => false,
  44.      'bodyStyle' => NULL,
  45.      'datatype' => 'layout',
  46.      'permissions' => NULL,
  47.      'children' => 
  48.     array (
  49.       => 
  50.       Pimcore\Model\DataObject\ClassDefinition\Layout\Panel::__set_state(array(
  51.          'name' => 'Layout',
  52.          'type' => NULL,
  53.          'region' => NULL,
  54.          'title' => '',
  55.          'width' => NULL,
  56.          'height' => NULL,
  57.          'collapsible' => false,
  58.          'collapsed' => false,
  59.          'bodyStyle' => '',
  60.          'datatype' => 'layout',
  61.          'permissions' => NULL,
  62.          'children' => 
  63.         array (
  64.           => 
  65.           Pimcore\Model\DataObject\ClassDefinition\Layout\Text::__set_state(array(
  66.              'name' => 'Layout',
  67.              'type' => NULL,
  68.              'region' => NULL,
  69.              'title' => '',
  70.              'width' => NULL,
  71.              'height' => NULL,
  72.              'collapsible' => false,
  73.              'collapsed' => false,
  74.              'bodyStyle' => 'padding: 10px; background-color: #d9edf7; border-color: #bce8f1 !important; color: #31708f;',
  75.              'datatype' => 'layout',
  76.              'permissions' => NULL,
  77.              'children' => 
  78.             array (
  79.             ),
  80.              'locked' => false,
  81.              'blockedVarsForExport' => 
  82.             array (
  83.             ),
  84.              'fieldtype' => 'text',
  85.              'html' => '<div><font size="2"><b>OnlineShopTaxClass </b>as definition for tax calculation within ecommerce frameworks price systems. Products price system decides which TaxClass to take and does the tax calculation based on it.&nbsp;<br></font></div><div><font size="2"><b><br></b></font></div><div><font size="2"><b>Tax Entry Combination Type</b> defines how tax entry rates are combined:&nbsp;</font></div><div><ul><li><font size="2"><b>Combine:</b> Sum up all tax rates and calculates tax amount afterwards.<br></font></li><li><font size="2"><b>One After Another:</b> For each tax rate calculate tax amount, add it to total sum and then calculate tax amount for next tax rate based on new total sum. </font><b style="font-size: 13px;">&nbsp;</b><br></li></ul></div>',
  86.              'renderingClass' => '',
  87.              'renderingData' => '',
  88.              'border' => false,
  89.           )),
  90.           => 
  91.           Pimcore\Model\DataObject\ClassDefinition\Data\Select::__set_state(array(
  92.              'name' => 'taxEntryCombinationType',
  93.              'title' => 'Tax Entry Combination Type',
  94.              'tooltip' => '',
  95.              'mandatory' => true,
  96.              'noteditable' => false,
  97.              'index' => false,
  98.              'locked' => false,
  99.              'style' => '',
  100.              'permissions' => NULL,
  101.              'datatype' => 'data',
  102.              'fieldtype' => 'select',
  103.              'relationType' => false,
  104.              'invisible' => false,
  105.              'visibleGridView' => false,
  106.              'visibleSearch' => false,
  107.              'blockedVarsForExport' => 
  108.             array (
  109.             ),
  110.              'options' => 
  111.             array (
  112.               => 
  113.               array (
  114.                 'key' => 'Combine',
  115.                 'value' => 'combine',
  116.               ),
  117.               => 
  118.               array (
  119.                 'key' => 'One After Another',
  120.                 'value' => 'oneAfterAnother',
  121.               ),
  122.             ),
  123.              'width' => '',
  124.              'defaultValue' => '',
  125.              'optionsProviderClass' => NULL,
  126.              'optionsProviderData' => NULL,
  127.              'columnLength' => '190',
  128.              'dynamicOptions' => false,
  129.              'defaultValueGenerator' => '',
  130.           )),
  131.           => 
  132.           Pimcore\Model\DataObject\ClassDefinition\Data\Fieldcollections::__set_state(array(
  133.              'name' => 'taxEntries',
  134.              'title' => 'Tax Entries',
  135.              'tooltip' => '',
  136.              'mandatory' => false,
  137.              'noteditable' => false,
  138.              'index' => false,
  139.              'locked' => false,
  140.              'style' => '',
  141.              'permissions' => NULL,
  142.              'datatype' => 'data',
  143.              'fieldtype' => 'fieldcollections',
  144.              'relationType' => false,
  145.              'invisible' => false,
  146.              'visibleGridView' => false,
  147.              'visibleSearch' => false,
  148.              'blockedVarsForExport' => 
  149.             array (
  150.             ),
  151.              'allowedTypes' => 
  152.             array (
  153.               => 'TaxEntry',
  154.             ),
  155.              'lazyLoading' => false,
  156.              'maxItems' => NULL,
  157.              'disallowAddRemove' => false,
  158.              'disallowReorder' => false,
  159.              'collapsed' => false,
  160.              'collapsible' => false,
  161.              'border' => false,
  162.           )),
  163.         ),
  164.          'locked' => false,
  165.          'blockedVarsForExport' => 
  166.         array (
  167.         ),
  168.          'fieldtype' => 'panel',
  169.          'layout' => NULL,
  170.          'border' => false,
  171.          'icon' => NULL,
  172.          'labelWidth' => 100,
  173.          'labelAlign' => 'left',
  174.       )),
  175.     ),
  176.      'locked' => false,
  177.      'blockedVarsForExport' => 
  178.     array (
  179.     ),
  180.      'fieldtype' => 'panel',
  181.      'layout' => NULL,
  182.      'border' => false,
  183.      'icon' => NULL,
  184.      'labelWidth' => 100,
  185.      'labelAlign' => 'left',
  186.   )),
  187.    'icon' => '/bundles/pimcoreadmin/img/twemoji/1f4b6.svg',
  188.    'previewUrl' => '',
  189.    'group' => 'E-Commerce',
  190.    'showAppLoggerTab' => false,
  191.    'linkGeneratorReference' => '',
  192.    'previewGeneratorReference' => NULL,
  193.    'compositeIndices' => 
  194.   array (
  195.   ),
  196.    'generateTypeDeclarations' => true,
  197.    'showFieldLookup' => false,
  198.    'propertyVisibility' => 
  199.   array (
  200.     'grid' => 
  201.     array (
  202.       'id' => true,
  203.       'key' => false,
  204.       'path' => true,
  205.       'published' => true,
  206.       'modificationDate' => false,
  207.       'creationDate' => false,
  208.     ),
  209.     'search' => 
  210.     array (
  211.       'id' => true,
  212.       'key' => false,
  213.       'path' => true,
  214.       'published' => true,
  215.       'modificationDate' => false,
  216.       'creationDate' => false,
  217.     ),
  218.   ),
  219.    'enableGridLocking' => false,
  220.    'deletedDataComponents' => 
  221.   array (
  222.   ),
  223.    'blockedVarsForExport' => 
  224.   array (
  225.   ),
  226.    'activeDispatchingEvents' => 
  227.   array (
  228.   ),
  229. ));