AddressAdditionalData.php 894 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Quote\Model;
  7. use Magento\Quote\Api\Data\AddressAdditionalDataInterface;
  8. use Magento\Framework\Model\AbstractExtensibleModel;
  9. class AddressAdditionalData extends AbstractExtensibleModel implements AddressAdditionalDataInterface
  10. {
  11. /**
  12. * Retrieve existing extension attributes object or create a new one.
  13. *
  14. * @return \Magento\Quote\Api\Data\AddressAdditionalDataExtensionInterface|null
  15. */
  16. public function getExtensionAttributes()
  17. {
  18. return $this->_getExtensionAttributes();
  19. }
  20. /**
  21. * {@inheritdoc}
  22. */
  23. public function setExtensionAttributes(
  24. \Magento\Quote\Api\Data\AddressAdditionalDataExtensionInterface $extensionAttributes
  25. ) {
  26. $this->_setExtensionAttributes($extensionAttributes);
  27. }
  28. }