CustomerGroupConfigInterface.php 662 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Customer\Api;
  7. /**
  8. * Interface for system configuration operations for customer groups.
  9. *
  10. * @api
  11. * @since 101.0.0
  12. */
  13. interface CustomerGroupConfigInterface
  14. {
  15. /**
  16. * Set system default customer group.
  17. *
  18. * @param int $id
  19. * @return int
  20. * @throws \UnexpectedValueException
  21. * @throws \Exception
  22. * @throws \Magento\Framework\Exception\NoSuchEntityException
  23. * @throws \Magento\Framework\Exception\LocalizedException
  24. * @since 101.0.0
  25. */
  26. public function setDefaultCustomerGroup($id);
  27. }