<?php

namespace Sabre\EnhancedAirBook\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for OTA_AirPriceRS Structs
 * @subpackage Structs
 */
class OTA_AirPriceRS extends AbstractStructBase
{
    /**
     * The PriceComparison
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \Sabre\EnhancedAirBook\Structs\PriceComparison
     */
    public $PriceComparison;
    /**
     * The PriceQuote
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var \Sabre\EnhancedAirBook\Structs\PriceQuote
     */
    public $PriceQuote;
    /**
     * Constructor method for OTA_AirPriceRS
     * @uses OTA_AirPriceRS::setPriceComparison()
     * @uses OTA_AirPriceRS::setPriceQuote()
     * @param \Sabre\EnhancedAirBook\Structs\PriceComparison $priceComparison
     * @param \Sabre\EnhancedAirBook\Structs\PriceQuote $priceQuote
     */
    public function __construct(\Sabre\EnhancedAirBook\Structs\PriceComparison $priceComparison = null, \Sabre\EnhancedAirBook\Structs\PriceQuote $priceQuote = null)
    {
        $this
            ->setPriceComparison($priceComparison)
            ->setPriceQuote($priceQuote);
    }
    /**
     * Get PriceComparison value
     * @return \Sabre\EnhancedAirBook\Structs\PriceComparison|null
     */
    public function getPriceComparison()
    {
        return $this->PriceComparison;
    }
    /**
     * Set PriceComparison value
     * @param \Sabre\EnhancedAirBook\Structs\PriceComparison $priceComparison
     * @return \Sabre\EnhancedAirBook\Structs\OTA_AirPriceRS
     */
    public function setPriceComparison(\Sabre\EnhancedAirBook\Structs\PriceComparison $priceComparison = null)
    {
        $this->PriceComparison = $priceComparison;
        return $this;
    }
    /**
     * Get PriceQuote value
     * @return \Sabre\EnhancedAirBook\Structs\PriceQuote|null
     */
    public function getPriceQuote()
    {
        return $this->PriceQuote;
    }
    /**
     * Set PriceQuote value
     * @param \Sabre\EnhancedAirBook\Structs\PriceQuote $priceQuote
     * @return \Sabre\EnhancedAirBook\Structs\OTA_AirPriceRS
     */
    public function setPriceQuote(\Sabre\EnhancedAirBook\Structs\PriceQuote $priceQuote = null)
    {
        $this->PriceQuote = $priceQuote;
        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\EnhancedAirBook\Structs\OTA_AirPriceRS
     */
    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__;
    }
}
