RmaAccessInterface.php 1003 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\ViewModel;
  6. use Magento\Rma\Api\Data\RmaInterface;
  7. use Magento\Sales\Api\Data\OrderInterface;
  8. use Temando\Shipping\Model\ShipmentInterface;
  9. /**
  10. * RMA Details Provider Interface
  11. *
  12. * All view models that provide access to RMA details must implement this.
  13. *
  14. * @package Temando\Shipping\ViewModel
  15. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  16. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  17. * @link http://www.temando.com/
  18. */
  19. interface RmaAccessInterface
  20. {
  21. /**
  22. * @return OrderInterface
  23. */
  24. public function getOrder(): OrderInterface;
  25. /**
  26. * @return RmaInterface
  27. */
  28. public function getRma(): RmaInterface;
  29. /**
  30. * @deprecated since 1.2.0 | no longer available
  31. * @return ShipmentInterface
  32. */
  33. public function getRmaShipment(): ShipmentInterface;
  34. }