<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for MerchandiseHierarchyNodeSearch StructType
 * @subpackage Structs
 */
class MerchandiseHierarchyNodeSearch extends SearchRecord
{
    /**
     * The basic
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\MerchandiseHierarchyNodeSearchBasic
     */
    public $basic;
    /**
     * The parentNodeJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\MerchandiseHierarchyNodeSearchBasic
     */
    public $parentNodeJoin;
    /**
     * Constructor method for MerchandiseHierarchyNodeSearch
     * @uses MerchandiseHierarchyNodeSearch::setBasic()
     * @uses MerchandiseHierarchyNodeSearch::setParentNodeJoin()
     * @param \StructType\MerchandiseHierarchyNodeSearchBasic $basic
     * @param \StructType\MerchandiseHierarchyNodeSearchBasic $parentNodeJoin
     */
    public function __construct(\StructType\MerchandiseHierarchyNodeSearchBasic $basic = null, \StructType\MerchandiseHierarchyNodeSearchBasic $parentNodeJoin = null)
    {
        $this
            ->setBasic($basic)
            ->setParentNodeJoin($parentNodeJoin);
    }
    /**
     * Get basic value
     * @return \StructType\MerchandiseHierarchyNodeSearchBasic|null
     */
    public function getBasic()
    {
        return $this->basic;
    }
    /**
     * Set basic value
     * @param \StructType\MerchandiseHierarchyNodeSearchBasic $basic
     * @return \StructType\MerchandiseHierarchyNodeSearch
     */
    public function setBasic(\StructType\MerchandiseHierarchyNodeSearchBasic $basic = null)
    {
        $this->basic = $basic;
        return $this;
    }
    /**
     * Get parentNodeJoin value
     * @return \StructType\MerchandiseHierarchyNodeSearchBasic|null
     */
    public function getParentNodeJoin()
    {
        return $this->parentNodeJoin;
    }
    /**
     * Set parentNodeJoin value
     * @param \StructType\MerchandiseHierarchyNodeSearchBasic $parentNodeJoin
     * @return \StructType\MerchandiseHierarchyNodeSearch
     */
    public function setParentNodeJoin(\StructType\MerchandiseHierarchyNodeSearchBasic $parentNodeJoin = null)
    {
        $this->parentNodeJoin = $parentNodeJoin;
        return $this;
    }
}
