<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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