ApiObjectInterface.php 497 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * This file is part of the Klarna KP module
  4. *
  5. * (c) Klarna Bank AB (publ)
  6. *
  7. * For the full copyright and license information, please view the NOTICE
  8. * and LICENSE files that were distributed with this source code.
  9. */
  10. namespace Klarna\Kp\Api\Data;
  11. /**
  12. * Interface ApiObjectInterface
  13. *
  14. * @package Klarna\Kp\Api\Data
  15. */
  16. interface ApiObjectInterface
  17. {
  18. /**
  19. * Generate array object needed for API call
  20. *
  21. * @return array
  22. */
  23. public function toArray();
  24. }