<?php

namespace Itdatex\EInvoiceCore\Vendor\horstoeko\zugferd\entities\basic\ram;

/**
 * Class representing TradeProductType
 *
 * XSD Type: TradeProductType
 */
class TradeProductType
{

    /**
     * @var \Itdatex\EInvoiceCore\Vendor\horstoeko\zugferd\entities\basic\udt\IDType $globalID
     */
    private $globalID = null;

    /**
     * @var string $name
     */
    private $name = null;

    /**
     * Gets as globalID
     *
     * @return \Itdatex\EInvoiceCore\Vendor\horstoeko\zugferd\entities\basic\udt\IDType
     */
    public function getGlobalID()
    {
        return $this->globalID;
    }

    /**
     * Sets a new globalID
     *
     * @param  \Itdatex\EInvoiceCore\Vendor\horstoeko\zugferd\entities\basic\udt\IDType $globalID
     * @return self
     */
    public function setGlobalID(?\Itdatex\EInvoiceCore\Vendor\horstoeko\zugferd\entities\basic\udt\IDType $globalID = null)
    {
        $this->globalID = $globalID;
        return $this;
    }

    /**
     * Gets as name
     *
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Sets a new name
     *
     * @param  string $name
     * @return self
     */
    public function setName($name)
    {
        $this->name = $name;
        return $this;
    }
}
