AddressAdditionalDataInterface.php 939 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Quote\Api\Data;
  7. use Magento\Framework\Api\CustomAttributesDataInterface;
  8. /**
  9. * Additional data that is provided with quote address information
  10. * @api
  11. * @since 100.0.2
  12. */
  13. interface AddressAdditionalDataInterface extends CustomAttributesDataInterface
  14. {
  15. /**
  16. * Retrieve existing extension attributes object or create a new one.
  17. *
  18. * @return \Magento\Quote\Api\Data\AddressAdditionalDataExtensionInterface|null
  19. */
  20. public function getExtensionAttributes();
  21. /**
  22. * Set an extension attributes object.
  23. *
  24. * @param \Magento\Quote\Api\Data\AddressAdditionalDataExtensionInterface $extensionAttributes
  25. * @return void
  26. */
  27. public function setExtensionAttributes(
  28. \Magento\Quote\Api\Data\AddressAdditionalDataExtensionInterface $extensionAttributes
  29. );
  30. }