<?php

namespace Sabre\EnhancedAirBook\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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