<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AccountingPeriodFiscalCalendars StructType
 * @subpackage Structs
 */
class AccountingPeriodFiscalCalendars extends AbstractStructBase
{
    /**
     * The fiscalCalendar
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $fiscalCalendar;
    /**
     * The parent
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $parent;
    /**
     * Constructor method for AccountingPeriodFiscalCalendars
     * @uses AccountingPeriodFiscalCalendars::setFiscalCalendar()
     * @uses AccountingPeriodFiscalCalendars::setParent()
     * @param \StructType\RecordRef $fiscalCalendar
     * @param \StructType\RecordRef $parent
     */
    public function __construct(\StructType\RecordRef $fiscalCalendar = null, \StructType\RecordRef $parent = null)
    {
        $this
            ->setFiscalCalendar($fiscalCalendar)
            ->setParent($parent);
    }
    /**
     * Get fiscalCalendar value
     * @return \StructType\RecordRef|null
     */
    public function getFiscalCalendar()
    {
        return $this->fiscalCalendar;
    }
    /**
     * Set fiscalCalendar value
     * @param \StructType\RecordRef $fiscalCalendar
     * @return \StructType\AccountingPeriodFiscalCalendars
     */
    public function setFiscalCalendar(\StructType\RecordRef $fiscalCalendar = null)
    {
        $this->fiscalCalendar = $fiscalCalendar;
        return $this;
    }
    /**
     * Get parent value
     * @return \StructType\RecordRef|null
     */
    public function getParent()
    {
        return $this->parent;
    }
    /**
     * Set parent value
     * @param \StructType\RecordRef $parent
     * @return \StructType\AccountingPeriodFiscalCalendars
     */
    public function setParent(\StructType\RecordRef $parent = null)
    {
        $this->parent = $parent;
        return $this;
    }
}
