StreamEventItemRequest.php 1003 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Rest\Request;
  6. /**
  7. * Temando API Get Item Operation
  8. *
  9. * @package Temando\Shipping\Rest
  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. class StreamEventItemRequest
  15. {
  16. /**
  17. * @var string
  18. */
  19. private $streamId;
  20. /**
  21. * @var string
  22. */
  23. private $entityId;
  24. /**
  25. * StreamEventItemRequest constructor.
  26. * @param string $streamId
  27. * @param string $entityId
  28. */
  29. public function __construct($streamId, $entityId)
  30. {
  31. $this->streamId = $streamId;
  32. $this->entityId = $entityId;
  33. }
  34. /**
  35. * @return string[]
  36. */
  37. public function getPathParams()
  38. {
  39. return [
  40. $this->streamId,
  41. $this->entityId,
  42. ];
  43. }
  44. }