<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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