Experience.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. use Magento\Framework\DataObject;
  7. /**
  8. * Temando Experience Entity
  9. *
  10. * The experience data object represents one shipping experience as configured
  11. * at the Temando platform. This is not to be confused with the shipping options
  12. * as available to a consumer during checkout. The checkout experiences represent
  13. * the shipping rates available for the current cart while the platform
  14. * experiences contain the full rule sets taken into account when qualifying an
  15. * order. Checkout experiences are derived from the merchant's platform experiences.
  16. *
  17. * @package Temando\Shipping\Model
  18. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  19. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  20. * @link https://www.temando.com/
  21. */
  22. class Experience extends DataObject implements ExperienceInterface
  23. {
  24. /**
  25. * @return string
  26. */
  27. public function getExperienceId()
  28. {
  29. return $this->getData(self::EXPERIENCE_ID);
  30. }
  31. /**
  32. * @return string
  33. */
  34. public function getName()
  35. {
  36. return $this->getData(self::NAME);
  37. }
  38. /**
  39. * @return string
  40. */
  41. public function getStatus()
  42. {
  43. return $this->getData(self::STATUS);
  44. }
  45. }