* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link https://www.temando.com/ */ class SaveOrder implements SaveOrderInterface { /** * @var \Temando\Shipping\Rest\Response\DataObject\Order */ private $order; /** * @var \Temando\Shipping\Rest\Response\DataObject\Shipment[] */ private $included; /** * @return \Temando\Shipping\Rest\Response\DataObject\Order */ public function getData() { return $this->order; } /** * @param \Temando\Shipping\Rest\Response\DataObject\Order $order * @return void */ public function setData(Order $order) { $this->order = $order; } /** * @return \Temando\Shipping\Rest\Response\DataObject\Shipment[] */ public function getIncluded() { return $this->included; } /** * @param \Temando\Shipping\Rest\Response\DataObject\Shipment[] $included * @return void */ public function setIncluded(array $included) { $this->included = $included; } }