<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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