<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Classes StructType
 * Meta information extracted from the WSDL
 * - documentation: Flight Classes group
 * @subpackage Structs
 */
class Classes extends AbstractStructBase
{
    /**
     * The ClassOfService
     * @var \StructType\ClassOfService
     */
    public $ClassOfService;
    /**
     * Constructor method for Classes
     * @uses Classes::setClassOfService()
     * @param \StructType\ClassOfService $classOfService
     */
    public function __construct(\StructType\ClassOfService $classOfService = null)
    {
        $this
            ->setClassOfService($classOfService);
    }
    /**
     * Get ClassOfService value
     * @return \StructType\ClassOfService|null
     */
    public function getClassOfService()
    {
        return $this->ClassOfService;
    }
    /**
     * Set ClassOfService value
     * @param \StructType\ClassOfService $classOfService
     * @return \StructType\Classes
     */
    public function setClassOfService(\StructType\ClassOfService $classOfService = null)
    {
        $this->ClassOfService = $classOfService;
        return $this;
    }
}
