CarrierInterface.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Model;
  6. /**
  7. * Temando Carrier Interface.
  8. *
  9. * The carrier data object represents one item in the carriers grid listing.
  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 CarrierInterface
  17. {
  18. const CONFIGURATION_ID = 'configuration_id';
  19. const INTEGRATION_ID = 'integration_id';
  20. const NAME = 'name';
  21. const CONNECTION_NAME = 'connection_name';
  22. const STATUS = 'status';
  23. const ACTIVE_SERVICES = 'active_services';
  24. const LOGO = 'logo';
  25. /**
  26. * @return string
  27. */
  28. public function getConfigurationId();
  29. /**
  30. * @return string
  31. */
  32. public function getIntegrationId();
  33. /**
  34. * @return string
  35. */
  36. public function getName();
  37. /**
  38. * @return string
  39. */
  40. public function getConnectionName();
  41. /**
  42. * @return string
  43. */
  44. public function getStatus();
  45. /**
  46. * @return string[]
  47. */
  48. public function getActiveServices();
  49. /**
  50. * @return string
  51. */
  52. public function getLogo();
  53. }