123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <?php
- /**
- * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
- */
- namespace Temando\Shipping\Rest\Response\DataObject;
- use Temando\Shipping\Rest\Response\Fields\FulfillmentAttributes;
- /**
- * Temando API Fulfillment Resource Object
- *
- * @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 Fulfillment extends AbstractResource
- {
- /**
- * @var \Temando\Shipping\Rest\Response\Fields\LocationAttributes[]
- */
- private $locations;
- /**
- * @var \Temando\Shipping\Rest\Response\Fields\FulfillmentAttributes
- */
- private $attributes;
- /**
- * @var \Temando\Shipping\Rest\Response\DataObject\Order[]
- */
- private $orders;
- /**
- * @return \Temando\Shipping\Rest\Response\Fields\FulfillmentAttributes
- */
- public function getAttributes()
- {
- return $this->attributes;
- }
- /**
- * @param \Temando\Shipping\Rest\Response\Fields\FulfillmentAttributes $attributes
- * @return void
- */
- public function setAttributes(FulfillmentAttributes $attributes)
- {
- $this->attributes = $attributes;
- }
- /**
- * @return \Temando\Shipping\Rest\Response\DataObject\Order[]
- */
- public function getOrders()
- {
- return $this->orders;
- }
- /**
- * @param \Temando\Shipping\Rest\Response\DataObject\Order[] $orders
- * @return void
- */
- public function setOrders(array $orders)
- {
- $this->orders = $orders;
- }
- /**
- * @return \Temando\Shipping\Rest\Response\Fields\LocationAttributes[]
- */
- public function getLocations()
- {
- return $this->locations;
- }
- /**
- * @param \Temando\Shipping\Rest\Response\Fields\LocationAttributes[] $locations
- * @return void
- */
- public function setLocations(array $locations)
- {
- $this->locations = $locations;
- }
- }
|