<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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