<?php

namespace Benhauer\Salesmanago\Model\Config\Source;

use \Benhauer\Salesmanago\Exception\SalesManagoException;
use \Benhauer\Salesmanago\Exception\UserAccessException;
use \Benhauer\Salesmanago\Model\User as UserModel;
use \Benhauer\Salesmanago\Model\Config\PurchasesConfig;

use \SALESmanago\Factories\FactoryOrganizer;
use \SALESmanago\Provider\UserProvider;

class SelectPurchaseProcessingType implements \Magento\Framework\Option\ArrayInterface
{

    public $factoryOrganizer;
    public $model;



    public function __construct(
        FactoryOrganizer $factoryOrganizer,
        UserModel $model
    ) {
        $this->factoryOrganizer = $factoryOrganizer;
        $this->model = $model;
    }

    /**
     * @return array
     */
    public function toOptionArray()
    {
        $answer = PurchasesConfig::$processingTypes;
        return $answer;
    }
}
