<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Assign_Pay_Group_for_Position_Restriction_DataType
 * StructType
 * Meta information extracted from the WSDL
 * - documentation: Wrapper element for Assign Pay Group for Position Restriction when it is a sub business process to Create Position.
 * @subpackage Structs
 */
class Assign_Pay_Group_for_Position_Restriction_DataType extends AbstractStructBase
{
    /**
     * The Pay_Group_Reference
     * Meta information extracted from the WSDL
     * - documentation: Reference to the pay group to assign to this Position. Currently this is only required when doing Commitment Accounting.
     * @var \StructType\Pay_GroupObjectType
     */
    public $Pay_Group_Reference;
    /**
     * Constructor method for Assign_Pay_Group_for_Position_Restriction_DataType
     * @uses Assign_Pay_Group_for_Position_Restriction_DataType::setPay_Group_Reference()
     * @param \StructType\Pay_GroupObjectType $pay_Group_Reference
     */
    public function __construct(\StructType\Pay_GroupObjectType $pay_Group_Reference = null)
    {
        $this
            ->setPay_Group_Reference($pay_Group_Reference);
    }
    /**
     * Get Pay_Group_Reference value
     * @return \StructType\Pay_GroupObjectType|null
     */
    public function getPay_Group_Reference()
    {
        return $this->Pay_Group_Reference;
    }
    /**
     * Set Pay_Group_Reference value
     * @param \StructType\Pay_GroupObjectType $pay_Group_Reference
     * @return \StructType\Assign_Pay_Group_for_Position_Restriction_DataType
     */
    public function setPay_Group_Reference(\StructType\Pay_GroupObjectType $pay_Group_Reference = null)
    {
        $this->Pay_Group_Reference = $pay_Group_Reference;
        return $this;
    }
}
