<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_TransportRequiredFields StructType
 * @subpackage Structs
 */
class JP_TransportRequiredFields extends AbstractStructBase
{
    /**
     * The TransportBooking
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_TransportBooking
     */
    public $TransportBooking;
    /**
     * Constructor method for JP_TransportRequiredFields
     * @uses JP_TransportRequiredFields::setTransportBooking()
     * @param \StructType\JP_TransportBooking $transportBooking
     */
    public function __construct(\StructType\JP_TransportBooking $transportBooking = null)
    {
        $this
            ->setTransportBooking($transportBooking);
    }
    /**
     * Get TransportBooking value
     * @return \StructType\JP_TransportBooking|null
     */
    public function getTransportBooking()
    {
        return $this->TransportBooking;
    }
    /**
     * Set TransportBooking value
     * @param \StructType\JP_TransportBooking $transportBooking
     * @return \StructType\JP_TransportRequiredFields
     */
    public function setTransportBooking(\StructType\JP_TransportBooking $transportBooking = null)
    {
        $this->TransportBooking = $transportBooking;
        return $this;
    }
}
