<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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