<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Payroll_Timesheet_Total_HoursType StructType
 * Meta information extracted from the WSDL
 * - documentation: This element is a wrapper for a single Payroll Timesheet Total Hours. It contains a reference to the timesheet, and all the data in a sub-element.
 * @subpackage Structs
 */
class Payroll_Timesheet_Total_HoursType extends AbstractStructBase
{
    /**
     * The Payroll_Timesheet_Total_Hours_Reference
     * Meta information extracted from the WSDL
     * - documentation: A reference to the Payroll Timesheet Total Hours.
     * - minOccurs: 0
     * @var \StructType\Payroll_Timesheet_Total_HoursObjectType
     */
    public $Payroll_Timesheet_Total_Hours_Reference;
    /**
     * The Payroll_Timesheet_Total_Hours_Data
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\Payroll_Timesheet_Total_Hours_Data_WWSType
     */
    public $Payroll_Timesheet_Total_Hours_Data;
    /**
     * Constructor method for Payroll_Timesheet_Total_HoursType
     * @uses Payroll_Timesheet_Total_HoursType::setPayroll_Timesheet_Total_Hours_Reference()
     * @uses Payroll_Timesheet_Total_HoursType::setPayroll_Timesheet_Total_Hours_Data()
     * @param \StructType\Payroll_Timesheet_Total_HoursObjectType $payroll_Timesheet_Total_Hours_Reference
     * @param \StructType\Payroll_Timesheet_Total_Hours_Data_WWSType $payroll_Timesheet_Total_Hours_Data
     */
    public function __construct(\StructType\Payroll_Timesheet_Total_HoursObjectType $payroll_Timesheet_Total_Hours_Reference = null, \StructType\Payroll_Timesheet_Total_Hours_Data_WWSType $payroll_Timesheet_Total_Hours_Data = null)
    {
        $this
            ->setPayroll_Timesheet_Total_Hours_Reference($payroll_Timesheet_Total_Hours_Reference)
            ->setPayroll_Timesheet_Total_Hours_Data($payroll_Timesheet_Total_Hours_Data);
    }
    /**
     * Get Payroll_Timesheet_Total_Hours_Reference value
     * @return \StructType\Payroll_Timesheet_Total_HoursObjectType|null
     */
    public function getPayroll_Timesheet_Total_Hours_Reference()
    {
        return $this->Payroll_Timesheet_Total_Hours_Reference;
    }
    /**
     * Set Payroll_Timesheet_Total_Hours_Reference value
     * @param \StructType\Payroll_Timesheet_Total_HoursObjectType $payroll_Timesheet_Total_Hours_Reference
     * @return \StructType\Payroll_Timesheet_Total_HoursType
     */
    public function setPayroll_Timesheet_Total_Hours_Reference(\StructType\Payroll_Timesheet_Total_HoursObjectType $payroll_Timesheet_Total_Hours_Reference = null)
    {
        $this->Payroll_Timesheet_Total_Hours_Reference = $payroll_Timesheet_Total_Hours_Reference;
        return $this;
    }
    /**
     * Get Payroll_Timesheet_Total_Hours_Data value
     * @return \StructType\Payroll_Timesheet_Total_Hours_Data_WWSType|null
     */
    public function getPayroll_Timesheet_Total_Hours_Data()
    {
        return $this->Payroll_Timesheet_Total_Hours_Data;
    }
    /**
     * Set Payroll_Timesheet_Total_Hours_Data value
     * @param \StructType\Payroll_Timesheet_Total_Hours_Data_WWSType $payroll_Timesheet_Total_Hours_Data
     * @return \StructType\Payroll_Timesheet_Total_HoursType
     */
    public function setPayroll_Timesheet_Total_Hours_Data(\StructType\Payroll_Timesheet_Total_Hours_Data_WWSType $payroll_Timesheet_Total_Hours_Data = null)
    {
        $this->Payroll_Timesheet_Total_Hours_Data = $payroll_Timesheet_Total_Hours_Data;
        return $this;
    }
}
