VersionInterface.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?php
  2. /**
  3. * This file is part of the Klarna Core module
  4. *
  5. * (c) Klarna AB
  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\Core\Api;
  11. /**
  12. * Interface VersionInterface
  13. *
  14. * @package Klarna\Core\Api
  15. */
  16. interface VersionInterface
  17. {
  18. /**
  19. * @return string
  20. */
  21. public function getType();
  22. /**
  23. * @return string
  24. */
  25. public function getCode();
  26. /**
  27. * @return string
  28. */
  29. public function getLabel();
  30. /**
  31. * @return bool
  32. */
  33. public function isShippingCallbackSupport();
  34. /**
  35. * @return bool
  36. */
  37. public function isMerchantCheckboxSupport();
  38. /**
  39. * @return bool
  40. */
  41. public function isDateOfBirthMandatorySupport();
  42. /**
  43. * @return bool
  44. */
  45. public function isPhoneMandatorySupport();
  46. /**
  47. * @return string
  48. */
  49. public function getOrdermanagement();
  50. /**
  51. * @return bool
  52. */
  53. public function isTitleMandatorySupport();
  54. /**
  55. * @return bool
  56. */
  57. public function isDelayedPushNotification();
  58. /**
  59. * @return bool
  60. */
  61. public function isPartialPaymentDisabled();
  62. /**
  63. * @return bool
  64. */
  65. public function isSeparateTaxLine();
  66. /**
  67. * @return bool
  68. */
  69. public function isShippingInIframe();
  70. /**
  71. * @param bool $testmode
  72. * @return string
  73. */
  74. public function getUrl($testmode = true);
  75. /**
  76. * @return bool
  77. */
  78. public function isPaymentReview();
  79. /**
  80. * @return bool
  81. */
  82. public function isPackstationSupport();
  83. /**
  84. * @return bool
  85. */
  86. public function isCartTotalsInIframe();
  87. }