DefaultOpeningHours.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Rest\Response\Fields\Location\OpeningHours;
  6. /**
  7. * Temando API Location Default Opening Hours Field
  8. *
  9. * @package Temando\Shipping\Rest
  10. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  11. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  12. * @link https://www.temando.com/
  13. */
  14. class DefaultOpeningHours
  15. {
  16. /**
  17. * @var string
  18. */
  19. private $dayOfWeek;
  20. /**
  21. * @var string
  22. */
  23. private $opens;
  24. /**
  25. * @var string
  26. */
  27. private $closes;
  28. /**
  29. * @return string
  30. */
  31. public function getDayOfWeek()
  32. {
  33. return $this->dayOfWeek;
  34. }
  35. /**
  36. * @param string $dayOfWeek
  37. * @return void
  38. */
  39. public function setDayOfWeek($dayOfWeek)
  40. {
  41. $this->dayOfWeek = $dayOfWeek;
  42. }
  43. /**
  44. * @return string
  45. */
  46. public function getOpens()
  47. {
  48. return $this->opens;
  49. }
  50. /**
  51. * @param string $opens
  52. * @return void
  53. */
  54. public function setOpens($opens)
  55. {
  56. $this->opens = $opens;
  57. }
  58. /**
  59. * @return string
  60. */
  61. public function getCloses()
  62. {
  63. return $this->closes;
  64. }
  65. /**
  66. * @param string $closes
  67. * @return void
  68. */
  69. public function setCloses($closes)
  70. {
  71. $this->closes = $closes;
  72. }
  73. }