<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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