<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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