<?php

namespace Sabre\OTAAirPrice\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for PriceQuote Structs
 * @subpackage Structs
 */
class PriceQuote extends AbstractStructBase
{
    /**
     * The MiscInformation
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \Sabre\OTAAirPrice\Structs\MiscInformation
     */
    public $MiscInformation;
    /**
     * The PricedItinerary
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \Sabre\OTAAirPrice\Structs\PricedItinerary
     */
    public $PricedItinerary;
    /**
     * Constructor method for PriceQuote
     * @uses PriceQuote::setMiscInformation()
     * @uses PriceQuote::setPricedItinerary()
     * @param \Sabre\OTAAirPrice\Structs\MiscInformation $miscInformation
     * @param \Sabre\OTAAirPrice\Structs\PricedItinerary $pricedItinerary
     */
    public function __construct(\Sabre\OTAAirPrice\Structs\MiscInformation $miscInformation = null, \Sabre\OTAAirPrice\Structs\PricedItinerary $pricedItinerary = null)
    {
        $this
            ->setMiscInformation($miscInformation)
            ->setPricedItinerary($pricedItinerary);
    }
    /**
     * Get MiscInformation value
     * @return \Sabre\OTAAirPrice\Structs\MiscInformation|null
     */
    public function getMiscInformation()
    {
        return $this->MiscInformation;
    }
    /**
     * Set MiscInformation value
     * @param \Sabre\OTAAirPrice\Structs\MiscInformation $miscInformation
     * @return \Sabre\OTAAirPrice\Structs\PriceQuote
     */
    public function setMiscInformation(\Sabre\OTAAirPrice\Structs\MiscInformation $miscInformation = null)
    {
        $this->MiscInformation = $miscInformation;
        return $this;
    }
    /**
     * Get PricedItinerary value
     * @return \Sabre\OTAAirPrice\Structs\PricedItinerary|null
     */
    public function getPricedItinerary()
    {
        return $this->PricedItinerary;
    }
    /**
     * Set PricedItinerary value
     * @param \Sabre\OTAAirPrice\Structs\PricedItinerary $pricedItinerary
     * @return \Sabre\OTAAirPrice\Structs\PriceQuote
     */
    public function setPricedItinerary(\Sabre\OTAAirPrice\Structs\PricedItinerary $pricedItinerary = null)
    {
        $this->PricedItinerary = $pricedItinerary;
        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 \Sabre\OTAAirPrice\Structs\PriceQuote
     */
    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__;
    }
}
