<?php

namespace Sabre\BargainFinderMax\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ExemptAllTaxesAndFees Structs
 * Meta informations extracted from the WSDL
 * - documentation: Exempt all taxes and fees (/TN)
 * - minOccurs: 0
 * @subpackage Structs
 */
class ExemptAllTaxesAndFees extends AbstractStructBase
{
    /**
     * The Value
     * Meta informations extracted from the WSDL
     * - use: required
     * @var bool
     */
    public $Value;
    /**
     * Constructor method for ExemptAllTaxesAndFees
     * @uses ExemptAllTaxesAndFees::setValue()
     * @param bool $value
     */
    public function __construct($value = null)
    {
        $this
            ->setValue($value);
    }
    /**
     * Get Value value
     * @return bool
     */
    public function getValue()
    {
        return $this->Value;
    }
    /**
     * Set Value value
     * @param bool $value
     * @return \Sabre\BargainFinderMax\Structs\ExemptAllTaxesAndFees
     */
    public function setValue($value = null)
    {
        $this->Value = $value;
        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\BargainFinderMax\Structs\ExemptAllTaxesAndFees
     */
    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__;
    }
}
