<?php

namespace Sabre\CreatePassengerNameRecord\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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