<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_TransportElement StructType
 * @subpackage Structs
 */
class JP_TransportElement extends JP_BaseElement
{
    /**
     * The TransportBookingInfo
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_TransportBookingInfo
     */
    public $TransportBookingInfo;
    /**
     * Constructor method for JP_TransportElement
     * @uses JP_TransportElement::setTransportBookingInfo()
     * @param \StructType\JP_TransportBookingInfo $transportBookingInfo
     */
    public function __construct(\StructType\JP_TransportBookingInfo $transportBookingInfo = null)
    {
        $this
            ->setTransportBookingInfo($transportBookingInfo);
    }
    /**
     * Get TransportBookingInfo value
     * @return \StructType\JP_TransportBookingInfo|null
     */
    public function getTransportBookingInfo()
    {
        return $this->TransportBookingInfo;
    }
    /**
     * Set TransportBookingInfo value
     * @param \StructType\JP_TransportBookingInfo $transportBookingInfo
     * @return \StructType\JP_TransportElement
     */
    public function setTransportBookingInfo(\StructType\JP_TransportBookingInfo $transportBookingInfo = null)
    {
        $this->TransportBookingInfo = $transportBookingInfo;
        return $this;
    }
}
