getData(AmazonAddressInterface::FIRST_NAME); } /** * {@inheritdoc} */ public function getLastName() { return $this->getData(AmazonAddressInterface::LAST_NAME); } /** * {@inheritdoc} */ public function getLines() { return $this->getData(AmazonAddressInterface::LINES); } /** * {@inheritdoc} */ public function getLine($lineNumber) { if (isset($this->getData(AmazonAddressInterface::LINES)[$lineNumber])) { return $this->getData(AmazonAddressInterface::LINES)[$lineNumber]; } return null; } /** * {@inheritdoc} */ public function getCity() { return $this->getData(AmazonAddressInterface::CITY); } /** * {@inheritdoc} */ public function getState() { return $this->getData(AmazonAddressInterface::STATE_OR_REGION); } /** * {@inheritdoc} */ public function getPostCode() { return $this->getData(AmazonAddressInterface::POSTAL_CODE); } /** * {@inheritdoc} */ public function getCountryCode() { return $this->getData(AmazonAddressInterface::COUNTRY_CODE); } /** * {@inheritdoc} */ public function getTelephone() { return $this->getData(AmazonAddressInterface::TELEPHONE); } /** * {@inheritdoc} */ public function getCompany() { return $this->getData(AmazonAddressInterface::COMPANY); } }