<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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