<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_HotelResultsBookingRules StructType
 * @subpackage Structs
 */
class JP_HotelResultsBookingRules extends AbstractStructBase
{
    /**
     * The HotelOptions
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_HotelOptionBookingRules
     */
    public $HotelOptions;
    /**
     * Constructor method for JP_HotelResultsBookingRules
     * @uses JP_HotelResultsBookingRules::setHotelOptions()
     * @param \ArrayType\ArrayOfJP_HotelOptionBookingRules $hotelOptions
     */
    public function __construct(\ArrayType\ArrayOfJP_HotelOptionBookingRules $hotelOptions = null)
    {
        $this
            ->setHotelOptions($hotelOptions);
    }
    /**
     * Get HotelOptions value
     * @return \ArrayType\ArrayOfJP_HotelOptionBookingRules|null
     */
    public function getHotelOptions()
    {
        return $this->HotelOptions;
    }
    /**
     * Set HotelOptions value
     * @param \ArrayType\ArrayOfJP_HotelOptionBookingRules $hotelOptions
     * @return \StructType\JP_HotelResultsBookingRules
     */
    public function setHotelOptions(\ArrayType\ArrayOfJP_HotelOptionBookingRules $hotelOptions = null)
    {
        $this->HotelOptions = $hotelOptions;
        return $this;
    }
}
