CarrierInterface.php 550 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Shipping\Model\Carrier;
  7. /**
  8. * Interface \Magento\Shipping\Model\Carrier\CarrierInterface
  9. *
  10. */
  11. interface CarrierInterface
  12. {
  13. /**
  14. * Check if carrier has shipping tracking option available
  15. *
  16. * @return boolean
  17. * @api
  18. */
  19. public function isTrackingAvailable();
  20. /**
  21. * Get allowed shipping methods
  22. *
  23. * @return array
  24. * @api
  25. */
  26. public function getAllowedMethods();
  27. }