UpdatingServiceInterface.php 545 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Signifyd\Model\CaseServices;
  7. use Magento\Signifyd\Api\Data\CaseInterface;
  8. /**
  9. * Common abstraction to perform updating operations with Signifyd case entity.
  10. */
  11. interface UpdatingServiceInterface
  12. {
  13. /**
  14. * Updates Signifyd Case entity by received data.
  15. *
  16. * @param CaseInterface $case
  17. * @param array $data
  18. * @return void
  19. */
  20. public function update(CaseInterface $case, array $data);
  21. }