<?php

namespace dgsoft\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for OTA_InsuranceBookRQPlanForBookRQ StructType
 * @package Dg
 * @subpackage Structs
 */
class DgOTA_InsuranceBookRQPlanForBookRQ extends DgInsCoverageType
{
    /**
     * The InsuranceCustomer
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \dgsoft\StructType\DgInsuranceCustomerType
     */
    public $InsuranceCustomer;
    /**
     * The PlanCost
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \dgsoft\StructType\DgPlanCostType
     */
    public $PlanCost;
    /**
     * The UniqueID
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \dgsoft\StructType\DgUniqueID_Type
     */
    public $UniqueID;
    /**
     * Constructor method for OTA_InsuranceBookRQPlanForBookRQ
     * @uses DgOTA_InsuranceBookRQPlanForBookRQ::setInsuranceCustomer()
     * @uses DgOTA_InsuranceBookRQPlanForBookRQ::setPlanCost()
     * @uses DgOTA_InsuranceBookRQPlanForBookRQ::setUniqueID()
     * @param \dgsoft\StructType\DgInsuranceCustomerType $insuranceCustomer
     * @param \dgsoft\StructType\DgPlanCostType $planCost
     * @param \dgsoft\StructType\DgUniqueID_Type $uniqueID
     */
    public function __construct(\dgsoft\StructType\DgInsuranceCustomerType $insuranceCustomer = null, \dgsoft\StructType\DgPlanCostType $planCost = null, \dgsoft\StructType\DgUniqueID_Type $uniqueID = null)
    {
        $this
            ->setInsuranceCustomer($insuranceCustomer)
            ->setPlanCost($planCost)
            ->setUniqueID($uniqueID);
    }
    /**
     * Get InsuranceCustomer value
     * @return \dgsoft\StructType\DgInsuranceCustomerType|null
     */
    public function getInsuranceCustomer()
    {
        return $this->InsuranceCustomer;
    }
    /**
     * Set InsuranceCustomer value
     * @param \dgsoft\StructType\DgInsuranceCustomerType $insuranceCustomer
     * @return \dgsoft\StructType\DgOTA_InsuranceBookRQPlanForBookRQ
     */
    public function setInsuranceCustomer(\dgsoft\StructType\DgInsuranceCustomerType $insuranceCustomer = null)
    {
        $this->InsuranceCustomer = $insuranceCustomer;
        return $this;
    }
    /**
     * Get PlanCost value
     * @return \dgsoft\StructType\DgPlanCostType|null
     */
    public function getPlanCost()
    {
        return $this->PlanCost;
    }
    /**
     * Set PlanCost value
     * @param \dgsoft\StructType\DgPlanCostType $planCost
     * @return \dgsoft\StructType\DgOTA_InsuranceBookRQPlanForBookRQ
     */
    public function setPlanCost(\dgsoft\StructType\DgPlanCostType $planCost = null)
    {
        $this->PlanCost = $planCost;
        return $this;
    }
    /**
     * Get UniqueID value
     * @return \dgsoft\StructType\DgUniqueID_Type|null
     */
    public function getUniqueID()
    {
        return $this->UniqueID;
    }
    /**
     * Set UniqueID value
     * @param \dgsoft\StructType\DgUniqueID_Type $uniqueID
     * @return \dgsoft\StructType\DgOTA_InsuranceBookRQPlanForBookRQ
     */
    public function setUniqueID(\dgsoft\StructType\DgUniqueID_Type $uniqueID = null)
    {
        $this->UniqueID = $uniqueID;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \dgsoft\StructType\DgOTA_InsuranceBookRQPlanForBookRQ
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
