<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetSeriesSeatStatus-Request StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:GetSeriesSeatStatus-Request
 * @subpackage Structs
 */
class GetSeriesSeatStatus_Request extends GetEventSeatStatus_Request
{
    /**
     * The IsVerifySeriesEventSeatsAvailability
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $IsVerifySeriesEventSeatsAvailability;
    /**
     * Constructor method for GetSeriesSeatStatus-Request
     * @uses GetSeriesSeatStatus_Request::setIsVerifySeriesEventSeatsAvailability()
     * @param bool $isVerifySeriesEventSeatsAvailability
     */
    public function __construct($isVerifySeriesEventSeatsAvailability = null)
    {
        $this
            ->setIsVerifySeriesEventSeatsAvailability($isVerifySeriesEventSeatsAvailability);
    }
    /**
     * Get IsVerifySeriesEventSeatsAvailability value
     * @return bool|null
     */
    public function getIsVerifySeriesEventSeatsAvailability()
    {
        return $this->IsVerifySeriesEventSeatsAvailability;
    }
    /**
     * Set IsVerifySeriesEventSeatsAvailability value
     * @param bool $isVerifySeriesEventSeatsAvailability
     * @return \patest\StructType\GetSeriesSeatStatus_Request
     */
    public function setIsVerifySeriesEventSeatsAvailability($isVerifySeriesEventSeatsAvailability = null)
    {
        // validation for constraint: boolean
        if (!is_null($isVerifySeriesEventSeatsAvailability) && !is_bool($isVerifySeriesEventSeatsAvailability)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($isVerifySeriesEventSeatsAvailability, true), gettype($isVerifySeriesEventSeatsAvailability)), __LINE__);
        }
        $this->IsVerifySeriesEventSeatsAvailability = $isVerifySeriesEventSeatsAvailability;
        return $this;
    }
}
