<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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