* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link https://www.temando.com/ */ class GetLocations implements GetLocationsInterface { /** * @var \Temando\Shipping\Rest\Response\DataObject\Location[] */ private $data = []; /** * @return \Temando\Shipping\Rest\Response\DataObject\Location[] */ public function getData() { return $this->data; } /** * @param \Temando\Shipping\Rest\Response\DataObject\Location[] $locations * @return void */ public function setData(array $locations) { $this->data = $locations; } }