<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for MerchandiseHierarchyNodeSearchBasic StructType
 * @subpackage Structs
 */
class MerchandiseHierarchyNodeSearchBasic extends SearchRecordBasic
{
    /**
     * The description
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $description;
    /**
     * The externalId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $externalId;
    /**
     * The externalIdString
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $externalIdString;
    /**
     * The hierarchyLevel
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $hierarchyLevel;
    /**
     * The hierarchyVersion
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $hierarchyVersion;
    /**
     * The internalId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $internalId;
    /**
     * The internalIdNumber
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchLongField
     */
    public $internalIdNumber;
    /**
     * The name
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $name;
    /**
     * The parentNode
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $parentNode;
    /**
     * Constructor method for MerchandiseHierarchyNodeSearchBasic
     * @uses MerchandiseHierarchyNodeSearchBasic::setDescription()
     * @uses MerchandiseHierarchyNodeSearchBasic::setExternalId()
     * @uses MerchandiseHierarchyNodeSearchBasic::setExternalIdString()
     * @uses MerchandiseHierarchyNodeSearchBasic::setHierarchyLevel()
     * @uses MerchandiseHierarchyNodeSearchBasic::setHierarchyVersion()
     * @uses MerchandiseHierarchyNodeSearchBasic::setInternalId()
     * @uses MerchandiseHierarchyNodeSearchBasic::setInternalIdNumber()
     * @uses MerchandiseHierarchyNodeSearchBasic::setName()
     * @uses MerchandiseHierarchyNodeSearchBasic::setParentNode()
     * @param \StructType\SearchStringField $description
     * @param \StructType\SearchMultiSelectField $externalId
     * @param \StructType\SearchStringField $externalIdString
     * @param \StructType\SearchMultiSelectField $hierarchyLevel
     * @param \StructType\SearchMultiSelectField $hierarchyVersion
     * @param \StructType\SearchMultiSelectField $internalId
     * @param \StructType\SearchLongField $internalIdNumber
     * @param \StructType\SearchStringField $name
     * @param \StructType\SearchMultiSelectField $parentNode
     */
    public function __construct(\StructType\SearchStringField $description = null, \StructType\SearchMultiSelectField $externalId = null, \StructType\SearchStringField $externalIdString = null, \StructType\SearchMultiSelectField $hierarchyLevel = null, \StructType\SearchMultiSelectField $hierarchyVersion = null, \StructType\SearchMultiSelectField $internalId = null, \StructType\SearchLongField $internalIdNumber = null, \StructType\SearchStringField $name = null, \StructType\SearchMultiSelectField $parentNode = null)
    {
        $this
            ->setDescription($description)
            ->setExternalId($externalId)
            ->setExternalIdString($externalIdString)
            ->setHierarchyLevel($hierarchyLevel)
            ->setHierarchyVersion($hierarchyVersion)
            ->setInternalId($internalId)
            ->setInternalIdNumber($internalIdNumber)
            ->setName($name)
            ->setParentNode($parentNode);
    }
    /**
     * Get description value
     * @return \StructType\SearchStringField|null
     */
    public function getDescription()
    {
        return $this->description;
    }
    /**
     * Set description value
     * @param \StructType\SearchStringField $description
     * @return \StructType\MerchandiseHierarchyNodeSearchBasic
     */
    public function setDescription(\StructType\SearchStringField $description = null)
    {
        $this->description = $description;
        return $this;
    }
    /**
     * Get externalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getExternalId()
    {
        return $this->externalId;
    }
    /**
     * Set externalId value
     * @param \StructType\SearchMultiSelectField $externalId
     * @return \StructType\MerchandiseHierarchyNodeSearchBasic
     */
    public function setExternalId(\StructType\SearchMultiSelectField $externalId = null)
    {
        $this->externalId = $externalId;
        return $this;
    }
    /**
     * Get externalIdString value
     * @return \StructType\SearchStringField|null
     */
    public function getExternalIdString()
    {
        return $this->externalIdString;
    }
    /**
     * Set externalIdString value
     * @param \StructType\SearchStringField $externalIdString
     * @return \StructType\MerchandiseHierarchyNodeSearchBasic
     */
    public function setExternalIdString(\StructType\SearchStringField $externalIdString = null)
    {
        $this->externalIdString = $externalIdString;
        return $this;
    }
    /**
     * Get hierarchyLevel value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getHierarchyLevel()
    {
        return $this->hierarchyLevel;
    }
    /**
     * Set hierarchyLevel value
     * @param \StructType\SearchMultiSelectField $hierarchyLevel
     * @return \StructType\MerchandiseHierarchyNodeSearchBasic
     */
    public function setHierarchyLevel(\StructType\SearchMultiSelectField $hierarchyLevel = null)
    {
        $this->hierarchyLevel = $hierarchyLevel;
        return $this;
    }
    /**
     * Get hierarchyVersion value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getHierarchyVersion()
    {
        return $this->hierarchyVersion;
    }
    /**
     * Set hierarchyVersion value
     * @param \StructType\SearchMultiSelectField $hierarchyVersion
     * @return \StructType\MerchandiseHierarchyNodeSearchBasic
     */
    public function setHierarchyVersion(\StructType\SearchMultiSelectField $hierarchyVersion = null)
    {
        $this->hierarchyVersion = $hierarchyVersion;
        return $this;
    }
    /**
     * Get internalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getInternalId()
    {
        return $this->internalId;
    }
    /**
     * Set internalId value
     * @param \StructType\SearchMultiSelectField $internalId
     * @return \StructType\MerchandiseHierarchyNodeSearchBasic
     */
    public function setInternalId(\StructType\SearchMultiSelectField $internalId = null)
    {
        $this->internalId = $internalId;
        return $this;
    }
    /**
     * Get internalIdNumber value
     * @return \StructType\SearchLongField|null
     */
    public function getInternalIdNumber()
    {
        return $this->internalIdNumber;
    }
    /**
     * Set internalIdNumber value
     * @param \StructType\SearchLongField $internalIdNumber
     * @return \StructType\MerchandiseHierarchyNodeSearchBasic
     */
    public function setInternalIdNumber(\StructType\SearchLongField $internalIdNumber = null)
    {
        $this->internalIdNumber = $internalIdNumber;
        return $this;
    }
    /**
     * Get name value
     * @return \StructType\SearchStringField|null
     */
    public function getName()
    {
        return $this->name;
    }
    /**
     * Set name value
     * @param \StructType\SearchStringField $name
     * @return \StructType\MerchandiseHierarchyNodeSearchBasic
     */
    public function setName(\StructType\SearchStringField $name = null)
    {
        $this->name = $name;
        return $this;
    }
    /**
     * Get parentNode value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getParentNode()
    {
        return $this->parentNode;
    }
    /**
     * Set parentNode value
     * @param \StructType\SearchMultiSelectField $parentNode
     * @return \StructType\MerchandiseHierarchyNodeSearchBasic
     */
    public function setParentNode(\StructType\SearchMultiSelectField $parentNode = null)
    {
        $this->parentNode = $parentNode;
        return $this;
    }
}
