ExperienceInterface.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 Experience Interface.
  8. *
  9. * The experience data object represents one shipping experience as configured
  10. * at the Temando account. This is not to be confused with the shipping options
  11. * as available to a consumer during checkout. The checkout experiences represent
  12. * the shipping rates available for the current cart while the account
  13. * experiences contain the full rule sets used when qualifying an order.
  14. * Checkout experiences are derived from the merchant's account experiences.
  15. *
  16. * @package Temando\Shipping\Model
  17. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  18. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  19. * @link http://www.temando.com/
  20. */
  21. interface ExperienceInterface
  22. {
  23. const EXPERIENCE_ID = 'experience_id';
  24. const NAME = 'name';
  25. const STATUS = 'status';
  26. const STATUS_DRAFT = 'draft';
  27. const STATUS_DISABLED = 'disabled';
  28. const STATUS_PRODUCTION = 'production';
  29. /**
  30. * @return string
  31. */
  32. public function getExperienceId();
  33. /**
  34. * @return string
  35. */
  36. public function getName();
  37. /**
  38. * @return string
  39. */
  40. public function getStatus();
  41. }