GuaranteeCreationServiceInterface.php 639 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 creation interface
  9. *
  10. * Interface allows submit previously created Signifyd case for a guaranty.
  11. * Implementation should send request to Signifyd API and update existing case entity with guarantee infromation.
  12. *
  13. * @api
  14. * @since 100.2.0
  15. */
  16. interface GuaranteeCreationServiceInterface
  17. {
  18. /**
  19. * Request Signifyd guarantee for order
  20. *
  21. * @param int $orderId
  22. * @return bool
  23. * @since 100.2.0
  24. */
  25. public function createForOrder($orderId);
  26. }