GuaranteeCancelingServiceInterface.php 648 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Signifyd\Api;
  7. /**
  8. * Signifyd guarantee canceling interface.
  9. *
  10. * Interface allows to submit request to cancel previously created guarantee.
  11. * Implementation should send request to Signifyd API and update existing case entity with guarantee information.
  12. *
  13. * @api
  14. * @since 100.2.0
  15. */
  16. interface GuaranteeCancelingServiceInterface
  17. {
  18. /**
  19. * Cancels Signifyd guarantee for an order.
  20. *
  21. * @param int $orderId
  22. * @return bool
  23. * @since 100.2.0
  24. */
  25. public function cancelForOrder($orderId);
  26. }