ConfigInterface.php 810 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Model;
  7. /**
  8. * Interface ConfigInterface
  9. * @api
  10. * @since 100.0.2
  11. */
  12. interface ConfigInterface
  13. {
  14. /**
  15. * Retrieve renderer for area from config
  16. *
  17. * @param string $section
  18. * @param string $group
  19. * @param string $code
  20. * @return array
  21. */
  22. public function getTotalsRenderer($section, $group, $code);
  23. /**
  24. * Retrieve totals for group
  25. * e.g. quote, etc
  26. *
  27. * @param string $section
  28. * @param string $group
  29. * @return array
  30. */
  31. public function getGroupTotals($section, $group);
  32. /**
  33. * Get available product types
  34. *
  35. * @return array
  36. */
  37. public function getAvailableProductTypes();
  38. }