DisableFundingOptions.php 768 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\Paypal\Model\System\Config\Source;
  8. /**
  9. * Get disable funding options
  10. */
  11. class DisableFundingOptions
  12. {
  13. /**
  14. * @inheritdoc
  15. */
  16. public function toOptionArray(): array
  17. {
  18. return [
  19. [
  20. 'value' => 'CREDIT',
  21. 'label' => __('PayPal Credit')
  22. ],
  23. [
  24. 'value' => 'CARD',
  25. 'label' => __('PayPal Guest Checkout Credit Card Icons')
  26. ],
  27. [
  28. 'value' => 'ELV',
  29. 'label' => __('Elektronisches Lastschriftverfahren - German ELV')
  30. ]
  31. ];
  32. }
  33. }