<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_SearchSegmentsTransport StructType
 * @subpackage Structs
 */
class JP_SearchSegmentsTransport extends AbstractStructBase
{
    /**
     * The SearchSegmentTransport
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_SearchSegmentTransport
     */
    public $SearchSegmentTransport;
    /**
     * The TransportSuppliers
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_TransportSupplier
     */
    public $TransportSuppliers;
    /**
     * Constructor method for JP_SearchSegmentsTransport
     * @uses JP_SearchSegmentsTransport::setSearchSegmentTransport()
     * @uses JP_SearchSegmentsTransport::setTransportSuppliers()
     * @param \StructType\JP_SearchSegmentTransport $searchSegmentTransport
     * @param \ArrayType\ArrayOfJP_TransportSupplier $transportSuppliers
     */
    public function __construct(\StructType\JP_SearchSegmentTransport $searchSegmentTransport = null, \ArrayType\ArrayOfJP_TransportSupplier $transportSuppliers = null)
    {
        $this
            ->setSearchSegmentTransport($searchSegmentTransport)
            ->setTransportSuppliers($transportSuppliers);
    }
    /**
     * Get SearchSegmentTransport value
     * @return \StructType\JP_SearchSegmentTransport|null
     */
    public function getSearchSegmentTransport()
    {
        return $this->SearchSegmentTransport;
    }
    /**
     * Set SearchSegmentTransport value
     * @param \StructType\JP_SearchSegmentTransport $searchSegmentTransport
     * @return \StructType\JP_SearchSegmentsTransport
     */
    public function setSearchSegmentTransport(\StructType\JP_SearchSegmentTransport $searchSegmentTransport = null)
    {
        $this->SearchSegmentTransport = $searchSegmentTransport;
        return $this;
    }
    /**
     * Get TransportSuppliers value
     * @return \ArrayType\ArrayOfJP_TransportSupplier|null
     */
    public function getTransportSuppliers()
    {
        return $this->TransportSuppliers;
    }
    /**
     * Set TransportSuppliers value
     * @param \ArrayType\ArrayOfJP_TransportSupplier $transportSuppliers
     * @return \StructType\JP_SearchSegmentsTransport
     */
    public function setTransportSuppliers(\ArrayType\ArrayOfJP_TransportSupplier $transportSuppliers = null)
    {
        $this->TransportSuppliers = $transportSuppliers;
        return $this;
    }
}
