<?php

namespace Sabre\RulesFromPrice\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for SITA_Line Structs
 * @subpackage Structs
 */
class SITA_Line extends AbstractStructBase
{
    /**
     * The DBE_Code
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $DBE_Code;
    /**
     * The FareQuality
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $FareQuality;
    /**
     * The RouteCode
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $RouteCode;
    /**
     * The TariffFamily
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $TariffFamily;
    /**
     * Constructor method for SITA_Line
     * @uses SITA_Line::setDBE_Code()
     * @uses SITA_Line::setFareQuality()
     * @uses SITA_Line::setRouteCode()
     * @uses SITA_Line::setTariffFamily()
     * @param string $dBE_Code
     * @param string $fareQuality
     * @param string $routeCode
     * @param string $tariffFamily
     */
    public function __construct($dBE_Code = null, $fareQuality = null, $routeCode = null, $tariffFamily = null)
    {
        $this
            ->setDBE_Code($dBE_Code)
            ->setFareQuality($fareQuality)
            ->setRouteCode($routeCode)
            ->setTariffFamily($tariffFamily);
    }
    /**
     * Get DBE_Code value
     * @return string|null
     */
    public function getDBE_Code()
    {
        return $this->DBE_Code;
    }
    /**
     * Set DBE_Code value
     * @param string $dBE_Code
     * @return \Sabre\RulesFromPrice\Structs\SITA_Line
     */
    public function setDBE_Code($dBE_Code = null)
    {
        $this->DBE_Code = $dBE_Code;
        return $this;
    }
    /**
     * Get FareQuality value
     * @return string|null
     */
    public function getFareQuality()
    {
        return $this->FareQuality;
    }
    /**
     * Set FareQuality value
     * @param string $fareQuality
     * @return \Sabre\RulesFromPrice\Structs\SITA_Line
     */
    public function setFareQuality($fareQuality = null)
    {
        $this->FareQuality = $fareQuality;
        return $this;
    }
    /**
     * Get RouteCode value
     * @return string|null
     */
    public function getRouteCode()
    {
        return $this->RouteCode;
    }
    /**
     * Set RouteCode value
     * @param string $routeCode
     * @return \Sabre\RulesFromPrice\Structs\SITA_Line
     */
    public function setRouteCode($routeCode = null)
    {
        $this->RouteCode = $routeCode;
        return $this;
    }
    /**
     * Get TariffFamily value
     * @return string|null
     */
    public function getTariffFamily()
    {
        return $this->TariffFamily;
    }
    /**
     * Set TariffFamily value
     * @param string $tariffFamily
     * @return \Sabre\RulesFromPrice\Structs\SITA_Line
     */
    public function setTariffFamily($tariffFamily = null)
    {
        $this->TariffFamily = $tariffFamily;
        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\RulesFromPrice\Structs\SITA_Line
     */
    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__;
    }
}
