<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_FlightRequiredFields StructType
 * @subpackage Structs
 */
class JP_FlightRequiredFields extends AbstractStructBase
{
    /**
     * The FlightBooking
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_FlightBooking
     */
    public $FlightBooking;
    /**
     * Constructor method for JP_FlightRequiredFields
     * @uses JP_FlightRequiredFields::setFlightBooking()
     * @param \StructType\JP_FlightBooking $flightBooking
     */
    public function __construct(\StructType\JP_FlightBooking $flightBooking = null)
    {
        $this
            ->setFlightBooking($flightBooking);
    }
    /**
     * Get FlightBooking value
     * @return \StructType\JP_FlightBooking|null
     */
    public function getFlightBooking()
    {
        return $this->FlightBooking;
    }
    /**
     * Set FlightBooking value
     * @param \StructType\JP_FlightBooking $flightBooking
     * @return \StructType\JP_FlightRequiredFields
     */
    public function setFlightBooking(\StructType\JP_FlightBooking $flightBooking = null)
    {
        $this->FlightBooking = $flightBooking;
        return $this;
    }
}
