<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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