<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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