<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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