<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Transaction StructType
 * @subpackage Structs
 */
class Transaction extends AbstractStructBase
{
    /**
     * The tc
     * @var \StructType\Tc
     */
    public $tc;
    /**
     * Constructor method for Transaction
     * @uses Transaction::setTc()
     * @param \StructType\Tc $tc
     */
    public function __construct(\StructType\Tc $tc = null)
    {
        $this
            ->setTc($tc);
    }
    /**
     * Get tc value
     * @return \StructType\Tc|null
     */
    public function getTc()
    {
        return $this->tc;
    }
    /**
     * Set tc value
     * @param \StructType\Tc $tc
     * @return \StructType\Transaction
     */
    public function setTc(\StructType\Tc $tc = null)
    {
        $this->tc = $tc;
        return $this;
    }
}
