ShipmentMeta.php 811 B

1234567891011121314151617181920212223242526272829303132333435363738
  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\Meta;
  6. /**
  7. * Temando API Shipment Document Meta Information
  8. *
  9. * @package Temando\Shipping\Rest
  10. * @author Nathan Wilson <nathan.wilson@temando.com>
  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 ShipmentMeta
  15. {
  16. /**
  17. * @var bool
  18. */
  19. private $isCancelable;
  20. /**
  21. * @return bool
  22. */
  23. public function getIsCancelable()
  24. {
  25. return $this->isCancelable;
  26. }
  27. /**
  28. * @param bool $isCancelable
  29. * @return void
  30. */
  31. public function setIsCancelable($isCancelable)
  32. {
  33. $this->isCancelable = $isCancelable;
  34. }
  35. }