<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Manage_Job_Requisition_Freeze_RequestType StructType
 * Meta information extracted from the WSDL
 * - documentation: Wrapper for Manage Job Requisition Freeze Web Service
 * @subpackage Structs
 */
class Manage_Job_Requisition_Freeze_RequestType extends AbstractStructBase
{
    /**
     * The Business_Process_Parameters
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\Business_Process_ParametersType
     */
    public $Business_Process_Parameters;
    /**
     * The Manage_Job_Requisition_Data
     * @var \StructType\Manage_Job_Requisition_Freeze_DataType
     */
    public $Manage_Job_Requisition_Data;
    /**
     * The version
     * Meta information extracted from the WSDL
     * - ref: wd:version
     * @var string
     */
    public $version;
    /**
     * Constructor method for Manage_Job_Requisition_Freeze_RequestType
     * @uses Manage_Job_Requisition_Freeze_RequestType::setBusiness_Process_Parameters()
     * @uses Manage_Job_Requisition_Freeze_RequestType::setManage_Job_Requisition_Data()
     * @uses Manage_Job_Requisition_Freeze_RequestType::setVersion()
     * @param \StructType\Business_Process_ParametersType $business_Process_Parameters
     * @param \StructType\Manage_Job_Requisition_Freeze_DataType $manage_Job_Requisition_Data
     * @param string $version
     */
    public function __construct(\StructType\Business_Process_ParametersType $business_Process_Parameters = null, \StructType\Manage_Job_Requisition_Freeze_DataType $manage_Job_Requisition_Data = null, $version = null)
    {
        $this
            ->setBusiness_Process_Parameters($business_Process_Parameters)
            ->setManage_Job_Requisition_Data($manage_Job_Requisition_Data)
            ->setVersion($version);
    }
    /**
     * Get Business_Process_Parameters value
     * @return \StructType\Business_Process_ParametersType|null
     */
    public function getBusiness_Process_Parameters()
    {
        return $this->Business_Process_Parameters;
    }
    /**
     * Set Business_Process_Parameters value
     * @param \StructType\Business_Process_ParametersType $business_Process_Parameters
     * @return \StructType\Manage_Job_Requisition_Freeze_RequestType
     */
    public function setBusiness_Process_Parameters(\StructType\Business_Process_ParametersType $business_Process_Parameters = null)
    {
        $this->Business_Process_Parameters = $business_Process_Parameters;
        return $this;
    }
    /**
     * Get Manage_Job_Requisition_Data value
     * @return \StructType\Manage_Job_Requisition_Freeze_DataType|null
     */
    public function getManage_Job_Requisition_Data()
    {
        return $this->Manage_Job_Requisition_Data;
    }
    /**
     * Set Manage_Job_Requisition_Data value
     * @param \StructType\Manage_Job_Requisition_Freeze_DataType $manage_Job_Requisition_Data
     * @return \StructType\Manage_Job_Requisition_Freeze_RequestType
     */
    public function setManage_Job_Requisition_Data(\StructType\Manage_Job_Requisition_Freeze_DataType $manage_Job_Requisition_Data = null)
    {
        $this->Manage_Job_Requisition_Data = $manage_Job_Requisition_Data;
        return $this;
    }
    /**
     * Get version value
     * @return string|null
     */
    public function getVersion()
    {
        return $this->version;
    }
    /**
     * Set version value
     * @param string $version
     * @return \StructType\Manage_Job_Requisition_Freeze_RequestType
     */
    public function setVersion($version = null)
    {
        // validation for constraint: string
        if (!is_null($version) && !is_string($version)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($version, true), gettype($version)), __LINE__);
        }
        $this->version = $version;
        return $this;
    }
}
