CapabilityInterface.php 754 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\Shipment;
  6. /**
  7. * Temando Capability Interface.
  8. *
  9. * @package Temando\Shipping\Model
  10. * @author Sebastian Ertner <sebastian.ertner@netresearch.de>
  11. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  12. * @link http://www.temando.com/
  13. */
  14. interface CapabilityInterface
  15. {
  16. const CAPABILITY_ID = 'capability_id';
  17. const PROPERTIES = 'properties';
  18. /**
  19. * Get attribute code
  20. *
  21. * @return string
  22. */
  23. public function getCapabilityId();
  24. /**
  25. * Get attribute value
  26. *
  27. * @return mixed[]
  28. */
  29. public function getProperties();
  30. }