<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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