<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_PackageElement StructType
 * @subpackage Structs
 */
class JP_PackageElement extends JP_BaseElement
{
    /**
     * The PackageBookingInfo
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_PackageBookingInfo
     */
    public $PackageBookingInfo;
    /**
     * The TransfersBookingInfo
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_TransferBookingInfo
     */
    public $TransfersBookingInfo;
    /**
     * The ServicesBookingInfo
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_ServiceBookingInfo
     */
    public $ServicesBookingInfo;
    /**
     * Constructor method for JP_PackageElement
     * @uses JP_PackageElement::setPackageBookingInfo()
     * @uses JP_PackageElement::setTransfersBookingInfo()
     * @uses JP_PackageElement::setServicesBookingInfo()
     * @param \StructType\JP_PackageBookingInfo $packageBookingInfo
     * @param \ArrayType\ArrayOfJP_TransferBookingInfo $transfersBookingInfo
     * @param \ArrayType\ArrayOfJP_ServiceBookingInfo $servicesBookingInfo
     */
    public function __construct(\StructType\JP_PackageBookingInfo $packageBookingInfo = null, \ArrayType\ArrayOfJP_TransferBookingInfo $transfersBookingInfo = null, \ArrayType\ArrayOfJP_ServiceBookingInfo $servicesBookingInfo = null)
    {
        $this
            ->setPackageBookingInfo($packageBookingInfo)
            ->setTransfersBookingInfo($transfersBookingInfo)
            ->setServicesBookingInfo($servicesBookingInfo);
    }
    /**
     * Get PackageBookingInfo value
     * @return \StructType\JP_PackageBookingInfo|null
     */
    public function getPackageBookingInfo()
    {
        return $this->PackageBookingInfo;
    }
    /**
     * Set PackageBookingInfo value
     * @param \StructType\JP_PackageBookingInfo $packageBookingInfo
     * @return \StructType\JP_PackageElement
     */
    public function setPackageBookingInfo(\StructType\JP_PackageBookingInfo $packageBookingInfo = null)
    {
        $this->PackageBookingInfo = $packageBookingInfo;
        return $this;
    }
    /**
     * Get TransfersBookingInfo value
     * @return \ArrayType\ArrayOfJP_TransferBookingInfo|null
     */
    public function getTransfersBookingInfo()
    {
        return $this->TransfersBookingInfo;
    }
    /**
     * Set TransfersBookingInfo value
     * @param \ArrayType\ArrayOfJP_TransferBookingInfo $transfersBookingInfo
     * @return \StructType\JP_PackageElement
     */
    public function setTransfersBookingInfo(\ArrayType\ArrayOfJP_TransferBookingInfo $transfersBookingInfo = null)
    {
        $this->TransfersBookingInfo = $transfersBookingInfo;
        return $this;
    }
    /**
     * Get ServicesBookingInfo value
     * @return \ArrayType\ArrayOfJP_ServiceBookingInfo|null
     */
    public function getServicesBookingInfo()
    {
        return $this->ServicesBookingInfo;
    }
    /**
     * Set ServicesBookingInfo value
     * @param \ArrayType\ArrayOfJP_ServiceBookingInfo $servicesBookingInfo
     * @return \StructType\JP_PackageElement
     */
    public function setServicesBookingInfo(\ArrayType\ArrayOfJP_ServiceBookingInfo $servicesBookingInfo = null)
    {
        $this->ServicesBookingInfo = $servicesBookingInfo;
        return $this;
    }
}
