<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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