<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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