<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_TransportRequest StructType
 * @subpackage Structs
 */
class JP_TransportRequest extends AbstractStructBase
{
    /**
     * The SearchSegmentsTransport
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_SearchSegmentsTransport
     */
    public $SearchSegmentsTransport;
    /**
     * The RelPaxesDist
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_RelPaxDist
     */
    public $RelPaxesDist;
    /**
     * Constructor method for JP_TransportRequest
     * @uses JP_TransportRequest::setSearchSegmentsTransport()
     * @uses JP_TransportRequest::setRelPaxesDist()
     * @param \StructType\JP_SearchSegmentsTransport $searchSegmentsTransport
     * @param \ArrayType\ArrayOfJP_RelPaxDist $relPaxesDist
     */
    public function __construct(\StructType\JP_SearchSegmentsTransport $searchSegmentsTransport = null, \ArrayType\ArrayOfJP_RelPaxDist $relPaxesDist = null)
    {
        $this
            ->setSearchSegmentsTransport($searchSegmentsTransport)
            ->setRelPaxesDist($relPaxesDist);
    }
    /**
     * Get SearchSegmentsTransport value
     * @return \StructType\JP_SearchSegmentsTransport|null
     */
    public function getSearchSegmentsTransport()
    {
        return $this->SearchSegmentsTransport;
    }
    /**
     * Set SearchSegmentsTransport value
     * @param \StructType\JP_SearchSegmentsTransport $searchSegmentsTransport
     * @return \StructType\JP_TransportRequest
     */
    public function setSearchSegmentsTransport(\StructType\JP_SearchSegmentsTransport $searchSegmentsTransport = null)
    {
        $this->SearchSegmentsTransport = $searchSegmentsTransport;
        return $this;
    }
    /**
     * Get RelPaxesDist value
     * @return \ArrayType\ArrayOfJP_RelPaxDist|null
     */
    public function getRelPaxesDist()
    {
        return $this->RelPaxesDist;
    }
    /**
     * Set RelPaxesDist value
     * @param \ArrayType\ArrayOfJP_RelPaxDist $relPaxesDist
     * @return \StructType\JP_TransportRequest
     */
    public function setRelPaxesDist(\ArrayType\ArrayOfJP_RelPaxDist $relPaxesDist = null)
    {
        $this->RelPaxesDist = $relPaxesDist;
        return $this;
    }
}
