* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link https://www.temando.com/ */ class Shipment extends AbstractResource { /** * @var \Temando\Shipping\Rest\Response\Fields\ShipmentAttributes */ private $attributes; /** * @var \Temando\Shipping\Rest\Response\Fields\LocationAttributes[] */ private $locations; /** * @var \Temando\Shipping\Rest\Response\Meta\ShipmentMeta */ private $meta; /** * @return \Temando\Shipping\Rest\Response\Fields\ShipmentAttributes */ public function getAttributes() { return $this->attributes; } /** * @param \Temando\Shipping\Rest\Response\Fields\ShipmentAttributes $attributes * @return void */ public function setAttributes(ShipmentAttributes $attributes) { $this->attributes = $attributes; } /** * @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; } /** * @return \Temando\Shipping\Rest\Response\Meta\ShipmentMeta */ public function getMeta() { return $this->meta; } /** * @param \Temando\Shipping\Rest\Response\Meta\ShipmentMeta $meta * @return void */ public function setMeta(ShipmentMeta $meta) { $this->meta = $meta; } }