<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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