123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- /**
- * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
- */
- namespace Temando\Shipping\Rest\Response\Fields\CollectionPoint;
- use Temando\Shipping\Rest\Response\Fields\Generic\Dimensions;
- use Temando\Shipping\Rest\Response\Fields\Generic\Value;
- /**
- * Temando API Collection Point Qualification Collection Point Constraints Field
- *
- * @package Temando\Shipping\Rest
- * @author Christoph Aßmann <christoph.assmann@netresearch.de>
- * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
- * @link https://www.temando.com/
- */
- class Constraints
- {
- /**
- * @var \Temando\Shipping\Rest\Response\Fields\Generic\Dimensions
- */
- private $dimensions;
- /**
- * @var \Temando\Shipping\Rest\Response\Fields\Generic\Value
- */
- private $weight;
- /**
- * @return \Temando\Shipping\Rest\Response\Fields\Generic\Dimensions
- */
- public function getDimensions()
- {
- return $this->dimensions;
- }
- /**
- * @param \Temando\Shipping\Rest\Response\Fields\Generic\Dimensions $dimensions
- * @return void
- */
- public function setDimensions(Dimensions $dimensions)
- {
- $this->dimensions = $dimensions;
- }
- /**
- * @return \Temando\Shipping\Rest\Response\Fields\Generic\Value
- */
- public function getWeight()
- {
- return $this->weight;
- }
- /**
- * @param \Temando\Shipping\Rest\Response\Fields\Generic\Value $weight
- * @return void
- */
- public function setWeight(Value $weight)
- {
- $this->weight = $weight;
- }
- }
|