<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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