FetchingSchedule.php 685 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Paypal\Model\System\Config\Source;
  7. /**
  8. * Source model for available settlement report fetching intervals
  9. */
  10. class FetchingSchedule implements \Magento\Framework\Option\ArrayInterface
  11. {
  12. /**
  13. * {@inheritdoc}
  14. */
  15. public function toOptionArray()
  16. {
  17. return [
  18. 1 => __("Daily"),
  19. 3 => __("Every 3 days"),
  20. 7 => __("Every 7 days"),
  21. 10 => __("Every 10 days"),
  22. 14 => __("Every 14 days"),
  23. 30 => __("Every 30 days"),
  24. 40 => __("Every 40 days")
  25. ];
  26. }
  27. }