OrderQualificationAttributes.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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;
  6. /**
  7. * Temando API Order Qualification Resource Object Attributes
  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 OrderQualificationAttributes
  15. {
  16. /**
  17. * @var \Temando\Shipping\Rest\Response\Fields\Generic\MonetaryValue[]
  18. */
  19. private $cost = [];
  20. /**
  21. * @var \Temando\Shipping\Rest\Response\Fields\OrderQualification\Description[]
  22. */
  23. private $description = [];
  24. /**
  25. * @return \Temando\Shipping\Rest\Response\Fields\Generic\MonetaryValue[]
  26. */
  27. public function getCost()
  28. {
  29. return $this->cost;
  30. }
  31. /**
  32. * @param \Temando\Shipping\Rest\Response\Fields\Generic\MonetaryValue[] $cost
  33. * @return void
  34. */
  35. public function setCost(array $cost)
  36. {
  37. $this->cost = $cost;
  38. }
  39. /**
  40. * @return \Temando\Shipping\Rest\Response\Fields\OrderQualification\Description[]
  41. */
  42. public function getDescription()
  43. {
  44. return $this->description;
  45. }
  46. /**
  47. * @param \Temando\Shipping\Rest\Response\Fields\OrderQualification\Description[] $description
  48. * @return void
  49. */
  50. public function setDescription(array $description)
  51. {
  52. $this->description = $description;
  53. }
  54. }