<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Printing.AuxiliaryDataItem.PersonalTicketsData StructType
 * @subpackage Structs
 */
class Printing_AuxiliaryDataItem_PersonalTicketsData extends Printing_AuxiliaryDataItem_Base
{
    /**
     * The AllPersonalTickets
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket
     */
    public $AllPersonalTickets;
    /**
     * The BoughtAndConfirmedPersonalTickets
     * Meta information extracted from the WSDL
     * - documentation: Calculated.
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket
     */
    public $BoughtAndConfirmedPersonalTickets;
    /**
     * The BoughtPersonalTickets
     * Meta information extracted from the WSDL
     * - documentation: Calculated.
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket
     */
    public $BoughtPersonalTickets;
    /**
     * The ConfirmedPersonalTickets
     * Meta information extracted from the WSDL
     * - documentation: Calculated.
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket
     */
    public $ConfirmedPersonalTickets;
    /**
     * The PrintedPersonalTickets
     * Meta information extracted from the WSDL
     * - documentation: Calculated.
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket
     */
    public $PrintedPersonalTickets;
    /**
     * The ReservedPersonalTickets
     * Meta information extracted from the WSDL
     * - documentation: Calculated.
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket
     */
    public $ReservedPersonalTickets;
    /**
     * The ReturnedPersonalTickets
     * Meta information extracted from the WSDL
     * - documentation: Calculated.
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket
     */
    public $ReturnedPersonalTickets;
    /**
     * Constructor method for Printing.AuxiliaryDataItem.PersonalTicketsData
     * @uses Printing_AuxiliaryDataItem_PersonalTicketsData::setAllPersonalTickets()
     * @uses Printing_AuxiliaryDataItem_PersonalTicketsData::setBoughtAndConfirmedPersonalTickets()
     * @uses Printing_AuxiliaryDataItem_PersonalTicketsData::setBoughtPersonalTickets()
     * @uses Printing_AuxiliaryDataItem_PersonalTicketsData::setConfirmedPersonalTickets()
     * @uses Printing_AuxiliaryDataItem_PersonalTicketsData::setPrintedPersonalTickets()
     * @uses Printing_AuxiliaryDataItem_PersonalTicketsData::setReservedPersonalTickets()
     * @uses Printing_AuxiliaryDataItem_PersonalTicketsData::setReturnedPersonalTickets()
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $allPersonalTickets
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $boughtAndConfirmedPersonalTickets
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $boughtPersonalTickets
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $confirmedPersonalTickets
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $printedPersonalTickets
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $reservedPersonalTickets
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $returnedPersonalTickets
     */
    public function __construct(\patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $allPersonalTickets = null, \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $boughtAndConfirmedPersonalTickets = null, \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $boughtPersonalTickets = null, \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $confirmedPersonalTickets = null, \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $printedPersonalTickets = null, \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $reservedPersonalTickets = null, \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $returnedPersonalTickets = null)
    {
        $this
            ->setAllPersonalTickets($allPersonalTickets)
            ->setBoughtAndConfirmedPersonalTickets($boughtAndConfirmedPersonalTickets)
            ->setBoughtPersonalTickets($boughtPersonalTickets)
            ->setConfirmedPersonalTickets($confirmedPersonalTickets)
            ->setPrintedPersonalTickets($printedPersonalTickets)
            ->setReservedPersonalTickets($reservedPersonalTickets)
            ->setReturnedPersonalTickets($returnedPersonalTickets);
    }
    /**
     * Get AllPersonalTickets value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket|null
     */
    public function getAllPersonalTickets()
    {
        return isset($this->AllPersonalTickets) ? $this->AllPersonalTickets : null;
    }
    /**
     * Set AllPersonalTickets value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $allPersonalTickets
     * @return \patest\StructType\Printing_AuxiliaryDataItem_PersonalTicketsData
     */
    public function setAllPersonalTickets(\patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $allPersonalTickets = null)
    {
        if (is_null($allPersonalTickets) || (is_array($allPersonalTickets) && empty($allPersonalTickets))) {
            unset($this->AllPersonalTickets);
        } else {
            $this->AllPersonalTickets = $allPersonalTickets;
        }
        return $this;
    }
    /**
     * Get BoughtAndConfirmedPersonalTickets value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket|null
     */
    public function getBoughtAndConfirmedPersonalTickets()
    {
        return isset($this->BoughtAndConfirmedPersonalTickets) ? $this->BoughtAndConfirmedPersonalTickets : null;
    }
    /**
     * Set BoughtAndConfirmedPersonalTickets value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $boughtAndConfirmedPersonalTickets
     * @return \patest\StructType\Printing_AuxiliaryDataItem_PersonalTicketsData
     */
    public function setBoughtAndConfirmedPersonalTickets(\patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $boughtAndConfirmedPersonalTickets = null)
    {
        if (is_null($boughtAndConfirmedPersonalTickets) || (is_array($boughtAndConfirmedPersonalTickets) && empty($boughtAndConfirmedPersonalTickets))) {
            unset($this->BoughtAndConfirmedPersonalTickets);
        } else {
            $this->BoughtAndConfirmedPersonalTickets = $boughtAndConfirmedPersonalTickets;
        }
        return $this;
    }
    /**
     * Get BoughtPersonalTickets value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket|null
     */
    public function getBoughtPersonalTickets()
    {
        return isset($this->BoughtPersonalTickets) ? $this->BoughtPersonalTickets : null;
    }
    /**
     * Set BoughtPersonalTickets value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $boughtPersonalTickets
     * @return \patest\StructType\Printing_AuxiliaryDataItem_PersonalTicketsData
     */
    public function setBoughtPersonalTickets(\patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $boughtPersonalTickets = null)
    {
        if (is_null($boughtPersonalTickets) || (is_array($boughtPersonalTickets) && empty($boughtPersonalTickets))) {
            unset($this->BoughtPersonalTickets);
        } else {
            $this->BoughtPersonalTickets = $boughtPersonalTickets;
        }
        return $this;
    }
    /**
     * Get ConfirmedPersonalTickets value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket|null
     */
    public function getConfirmedPersonalTickets()
    {
        return isset($this->ConfirmedPersonalTickets) ? $this->ConfirmedPersonalTickets : null;
    }
    /**
     * Set ConfirmedPersonalTickets value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $confirmedPersonalTickets
     * @return \patest\StructType\Printing_AuxiliaryDataItem_PersonalTicketsData
     */
    public function setConfirmedPersonalTickets(\patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $confirmedPersonalTickets = null)
    {
        if (is_null($confirmedPersonalTickets) || (is_array($confirmedPersonalTickets) && empty($confirmedPersonalTickets))) {
            unset($this->ConfirmedPersonalTickets);
        } else {
            $this->ConfirmedPersonalTickets = $confirmedPersonalTickets;
        }
        return $this;
    }
    /**
     * Get PrintedPersonalTickets value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket|null
     */
    public function getPrintedPersonalTickets()
    {
        return isset($this->PrintedPersonalTickets) ? $this->PrintedPersonalTickets : null;
    }
    /**
     * Set PrintedPersonalTickets value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $printedPersonalTickets
     * @return \patest\StructType\Printing_AuxiliaryDataItem_PersonalTicketsData
     */
    public function setPrintedPersonalTickets(\patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $printedPersonalTickets = null)
    {
        if (is_null($printedPersonalTickets) || (is_array($printedPersonalTickets) && empty($printedPersonalTickets))) {
            unset($this->PrintedPersonalTickets);
        } else {
            $this->PrintedPersonalTickets = $printedPersonalTickets;
        }
        return $this;
    }
    /**
     * Get ReservedPersonalTickets value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket|null
     */
    public function getReservedPersonalTickets()
    {
        return isset($this->ReservedPersonalTickets) ? $this->ReservedPersonalTickets : null;
    }
    /**
     * Set ReservedPersonalTickets value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $reservedPersonalTickets
     * @return \patest\StructType\Printing_AuxiliaryDataItem_PersonalTicketsData
     */
    public function setReservedPersonalTickets(\patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $reservedPersonalTickets = null)
    {
        if (is_null($reservedPersonalTickets) || (is_array($reservedPersonalTickets) && empty($reservedPersonalTickets))) {
            unset($this->ReservedPersonalTickets);
        } else {
            $this->ReservedPersonalTickets = $reservedPersonalTickets;
        }
        return $this;
    }
    /**
     * Get ReturnedPersonalTickets value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket|null
     */
    public function getReturnedPersonalTickets()
    {
        return isset($this->ReturnedPersonalTickets) ? $this->ReturnedPersonalTickets : null;
    }
    /**
     * Set ReturnedPersonalTickets value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $returnedPersonalTickets
     * @return \patest\StructType\Printing_AuxiliaryDataItem_PersonalTicketsData
     */
    public function setReturnedPersonalTickets(\patest\StructType\RecordSetOfPrinting_PrintableItem_Ticket $returnedPersonalTickets = null)
    {
        if (is_null($returnedPersonalTickets) || (is_array($returnedPersonalTickets) && empty($returnedPersonalTickets))) {
            unset($this->ReturnedPersonalTickets);
        } else {
            $this->ReturnedPersonalTickets = $returnedPersonalTickets;
        }
        return $this;
    }
}
