<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UpdateLatestTachoCard StructType
 * @subpackage Structs
 */
class UpdateLatestTachoCard extends TachoStrategySelection
{
    /**
     * The TachoCard
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\InterfaceTachoCard_V2
     */
    public $TachoCard;
    /**
     * Constructor method for UpdateLatestTachoCard
     * @uses UpdateLatestTachoCard::setTachoCard()
     * @param \StructType\InterfaceTachoCard_V2 $tachoCard
     */
    public function __construct(\StructType\InterfaceTachoCard_V2 $tachoCard = null)
    {
        $this
            ->setTachoCard($tachoCard);
    }
    /**
     * Get TachoCard value
     * @return \StructType\InterfaceTachoCard_V2|null
     */
    public function getTachoCard()
    {
        return $this->TachoCard;
    }
    /**
     * Set TachoCard value
     * @param \StructType\InterfaceTachoCard_V2 $tachoCard
     * @return \StructType\UpdateLatestTachoCard
     */
    public function setTachoCard(\StructType\InterfaceTachoCard_V2 $tachoCard = null)
    {
        $this->TachoCard = $tachoCard;
        return $this;
    }
}
