GetLocationInterface.php 868 Bytes
<?php
/**
 * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
 */
namespace Temando\Shipping\Rest\Response\Document;

use Temando\Shipping\Rest\Response\DataObject\Location;

/**
 * Temando API Get Location Document
 *
 * @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/
 */
interface GetLocationInterface
{
    /**
     * Obtain response entity
     *
     * @return \Temando\Shipping\Rest\Response\DataObject\Location
     */
    public function getData();

    /**
     * Set response entity
     *
     * @param \Temando\Shipping\Rest\Response\DataObject\Location $location
     * @return void
     */
    public function setData(Location $location);
}