<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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