CarrierRepositoryInterface.php 962 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Model\ResourceModel\Repository;
  6. /**
  7. * Temando Carrier Repository Interface.
  8. *
  9. * Access a list of carriers as connected to the merchant's account.
  10. *
  11. * @package Temando\Shipping\Model
  12. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  13. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  14. * @link http://www.temando.com/
  15. */
  16. interface CarrierRepositoryInterface
  17. {
  18. /**
  19. * @param int|null $offset
  20. * @param int|null $limit
  21. * @return \Temando\Shipping\Model\CarrierInterface[]
  22. */
  23. public function getList($offset = null, $limit = null);
  24. /**
  25. * @param string $carrierConfigurationId
  26. *
  27. * @return void
  28. * @throws \Magento\Framework\Exception\CouldNotDeleteException
  29. */
  30. public function delete($carrierConfigurationId);
  31. }