<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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