* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link https://www.temando.com/ */ class ShipmentError extends DataObject implements ShipmentErrorInterface { /** * Get attribute status * * @return string */ public function getStatus() { return $this->getData(ShipmentErrorInterface::STATUS); } /** * Get attribute title * * @return string */ public function getTitle() { return $this->getData(ShipmentErrorInterface::TITLE); } /** * Get attribute Code. * * @return string */ public function getCode() { return $this->getData(ShipmentErrorInterface::CODE); } /** * Get error detail (optional) * * @return string */ public function getDetail() { return $this->getData(ShipmentErrorInterface::DETAIL); } }