InvoiceStatisticInterface.php 571 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Model\Order;
  7. use Magento\Sales\Api\Data\InvoiceInterface;
  8. use Magento\Sales\Api\Data\OrderInterface;
  9. /**
  10. * Interface OrderStatisticInterface
  11. *
  12. * @api
  13. * @since 100.1.2
  14. */
  15. interface InvoiceStatisticInterface
  16. {
  17. /**
  18. * @param OrderInterface $order
  19. * @param InvoiceInterface $invoice
  20. * @return OrderInterface
  21. * @since 100.1.2
  22. */
  23. public function register(OrderInterface $order, InvoiceInterface $invoice);
  24. }