Display.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Weee\Model\Config\Source;
  7. class Display implements \Magento\Framework\Option\ArrayInterface
  8. {
  9. /**
  10. * Retrieve list of available options to display FPT
  11. *
  12. * @return array
  13. */
  14. public function toOptionArray()
  15. {
  16. return [
  17. [
  18. 'value' => \Magento\Weee\Model\Tax::DISPLAY_INCL,
  19. 'label' => __('Including FPT only')
  20. ],
  21. [
  22. 'value' => \Magento\Weee\Model\Tax::DISPLAY_INCL_DESCR,
  23. 'label' => __('Including FPT and FPT description')
  24. ],
  25. [
  26. 'value' => \Magento\Weee\Model\Tax::DISPLAY_EXCL_DESCR_INCL,
  27. 'label' => __('Excluding FPT. Including FPT description and final price')
  28. ],
  29. [
  30. 'value' => \Magento\Weee\Model\Tax::DISPLAY_EXCL,
  31. 'label' => __('Excluding FPT')
  32. ]
  33. ];
  34. }
  35. }