<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Purchase_Item_GroupType StructType
 * Meta information extracted from the WSDL
 * - documentation: Wrapper Element that includes Purchase Item Group Instance and Data
 * @subpackage Structs
 */
class Purchase_Item_GroupType extends AbstractStructBase
{
    /**
     * The Purchase_Item_Group_Reference
     * Meta information extracted from the WSDL
     * - documentation: Reference to an existing Purchase Item Group
     * - minOccurs: 0
     * @var \StructType\Purchase_Item_GroupObjectType
     */
    public $Purchase_Item_Group_Reference;
    /**
     * The Purchase_Item_Group_Data
     * Meta information extracted from the WSDL
     * - documentation: Purchase Item Group Data
     * - minOccurs: 0
     * @var \StructType\Purchase_Item_Group_DataType
     */
    public $Purchase_Item_Group_Data;
    /**
     * Constructor method for Purchase_Item_GroupType
     * @uses Purchase_Item_GroupType::setPurchase_Item_Group_Reference()
     * @uses Purchase_Item_GroupType::setPurchase_Item_Group_Data()
     * @param \StructType\Purchase_Item_GroupObjectType $purchase_Item_Group_Reference
     * @param \StructType\Purchase_Item_Group_DataType $purchase_Item_Group_Data
     */
    public function __construct(\StructType\Purchase_Item_GroupObjectType $purchase_Item_Group_Reference = null, \StructType\Purchase_Item_Group_DataType $purchase_Item_Group_Data = null)
    {
        $this
            ->setPurchase_Item_Group_Reference($purchase_Item_Group_Reference)
            ->setPurchase_Item_Group_Data($purchase_Item_Group_Data);
    }
    /**
     * Get Purchase_Item_Group_Reference value
     * @return \StructType\Purchase_Item_GroupObjectType|null
     */
    public function getPurchase_Item_Group_Reference()
    {
        return $this->Purchase_Item_Group_Reference;
    }
    /**
     * Set Purchase_Item_Group_Reference value
     * @param \StructType\Purchase_Item_GroupObjectType $purchase_Item_Group_Reference
     * @return \StructType\Purchase_Item_GroupType
     */
    public function setPurchase_Item_Group_Reference(\StructType\Purchase_Item_GroupObjectType $purchase_Item_Group_Reference = null)
    {
        $this->Purchase_Item_Group_Reference = $purchase_Item_Group_Reference;
        return $this;
    }
    /**
     * Get Purchase_Item_Group_Data value
     * @return \StructType\Purchase_Item_Group_DataType|null
     */
    public function getPurchase_Item_Group_Data()
    {
        return $this->Purchase_Item_Group_Data;
    }
    /**
     * Set Purchase_Item_Group_Data value
     * @param \StructType\Purchase_Item_Group_DataType $purchase_Item_Group_Data
     * @return \StructType\Purchase_Item_GroupType
     */
    public function setPurchase_Item_Group_Data(\StructType\Purchase_Item_Group_DataType $purchase_Item_Group_Data = null)
    {
        $this->Purchase_Item_Group_Data = $purchase_Item_Group_Data;
        return $this;
    }
}
