<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for PackageBookingRulesResponse StructType
 * @subpackage Structs
 */
class PackageBookingRulesResponse extends AbstractStructBase
{
    /**
     * The BookingRulesRS
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_BookingRulesRS
     */
    public $BookingRulesRS;
    /**
     * Constructor method for PackageBookingRulesResponse
     * @uses PackageBookingRulesResponse::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\PackageBookingRulesResponse
     */
    public function setBookingRulesRS(\StructType\JP_BookingRulesRS $bookingRulesRS = null)
    {
        $this->BookingRulesRS = $bookingRulesRS;
        return $this;
    }
}
