<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Commodity_Code_TypeType StructType
 * Meta information extracted from the WSDL
 * - documentation: Commodity Code Type
 * @subpackage Structs
 */
class Commodity_Code_TypeType extends AbstractStructBase
{
    /**
     * The Commodity_Code_Type_Reference
     * Meta information extracted from the WSDL
     * - documentation: Reference to Commodity Code Type
     * - minOccurs: 0
     * @var \StructType\Commodity_Code_TypeObjectType
     */
    public $Commodity_Code_Type_Reference;
    /**
     * The Commodity_Code_Type_Data
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\Commodity_Code_Type_DataType
     */
    public $Commodity_Code_Type_Data;
    /**
     * Constructor method for Commodity_Code_TypeType
     * @uses Commodity_Code_TypeType::setCommodity_Code_Type_Reference()
     * @uses Commodity_Code_TypeType::setCommodity_Code_Type_Data()
     * @param \StructType\Commodity_Code_TypeObjectType $commodity_Code_Type_Reference
     * @param \StructType\Commodity_Code_Type_DataType $commodity_Code_Type_Data
     */
    public function __construct(\StructType\Commodity_Code_TypeObjectType $commodity_Code_Type_Reference = null, \StructType\Commodity_Code_Type_DataType $commodity_Code_Type_Data = null)
    {
        $this
            ->setCommodity_Code_Type_Reference($commodity_Code_Type_Reference)
            ->setCommodity_Code_Type_Data($commodity_Code_Type_Data);
    }
    /**
     * Get Commodity_Code_Type_Reference value
     * @return \StructType\Commodity_Code_TypeObjectType|null
     */
    public function getCommodity_Code_Type_Reference()
    {
        return $this->Commodity_Code_Type_Reference;
    }
    /**
     * Set Commodity_Code_Type_Reference value
     * @param \StructType\Commodity_Code_TypeObjectType $commodity_Code_Type_Reference
     * @return \StructType\Commodity_Code_TypeType
     */
    public function setCommodity_Code_Type_Reference(\StructType\Commodity_Code_TypeObjectType $commodity_Code_Type_Reference = null)
    {
        $this->Commodity_Code_Type_Reference = $commodity_Code_Type_Reference;
        return $this;
    }
    /**
     * Get Commodity_Code_Type_Data value
     * @return \StructType\Commodity_Code_Type_DataType|null
     */
    public function getCommodity_Code_Type_Data()
    {
        return $this->Commodity_Code_Type_Data;
    }
    /**
     * Set Commodity_Code_Type_Data value
     * @param \StructType\Commodity_Code_Type_DataType $commodity_Code_Type_Data
     * @return \StructType\Commodity_Code_TypeType
     */
    public function setCommodity_Code_Type_Data(\StructType\Commodity_Code_Type_DataType $commodity_Code_Type_Data = null)
    {
        $this->Commodity_Code_Type_Data = $commodity_Code_Type_Data;
        return $this;
    }
}
