CollectorInterface.php 736 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Quote\Model\Quote\Address\Total;
  7. /**
  8. * Interface \Magento\Quote\Model\Quote\Address\Total\CollectorInterface
  9. *
  10. */
  11. interface CollectorInterface
  12. {
  13. /**
  14. * @param \Magento\Quote\Model\Quote $quote
  15. * @param \Magento\Quote\Api\Data\ShippingAssignmentInterface $shippingAssignment
  16. * @param \Magento\Quote\Model\Quote\Address\Total $total
  17. * @return CollectorInterface
  18. */
  19. public function collect(
  20. \Magento\Quote\Model\Quote $quote,
  21. \Magento\Quote\Api\Data\ShippingAssignmentInterface $shippingAssignment,
  22. \Magento\Quote\Model\Quote\Address\Total $total
  23. );
  24. }