<?php

namespace Sabre\IgnoreTransaction\Structs;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for IgnoreTransactionRQ Structs
 * @subpackage Structs
 */
class IgnoreTransactionRQ extends AbstractStructBase
{
    /**
     * The ReturnHostCommand
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var bool
     */
    public $ReturnHostCommand;
    /**
     * The TimeStamp
     * Meta informations extracted from the WSDL
     * - use: optional
     * @var string
     */
    public $TimeStamp;
    /**
     * The Version
     * Meta informations extracted from the WSDL
     * - fixed: 2.0.0
     * - use: optional
     * @var string
     */
    public $Version;
    /**
     * Constructor method for IgnoreTransactionRQ
     * @uses IgnoreTransactionRQ::setReturnHostCommand()
     * @uses IgnoreTransactionRQ::setTimeStamp()
     * @uses IgnoreTransactionRQ::setVersion()
     * @param bool $returnHostCommand
     * @param string $timeStamp
     * @param string $version
     */
    public function __construct($returnHostCommand = null, $timeStamp = null, $version = null)
    {
        $this
            ->setReturnHostCommand($returnHostCommand)
            ->setTimeStamp($timeStamp)
            ->setVersion($version);
    }
    /**
     * Get ReturnHostCommand value
     * @return bool|null
     */
    public function getReturnHostCommand()
    {
        return $this->ReturnHostCommand;
    }
    /**
     * Set ReturnHostCommand value
     * @param bool $returnHostCommand
     * @return \Sabre\IgnoreTransaction\Structs\IgnoreTransactionRQ
     */
    public function setReturnHostCommand($returnHostCommand = null)
    {
        $this->ReturnHostCommand = $returnHostCommand;
        return $this;
    }
    /**
     * Get TimeStamp value
     * @return string|null
     */
    public function getTimeStamp()
    {
        return $this->TimeStamp;
    }
    /**
     * Set TimeStamp value
     * @param string $timeStamp
     * @return \Sabre\IgnoreTransaction\Structs\IgnoreTransactionRQ
     */
    public function setTimeStamp($timeStamp = null)
    {
        $this->TimeStamp = $timeStamp;
        return $this;
    }
    /**
     * Get Version value
     * @return string|null
     */
    public function getVersion()
    {
        return $this->Version;
    }
    /**
     * Set Version value
     * @param string $version
     * @return \Sabre\IgnoreTransaction\Structs\IgnoreTransactionRQ
     */
    public function setVersion($version = null)
    {
        $this->Version = $version;
        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\IgnoreTransaction\Structs\IgnoreTransactionRQ
     */
    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__;
    }
}
