<?php

namespace InforItem;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for DataArea StructType
 * @package Item_
 * @subpackage Structs
 */
class Item_DataArea extends AbstractStructBase
{
    /**
     * The ProductLine
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \InforItem\Item_ProductLine
     */
    public $ProductLine;
    /**
     * Constructor method for DataArea
     * @uses Item_DataArea::setProductLine()
     * @param \InforItem\Item_ProductLine $productLine
     */
    public function __construct(\InforItem\Item_ProductLine $productLine = null)
    {
        $this
            ->setProductLine($productLine);
    }
    /**
     * Get ProductLine value
     * @return \InforItem\Item_ProductLine|null
     */
    public function getProductLine()
    {
        return $this->ProductLine;
    }
    /**
     * Set ProductLine value
     * @param \InforItem\Item_ProductLine $productLine
     * @return \InforItem\Item_DataArea
     */
    public function setProductLine(\InforItem\Item_ProductLine $productLine = null)
    {
        $this->ProductLine = $productLine;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \InforItem\Item_DataArea
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
