<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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