<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_SearchPreSegmentsCruise StructType
 * @subpackage Structs
 */
class JP_SearchPreSegmentsCruise extends AbstractStructBase
{
    /**
     * The SearchSegmentCruise
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_SearchPreSegmentCruise
     */
    public $SearchSegmentCruise;
    /**
     * The CruiseSuppliers
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_CruiseSupplier
     */
    public $CruiseSuppliers;
    /**
     * Constructor method for JP_SearchPreSegmentsCruise
     * @uses JP_SearchPreSegmentsCruise::setSearchSegmentCruise()
     * @uses JP_SearchPreSegmentsCruise::setCruiseSuppliers()
     * @param \StructType\JP_SearchPreSegmentCruise $searchSegmentCruise
     * @param \ArrayType\ArrayOfJP_CruiseSupplier $cruiseSuppliers
     */
    public function __construct(\StructType\JP_SearchPreSegmentCruise $searchSegmentCruise = null, \ArrayType\ArrayOfJP_CruiseSupplier $cruiseSuppliers = null)
    {
        $this
            ->setSearchSegmentCruise($searchSegmentCruise)
            ->setCruiseSuppliers($cruiseSuppliers);
    }
    /**
     * Get SearchSegmentCruise value
     * @return \StructType\JP_SearchPreSegmentCruise|null
     */
    public function getSearchSegmentCruise()
    {
        return $this->SearchSegmentCruise;
    }
    /**
     * Set SearchSegmentCruise value
     * @param \StructType\JP_SearchPreSegmentCruise $searchSegmentCruise
     * @return \StructType\JP_SearchPreSegmentsCruise
     */
    public function setSearchSegmentCruise(\StructType\JP_SearchPreSegmentCruise $searchSegmentCruise = null)
    {
        $this->SearchSegmentCruise = $searchSegmentCruise;
        return $this;
    }
    /**
     * Get CruiseSuppliers value
     * @return \ArrayType\ArrayOfJP_CruiseSupplier|null
     */
    public function getCruiseSuppliers()
    {
        return $this->CruiseSuppliers;
    }
    /**
     * Set CruiseSuppliers value
     * @param \ArrayType\ArrayOfJP_CruiseSupplier $cruiseSuppliers
     * @return \StructType\JP_SearchPreSegmentsCruise
     */
    public function setCruiseSuppliers(\ArrayType\ArrayOfJP_CruiseSupplier $cruiseSuppliers = null)
    {
        $this->CruiseSuppliers = $cruiseSuppliers;
        return $this;
    }
}
