<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Printing.AuxDataItem.TransactionSeatsSummaryByRows
 * StructType
 * @subpackage Structs
 */
class Printing_AuxDataItem_TransactionSeatsSummaryByRows extends Printing_AuxiliaryDataItem_Base
{
    /**
     * The AllTicketsSummary
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem
     */
    public $AllTicketsSummary;
    /**
     * The BoughtAndConfirmedTicketsSummary
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem
     */
    public $BoughtAndConfirmedTicketsSummary;
    /**
     * The BoughtTicketsSummary
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem
     */
    public $BoughtTicketsSummary;
    /**
     * The ConfirmedTicketsSummary
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem
     */
    public $ConfirmedTicketsSummary;
    /**
     * The PrintedTicketsSummary
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem
     */
    public $PrintedTicketsSummary;
    /**
     * The ReservedTicketsSummary
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem
     */
    public $ReservedTicketsSummary;
    /**
     * The ReturnedTicketsSummary
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem
     */
    public $ReturnedTicketsSummary;
    /**
     * Constructor method for Printing.AuxDataItem.TransactionSeatsSummaryByRows
     * @uses Printing_AuxDataItem_TransactionSeatsSummaryByRows::setAllTicketsSummary()
     * @uses Printing_AuxDataItem_TransactionSeatsSummaryByRows::setBoughtAndConfirmedTicketsSummary()
     * @uses Printing_AuxDataItem_TransactionSeatsSummaryByRows::setBoughtTicketsSummary()
     * @uses Printing_AuxDataItem_TransactionSeatsSummaryByRows::setConfirmedTicketsSummary()
     * @uses Printing_AuxDataItem_TransactionSeatsSummaryByRows::setPrintedTicketsSummary()
     * @uses Printing_AuxDataItem_TransactionSeatsSummaryByRows::setReservedTicketsSummary()
     * @uses Printing_AuxDataItem_TransactionSeatsSummaryByRows::setReturnedTicketsSummary()
     * @param \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $allTicketsSummary
     * @param \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $boughtAndConfirmedTicketsSummary
     * @param \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $boughtTicketsSummary
     * @param \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $confirmedTicketsSummary
     * @param \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $printedTicketsSummary
     * @param \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $reservedTicketsSummary
     * @param \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $returnedTicketsSummary
     */
    public function __construct(\patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $allTicketsSummary = null, \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $boughtAndConfirmedTicketsSummary = null, \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $boughtTicketsSummary = null, \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $confirmedTicketsSummary = null, \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $printedTicketsSummary = null, \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $reservedTicketsSummary = null, \patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $returnedTicketsSummary = null)
    {
        $this
            ->setAllTicketsSummary($allTicketsSummary)
            ->setBoughtAndConfirmedTicketsSummary($boughtAndConfirmedTicketsSummary)
            ->setBoughtTicketsSummary($boughtTicketsSummary)
            ->setConfirmedTicketsSummary($confirmedTicketsSummary)
            ->setPrintedTicketsSummary($printedTicketsSummary)
            ->setReservedTicketsSummary($reservedTicketsSummary)
            ->setReturnedTicketsSummary($returnedTicketsSummary);
    }
    /**
     * Get AllTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem|null
     */
    public function getAllTicketsSummary()
    {
        return isset($this->AllTicketsSummary) ? $this->AllTicketsSummary : null;
    }
    /**
     * Set AllTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $allTicketsSummary
     * @return \patest\StructType\Printing_AuxDataItem_TransactionSeatsSummaryByRows
     */
    public function setAllTicketsSummary(\patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $allTicketsSummary = null)
    {
        if (is_null($allTicketsSummary) || (is_array($allTicketsSummary) && empty($allTicketsSummary))) {
            unset($this->AllTicketsSummary);
        } else {
            $this->AllTicketsSummary = $allTicketsSummary;
        }
        return $this;
    }
    /**
     * Get BoughtAndConfirmedTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem|null
     */
    public function getBoughtAndConfirmedTicketsSummary()
    {
        return isset($this->BoughtAndConfirmedTicketsSummary) ? $this->BoughtAndConfirmedTicketsSummary : null;
    }
    /**
     * Set BoughtAndConfirmedTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $boughtAndConfirmedTicketsSummary
     * @return \patest\StructType\Printing_AuxDataItem_TransactionSeatsSummaryByRows
     */
    public function setBoughtAndConfirmedTicketsSummary(\patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $boughtAndConfirmedTicketsSummary = null)
    {
        if (is_null($boughtAndConfirmedTicketsSummary) || (is_array($boughtAndConfirmedTicketsSummary) && empty($boughtAndConfirmedTicketsSummary))) {
            unset($this->BoughtAndConfirmedTicketsSummary);
        } else {
            $this->BoughtAndConfirmedTicketsSummary = $boughtAndConfirmedTicketsSummary;
        }
        return $this;
    }
    /**
     * Get BoughtTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem|null
     */
    public function getBoughtTicketsSummary()
    {
        return isset($this->BoughtTicketsSummary) ? $this->BoughtTicketsSummary : null;
    }
    /**
     * Set BoughtTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $boughtTicketsSummary
     * @return \patest\StructType\Printing_AuxDataItem_TransactionSeatsSummaryByRows
     */
    public function setBoughtTicketsSummary(\patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $boughtTicketsSummary = null)
    {
        if (is_null($boughtTicketsSummary) || (is_array($boughtTicketsSummary) && empty($boughtTicketsSummary))) {
            unset($this->BoughtTicketsSummary);
        } else {
            $this->BoughtTicketsSummary = $boughtTicketsSummary;
        }
        return $this;
    }
    /**
     * Get ConfirmedTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem|null
     */
    public function getConfirmedTicketsSummary()
    {
        return isset($this->ConfirmedTicketsSummary) ? $this->ConfirmedTicketsSummary : null;
    }
    /**
     * Set ConfirmedTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $confirmedTicketsSummary
     * @return \patest\StructType\Printing_AuxDataItem_TransactionSeatsSummaryByRows
     */
    public function setConfirmedTicketsSummary(\patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $confirmedTicketsSummary = null)
    {
        if (is_null($confirmedTicketsSummary) || (is_array($confirmedTicketsSummary) && empty($confirmedTicketsSummary))) {
            unset($this->ConfirmedTicketsSummary);
        } else {
            $this->ConfirmedTicketsSummary = $confirmedTicketsSummary;
        }
        return $this;
    }
    /**
     * Get PrintedTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem|null
     */
    public function getPrintedTicketsSummary()
    {
        return isset($this->PrintedTicketsSummary) ? $this->PrintedTicketsSummary : null;
    }
    /**
     * Set PrintedTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $printedTicketsSummary
     * @return \patest\StructType\Printing_AuxDataItem_TransactionSeatsSummaryByRows
     */
    public function setPrintedTicketsSummary(\patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $printedTicketsSummary = null)
    {
        if (is_null($printedTicketsSummary) || (is_array($printedTicketsSummary) && empty($printedTicketsSummary))) {
            unset($this->PrintedTicketsSummary);
        } else {
            $this->PrintedTicketsSummary = $printedTicketsSummary;
        }
        return $this;
    }
    /**
     * Get ReservedTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem|null
     */
    public function getReservedTicketsSummary()
    {
        return isset($this->ReservedTicketsSummary) ? $this->ReservedTicketsSummary : null;
    }
    /**
     * Set ReservedTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $reservedTicketsSummary
     * @return \patest\StructType\Printing_AuxDataItem_TransactionSeatsSummaryByRows
     */
    public function setReservedTicketsSummary(\patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $reservedTicketsSummary = null)
    {
        if (is_null($reservedTicketsSummary) || (is_array($reservedTicketsSummary) && empty($reservedTicketsSummary))) {
            unset($this->ReservedTicketsSummary);
        } else {
            $this->ReservedTicketsSummary = $reservedTicketsSummary;
        }
        return $this;
    }
    /**
     * Get ReturnedTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem|null
     */
    public function getReturnedTicketsSummary()
    {
        return isset($this->ReturnedTicketsSummary) ? $this->ReturnedTicketsSummary : null;
    }
    /**
     * Set ReturnedTicketsSummary 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_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $returnedTicketsSummary
     * @return \patest\StructType\Printing_AuxDataItem_TransactionSeatsSummaryByRows
     */
    public function setReturnedTicketsSummary(\patest\StructType\RecordSetOfPrinting_AuxDataItem_TransactionSeatsSummaryByRows_SummaryItem $returnedTicketsSummary = null)
    {
        if (is_null($returnedTicketsSummary) || (is_array($returnedTicketsSummary) && empty($returnedTicketsSummary))) {
            unset($this->ReturnedTicketsSummary);
        } else {
            $this->ReturnedTicketsSummary = $returnedTicketsSummary;
        }
        return $this;
    }
}
