<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Spend_Category_HierarchyType StructType
 * Meta information extracted from the WSDL
 * - documentation: Wrapper Element that includes Spend Category Hierarchy Instance and Data
 * @subpackage Structs
 */
class Spend_Category_HierarchyType extends AbstractStructBase
{
    /**
     * The Spend_Category_Hierarchy_Reference
     * Meta information extracted from the WSDL
     * - documentation: Reference to an existing Spend Category Hierarchy.
     * - minOccurs: 0
     * @var \StructType\Spend_Category_HierarchyObjectType
     */
    public $Spend_Category_Hierarchy_Reference;
    /**
     * The Spend_Category_Hierarchy_Data
     * Meta information extracted from the WSDL
     * - documentation: Spend Category Hierarchy Data
     * - minOccurs: 0
     * @var \StructType\Spend_Category_Hierarchy_DataType
     */
    public $Spend_Category_Hierarchy_Data;
    /**
     * Constructor method for Spend_Category_HierarchyType
     * @uses Spend_Category_HierarchyType::setSpend_Category_Hierarchy_Reference()
     * @uses Spend_Category_HierarchyType::setSpend_Category_Hierarchy_Data()
     * @param \StructType\Spend_Category_HierarchyObjectType $spend_Category_Hierarchy_Reference
     * @param \StructType\Spend_Category_Hierarchy_DataType $spend_Category_Hierarchy_Data
     */
    public function __construct(\StructType\Spend_Category_HierarchyObjectType $spend_Category_Hierarchy_Reference = null, \StructType\Spend_Category_Hierarchy_DataType $spend_Category_Hierarchy_Data = null)
    {
        $this
            ->setSpend_Category_Hierarchy_Reference($spend_Category_Hierarchy_Reference)
            ->setSpend_Category_Hierarchy_Data($spend_Category_Hierarchy_Data);
    }
    /**
     * Get Spend_Category_Hierarchy_Reference value
     * @return \StructType\Spend_Category_HierarchyObjectType|null
     */
    public function getSpend_Category_Hierarchy_Reference()
    {
        return $this->Spend_Category_Hierarchy_Reference;
    }
    /**
     * Set Spend_Category_Hierarchy_Reference value
     * @param \StructType\Spend_Category_HierarchyObjectType $spend_Category_Hierarchy_Reference
     * @return \StructType\Spend_Category_HierarchyType
     */
    public function setSpend_Category_Hierarchy_Reference(\StructType\Spend_Category_HierarchyObjectType $spend_Category_Hierarchy_Reference = null)
    {
        $this->Spend_Category_Hierarchy_Reference = $spend_Category_Hierarchy_Reference;
        return $this;
    }
    /**
     * Get Spend_Category_Hierarchy_Data value
     * @return \StructType\Spend_Category_Hierarchy_DataType|null
     */
    public function getSpend_Category_Hierarchy_Data()
    {
        return $this->Spend_Category_Hierarchy_Data;
    }
    /**
     * Set Spend_Category_Hierarchy_Data value
     * @param \StructType\Spend_Category_Hierarchy_DataType $spend_Category_Hierarchy_Data
     * @return \StructType\Spend_Category_HierarchyType
     */
    public function setSpend_Category_Hierarchy_Data(\StructType\Spend_Category_Hierarchy_DataType $spend_Category_Hierarchy_Data = null)
    {
        $this->Spend_Category_Hierarchy_Data = $spend_Category_Hierarchy_Data;
        return $this;
    }
}
