<?php

namespace App\Soap\Request;

class WMaterials
{
    protected $IFrom;

    protected $ITo;

    protected $IPricesonly;

    protected $IZstore;

    public function __construct($data)
    {
        $this->IFrom = $data['IFrom'];
        $this->ITo = $data['ITo'];
        $this->IPricesonly = $data['IPricesonly'];
        $this->IZstore = '1010';
    }

    /**
     * Get the value of IFrom
     */
    public function getIFrom()
    {
        return $this->IFrom;
    }

    /**
     * Set the value of IFrom
     *
     * @return  self
     */
    public function setIFrom($IFrom)
    {
        $this->IFrom = $IFrom;

        return $this;
    }

    /**
     * Get the value of ITo
     */
    public function getITo()
    {
        return $this->ITo;
    }

    /**
     * Set the value of ITo
     *
     * @return  self
     */
    public function setITo($ITo)
    {
        $this->ITo = $ITo;

        return $this;
    }

    /**
     * Get the value of IPricesonly
     */
    public function getIPricesonly()
    {
        return $this->IPricesonly;
    }

    /**
     * Set the value of IPricesonly
     *
     * @return  self
     */
    public function setIPricesonly($IPricesonly)
    {
        $this->IPricesonly = $IPricesonly;

        return $this;
    }

    /**
     * Get the value of IZstore
     */
    public function getIZstore()
    {
        return $this->IZstore;
    }

    /**
     * Set the value of IZstore
     *
     * @return  self
     */
    public function setIZstore($IZstore)
    {
        $this->IZstore = $IZstore;

        return $this;
    }
}
