CreateCaseBuilderInterface.php 539 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Signifyd\Model\SignifydGateway\Request;
  7. /**
  8. * Collects information about order and build array with parameters required by Signifyd API
  9. *
  10. * @see https://www.signifyd.com/docs/api/#/reference/cases/create-a-case
  11. */
  12. interface CreateCaseBuilderInterface
  13. {
  14. /**
  15. * Returns params for Case creation request
  16. *
  17. * @param int $orderId
  18. * @return array
  19. */
  20. public function build($orderId);
  21. }